re3/src/core/main.h

46 lines
1.2 KiB
C
Raw Normal View History

2019-06-17 20:54:02 +00:00
#pragma once
struct GlobalScene
{
RpWorld *world;
RwCamera *camera;
};
2020-04-17 05:54:14 +00:00
extern GlobalScene Scene;
2019-06-17 20:54:02 +00:00
extern uint8 work_buff[55000];
2020-04-17 05:54:14 +00:00
extern char gString[256];
extern char gString2[512];
extern wchar gUString[256];
extern wchar gUString2[256];
2019-07-24 16:55:43 +00:00
extern bool gbPrintShite;
2020-04-17 05:54:14 +00:00
extern bool gbModelViewer;
2020-05-29 10:03:32 +00:00
#ifdef TIMEBARS
extern bool gbShowTimebars;
2020-10-25 15:17:30 +00:00
#else
#define gbShowTimebars false
2020-05-29 10:03:32 +00:00
#endif
2019-06-17 20:54:02 +00:00
2019-06-18 07:50:26 +00:00
class CSprite2d;
2020-08-20 10:55:41 +00:00
bool DoRWStuffStartOfFrame(int16 TopRed, int16 TopGreen, int16 TopBlue, int16 BottomRed, int16 BottomGreen, int16 BottomBlue, int16 Alpha);
bool DoRWStuffStartOfFrame_Horizon(int16 TopRed, int16 TopGreen, int16 TopBlue, int16 BottomRed, int16 BottomGreen, int16 BottomBlue, int16 Alpha);
void DoRWStuffEndOfFrame(void);
2019-06-28 17:23:28 +00:00
void InitialiseGame(void);
2019-06-17 20:54:02 +00:00
void LoadingScreen(const char *str1, const char *str2, const char *splashscreen);
2019-06-28 17:23:28 +00:00
void LoadingIslandScreen(const char *levelName);
2019-06-18 07:50:26 +00:00
CSprite2d *LoadSplash(const char *name);
void DestroySplashScreen(void);
2020-05-11 23:24:57 +00:00
Const char *GetLevelSplashScreen(int level);
Const char *GetRandomSplashScreen(void);
2019-07-19 11:58:19 +00:00
void LittleTest(void);
2019-07-24 17:59:16 +00:00
void ValidateVersion();
2020-03-22 14:23:40 +00:00
void ResetLoadingScreenBar(void);
2019-08-15 14:51:39 +00:00
#ifndef MASTER
void TheModelViewer(void);
#endif
#ifdef LOAD_INI_SETTINGS
void LoadINISettings();
void SaveINISettings();
#endif