int main(void) { // Unit tests int resu = TestModel(); if (resu) printf("Model test OK !\n"); else printf("Model test failed !\n"); return !resu; }
void Monster::Initialize() { active_time = 0; inactive_time = 0; pain_time = 0; sightEnemyTime = -1; self = TestModel("monster_boss_guardian"); rightfoot = true; self->SetAnimState(ANIMCHANNEL_LEGS, "Legs_Idle", 0 ); }
int main() { // Unit tests int retval = TestModel(); if(retval == 0) printf("Model test OK !\n"); else printf("Model test failed !\n"); return retval; }