forked from 1dot13/source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jascreens.h
187 lines (137 loc) · 5.08 KB
/
jascreens.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
#ifndef __JASCREENS_H_
#define __JASCREENS_H_
#include "sgp.h"
#include "ScreenIds.h"
#include "mousesystem.h"
#include "Button System.h"
#include <list>
#include <vfs/Core/vfs_string.h>
#include "FeaturesScreen.h"
extern UINT32 EditScreenInit(void);
extern UINT32 EditScreenHandle(void);
extern UINT32 EditScreenShutdown(void);
extern UINT32 LoadSaveScreenInit(void);
extern UINT32 LoadSaveScreenHandle(void);
extern UINT32 LoadSaveScreenShutdown(void);
extern UINT32 SavingScreenInitialize(void);
extern UINT32 SavingScreenHandle(void);
extern UINT32 SavingScreenShutdown(void);
extern UINT32 LoadingScreenInitialize(void);
extern UINT32 LoadingScreenHandle(void);
extern UINT32 LoadingScreenShutdown(void);
extern UINT32 ErrorScreenInitialize(void);
extern UINT32 ErrorScreenHandle(void);
extern UINT32 ErrorScreenShutdown(void);
extern UINT32 InitScreenInitialize(void);
extern UINT32 InitScreenHandle(void);
extern UINT32 InitScreenShutdown(void);
extern UINT32 MainGameScreenInit(void);
extern UINT32 MainGameScreenHandle(void);
extern UINT32 MainGameScreenShutdown(void);
#ifdef JA2BETAVERSION
extern UINT32 AIViewerScreenInit(void);
extern UINT32 AIViewerScreenHandle(void);
extern UINT32 AIViewerScreenShutdown(void);
#endif
extern UINT32 QuestDebugScreenInit(void);
extern UINT32 QuestDebugScreenHandle(void);
extern UINT32 QuestDebugScreenShutdown(void);
UINT32 AniEditScreenInit(void);
UINT32 AniEditScreenHandle(void);
UINT32 AniEditScreenShutdown(void);
UINT32 PalEditScreenInit(void);
UINT32 PalEditScreenHandle(void);
UINT32 PalEditScreenShutdown(void);
UINT32 DebugScreenInit(void);
UINT32 DebugScreenHandle(void);
UINT32 DebugScreenShutdown(void);
UINT32 MapScreenInit(void);
UINT32 MapScreenHandle(void);
UINT32 MapScreenShutdown(void);
UINT32 LaptopScreenInit(void);
UINT32 LaptopScreenHandle(void);
UINT32 LaptopScreenShutdown(void);
UINT32 MapUtilScreenInit( void );
UINT32 MapUtilScreenHandle( void );
UINT32 MapUtilScreenShutdown( void );
UINT32 FadeScreenInit( void );
UINT32 FadeScreenHandle( void );
UINT32 FadeScreenShutdown( void );
UINT32 MessageBoxScreenInit( void );
UINT32 MessageBoxScreenHandle( void );
UINT32 MessageBoxScreenShutdown( void );
UINT32 MainMenuScreenInit( void );
UINT32 MainMenuScreenHandle( void );
UINT32 MainMenuScreenShutdown( void );
UINT32 AutoResolveScreenInit( void );
UINT32 AutoResolveScreenHandle( void );
UINT32 AutoResolveScreenShutdown( void );
UINT32 SaveLoadScreenShutdown( void );
UINT32 SaveLoadScreenHandle( void );
UINT32 SaveLoadScreenInit( void );
UINT32 OptionsScreenShutdown( void );
UINT32 OptionsScreenHandle( void );
UINT32 OptionsScreenInit( void );
UINT32 ShopKeeperScreenInit( void );
UINT32 ShopKeeperScreenHandle( void );
UINT32 ShopKeeperScreenShutdown( void );
UINT32 SexScreenInit( void );
UINT32 SexScreenHandle( void );
UINT32 SexScreenShutdown( void );
UINT32 GameInitOptionsScreenInit( void );
UINT32 GameInitOptionsScreenHandle( void );
UINT32 GameInitOptionsScreenShutdown( void );
UINT32 DemoExitScreenInit( void );
UINT32 DemoExitScreenHandle( void );
UINT32 DemoExitScreenShutdown( void );
extern UINT32 IntroScreenShutdown( void );
extern UINT32 IntroScreenHandle( void );
extern UINT32 IntroScreenInit( void );
extern UINT32 CreditScreenInit( void );
extern UINT32 CreditScreenHandle( void );
extern UINT32 CreditScreenShutdown( void );
// OJW - 20081129
extern UINT32 MPJoinScreenInit( void );
extern UINT32 MPJoinScreenHandle( void );
extern UINT32 MPJoinScreenShutdown( void );
extern UINT32 MPHostScreenInit( void );
extern UINT32 MPHostScreenHandle( void );
extern UINT32 MPHostScreenShutdown( void );
// OJW - 20081222
extern UINT32 MPScoreScreenInit( void );
extern UINT32 MPScoreScreenHandle( void );
extern UINT32 MPScoreScreenShutdown( void );
// OJW - 20090314
extern UINT32 MPChatScreenInit( void );
extern UINT32 MPChatScreenHandle( void );
extern UINT32 MPChatScreenShutdown( void );
// OJW - 20090422
extern UINT32 MPConnectScreenInit( void );
extern UINT32 MPConnectScreenHandle( void );
extern UINT32 MPConnectScreenShutdown( void );
extern UINT32 MiniGameScreenInit( void );
extern UINT32 MiniGameScreenHandle( void );
extern UINT32 MiniGameScreenShutdown( void );
// External functions
void DisplayFrameRate( );
void HandleTitleScreenAnimation();
//External Globals
extern CHAR8 gubFilename[ 200 ];
extern UINT32 guiCurrentScreen;
extern UINT32 guiPendingScreen;
typedef void (*RENDER_HOOK)( void );
void SetRenderHook( RENDER_HOOK pRenderOverride );
void SetCurrentScreen( UINT32 uiNewScreen );
void SetDebugRenderHook( RENDER_HOOK pDebugRenderOverride, INT8 ubPage );
void DisableFPSOverlay( BOOLEAN fEnable );
void EnterTacticalScreen( );
void LeaveTacticalScreen( UINT32 uiNewScreen );
//////////////////////////////////////////////////////////////////////////
struct SExceptionData
{
vfs::String message,function,file;
int line;
};
extern std::list<SExceptionData> g_ExceptionList;
void PrintExceptionList();
#endif