| 871 | } |
| 872 | |
| 873 | void zGameScreenTransitionBegin() |
| 874 | { |
| 875 | gGameWhereAmI = eGameWhere_TransitionBegin; |
| 876 | zGameSetOstrich(eGameOstrich_Loading); |
| 877 | globals.dontShowPadMessageDuringLoadingOrCutScene = '\0'; |
| 878 | sGameScreenTransCam = iCameraCreate(640, 480, 0); |
| 879 | if (sGameScreenTransCam != NULL) |
| 880 | { |
| 881 | DirectionalLight = RpLightCreate(1); |
| 882 | if (DirectionalLight != NULL) |
| 883 | { |
| 884 | RwRGBAReal col; |
| 885 | col.red = col.green = col.blue = 1.0f; |
| 886 | col.alpha = 0.0f; |
| 887 | RpLightSetColor(DirectionalLight, &col); |
| 888 | RwFrame* frame = RwFrameCreate(); |
| 889 | _rwObjectHasFrameSetFrame(DirectionalLight, frame); |
| 890 | RwBBox box; |
| 891 | box.sup.z = box.sup.y = box.sup.x = 10000.0f; |
| 892 | box.inf.z = box.inf.y = box.inf.x = -10000.0f; |
| 893 | World = RpWorldCreate(&box); |
| 894 | RpWorldAddCamera(World, sGameScreenTransCam); |
| 895 | gGameWhereAmI = eGameWhere_TransitionSnapShot; |
| 896 | zGameTakeSnapShot(sGameScreenTransCam); |
| 897 | } |
| 898 | } |
| 899 | } |
| 900 | |
| 901 | void zGameScreenTransitionUpdate(F32 percentComplete, char* msg) |
| 902 | { |
no test coverage detected