| 395 | } |
| 396 | |
| 397 | void zGameSetup() |
| 398 | { |
| 399 | gGameWhereAmI = eGameWhere_SetupScene; |
| 400 | zSceneSetup(); |
| 401 | gGameWhereAmI = eGameWhere_SetupZFX; |
| 402 | RpWorld* world = globals.sceneCur->env->geom->world; |
| 403 | xModel_SceneEnter(world); |
| 404 | zFX_SceneEnter(world); |
| 405 | gGameWhereAmI = eGameWhere_SetupPlayer; |
| 406 | zGameSetupPlayer(); |
| 407 | gGameWhereAmI = eGameWhere_SetupCamera; |
| 408 | zEnvStartingCamera(gCurEnv); |
| 409 | gGameWhereAmI = eGameWhere_SetupScrFX; |
| 410 | xScrFxReset(); |
| 411 | gGameWhereAmI = eGameWhere_SetupSceneLoad; |
| 412 | zSceneLoad(globals.sceneCur, NULL); |
| 413 | gGameWhereAmI = eGameWhere_SetupMusicNotify; |
| 414 | zMusicNotify(0); |
| 415 | gGameWhereAmI = eGameWhere_SetupHudSetup; |
| 416 | zhud::setup(); |
| 417 | zCombo_Setup(); |
| 418 | gGameWhereAmI = eGameWhere_SetupSkydome; |
| 419 | xSkyDome_Setup(); |
| 420 | gGameWhereAmI = eGameWhere_SetupSceneEvents; |
| 421 | zEntEventAll(0, 0, 0x57, 0); |
| 422 | zEntEventAll(0, 0, 0x59, 0); |
| 423 | zEntEventAll(0, 0, 0x1dd, 0); |
| 424 | if (gLevelChanged != 0) |
| 425 | { |
| 426 | zEntEventAll(0, 0, 0x1db, 0); |
| 427 | } |
| 428 | gGameWhereAmI = eGameWhere_SetupUpdateCull; |
| 429 | if (globals.updateMgr != NULL) |
| 430 | { |
| 431 | xUpdateCull_Update(globals.updateMgr, 100); |
| 432 | } |
| 433 | gGameWhereAmI = eGameWhere_SetupLOD; |
| 434 | zLOD_Update(100); |
| 435 | gGameWhereAmI = eGameWhere_SetupExtras; |
| 436 | zGameExtras_SceneInit(); |
| 437 | gGameWhereAmI = eGameWhere_SetupEnd; |
| 438 | } |
| 439 | |
| 440 | S32 zGameIsPaused() |
| 441 | { |
no test coverage detected