2019-06-17 22:54:02 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct GlobalScene
|
|
|
|
{
|
|
|
|
RpWorld *world;
|
|
|
|
RwCamera *camera;
|
|
|
|
};
|
|
|
|
extern GlobalScene &Scene;
|
|
|
|
|
|
|
|
extern uint8 work_buff[55000];
|
2019-07-10 13:42:48 +02:00
|
|
|
//extern char gString[256];
|
|
|
|
//extern char gString2[512];
|
|
|
|
//extern wchar gUString[256];
|
|
|
|
//extern wchar gUString2[256];
|
|
|
|
extern char *gString;
|
|
|
|
extern char *gString2;
|
2019-06-17 22:54:02 +02:00
|
|
|
extern wchar *gUString;
|
2019-07-10 13:42:48 +02:00
|
|
|
extern wchar *gUString2;
|
2019-07-03 17:26:15 +02:00
|
|
|
extern bool &b_FoundRecentSavedGameWantToLoad;
|
2019-07-24 18:55:43 +02:00
|
|
|
extern bool gbPrintShite;
|
2019-08-15 16:51:39 +02:00
|
|
|
extern bool &gbModelViewer;
|
2020-01-14 00:13:42 +01:00
|
|
|
extern bool &StillToFadeOut;
|
|
|
|
extern bool &JustLoadedDontFadeInYet;
|
2019-06-17 22:54:02 +02:00
|
|
|
|
2019-06-18 09:50:26 +02:00
|
|
|
class CSprite2d;
|
|
|
|
|
2019-06-28 19:23:28 +02:00
|
|
|
void InitialiseGame(void);
|
2019-06-17 22:54:02 +02:00
|
|
|
void LoadingScreen(const char *str1, const char *str2, const char *splashscreen);
|
2019-06-28 19:23:28 +02:00
|
|
|
void LoadingIslandScreen(const char *levelName);
|
2019-06-18 09:50:26 +02:00
|
|
|
CSprite2d *LoadSplash(const char *name);
|
2020-03-28 21:55:23 +01:00
|
|
|
void DestroySplashScreen(void);
|
2019-06-28 19:23:28 +02:00
|
|
|
char *GetLevelSplashScreen(int level);
|
2019-06-18 09:50:26 +02:00
|
|
|
char *GetRandomSplashScreen(void);
|
2019-07-19 13:58:19 +02:00
|
|
|
void LittleTest(void);
|
2019-07-24 19:59:16 +02:00
|
|
|
void ValidateVersion();
|
2020-03-22 15:23:40 +01:00
|
|
|
void ResetLoadingScreenBar(void);
|
2019-08-15 16:51:39 +02:00
|
|
|
#ifndef MASTER
|
|
|
|
void TheModelViewer(void);
|
|
|
|
#endif
|