102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
globals.h
Go to the documentation of this file.
1/* Recovered declarations; ABI and original layout preserved. */
2#ifndef PCDOGS_PLATFORM_GLOBALS_H
3#define PCDOGS_PLATFORM_GLOBALS_H
7
9#define window_low_message_dispatch_table (*(global_type_window_low_message_dispatch_table *)(data_storage + 0x3e514)) /* 0x43e514 */
10
12#define window_high_message_dispatch_table (*(global_type_window_high_message_dispatch_table *)(data_storage + 0x3e534)) /* 0x43e534 */
13
15#define GUID_IDirectDrawGammaControl (*(global_type_GUID_IDirectDrawGammaControl *)(data_storage + 0x4d088)) /* 0x44d088 */
16
17typedef struct _GUID global_type_GUID_IDirectDraw7_;
18#define GUID_IDirectDraw7_ (*(global_type_GUID_IDirectDraw7_ *)(data_storage + 0x4d098)) /* 0x44d098 */
19
21#define D3D_CurrentGammaScale (*(global_type_D3D_CurrentGammaScale *)(data_storage + 0x4e524)) /* 0x44e524 */
22
23typedef char global_type_STR_D3D_LOG[0x8];
24#define STR_D3D_LOG (*(global_type_STR_D3D_LOG *)(data_storage + 0x4e9c4)) /* 0x44e9c4 */
25
27#define D3D_FormatDirectXError_DDrawErrorUnknownMessage (*(global_type_D3D_FormatDirectXError_DDrawErrorUnknownMessage *)(data_storage + 0x4eb1c)) /* 0x44eb1c */
28
29typedef char global_type_ddraw_err_ok[0x13];
30#define ddraw_err_ok (*(global_type_ddraw_err_ok *)(data_storage + 0x4eb2c)) /* 0x44eb2c */
31
33#define D3D_FormatDirectXError_DDrawErrD3DNotInitialized (*(global_type_D3D_FormatDirectXError_DDrawErrD3DNotInitialized *)(data_storage + 0x4ec28)) /* 0x44ec28 */
34
36#define D3D_FormatDirectXError_DDrawErrNewMode (*(global_type_D3D_FormatDirectXError_DDrawErrNewMode *)(data_storage + 0x4ec4c)) /* 0x44ec4c */
37
39#define ddraw_err_page_lock_failed (*(global_type_ddraw_err_page_lock_failed *)(data_storage + 0x4eda0)) /* 0x44eda0 */
40
42#define D3D_FormatDirectXError_DDrawErrNoNonLocalVidMem (*(global_type_D3D_FormatDirectXError_DDrawErrNoNonLocalVidMem *)(data_storage + 0x4edcc)) /* 0x44edcc */
43
45#define ddraw_err_cant_duplicate (*(global_type_ddraw_err_cant_duplicate *)(data_storage + 0x4f348)) /* 0x44f348 */
46
48#define ddraw_err_not_flippable (*(global_type_ddraw_err_not_flippable *)(data_storage + 0x4f398)) /* 0x44f398 */
49
51#define ddraw_err_width_too_large (*(global_type_ddraw_err_width_too_large *)(data_storage + 0x4fbc8)) /* 0x44fbc8 */
52
54#define ddraw_err_size_too_large (*(global_type_ddraw_err_size_too_large *)(data_storage + 0x4fbf4)) /* 0x44fbf4 */
55
57#define ddraw_err_out_of_memory (*(global_type_ddraw_err_out_of_memory *)(data_storage + 0x500a4)) /* 0x4500a4 */
58
60#define ddraw_err_no_gdi (*(global_type_ddraw_err_no_gdi *)(data_storage + 0x506b0)) /* 0x4506b0 */
61
63#define ddraw_err_no_flip_hardware (*(global_type_ddraw_err_no_flip_hardware *)(data_storage + 0x506cc)) /* 0x4506cc */
64
66#define ddraw_err_invalid_pixel_format (*(global_type_ddraw_err_invalid_pixel_format *)(data_storage + 0x50abc)) /* 0x450abc */
67
69#define ddraw_err_invalid_object (*(global_type_ddraw_err_invalid_object *)(data_storage + 0x50ae4)) /* 0x450ae4 */
70
72#define D3D_FormatDirectXError_DDrawErrCurrentlyNotAvail (*(global_type_D3D_FormatDirectXError_DDrawErrCurrentlyNotAvail *)(data_storage + 0x50cac)) /* 0x450cac */
73
75#define ddraw_err_can_not_detach (*(global_type_ddraw_err_can_not_detach *)(data_storage + 0x50cd0)) /* 0x450cd0 */
76
78#define ddraw_err_invalid_params (*(global_type_ddraw_err_invalid_params *)(data_storage + 0x50d10)) /* 0x450d10 */
79
81#define ddraw_err_already_initialized (*(global_type_ddraw_err_already_initialized *)(data_storage + 0x50d60)) /* 0x450d60 */
82
84#define ddraw_err_can_not_attach (*(global_type_ddraw_err_can_not_attach *)(data_storage + 0x50d84)) /* 0x450d84 */
85
87#define ddraw_err_not_supported (*(global_type_ddraw_err_not_supported *)(data_storage + 0x50dc0)) /* 0x450dc0 */
88
90#define ddraw_err_generic_failure (*(global_type_ddraw_err_generic_failure *)(data_storage + 0x50dd8)) /* 0x450dd8 */
91
93#define D3D_FormatDirectXError_DDrawErrNotInitialized (*(global_type_D3D_FormatDirectXError_DDrawErrNotInitialized *)(data_storage + 0x50dec)) /* 0x450dec */
94
96#define STR_SAVEGAME_DAT (*(global_type_STR_SAVEGAME_DAT *)(data_storage + 0x51214)) /* 0x451214 */
97
99#define STR_DEBUG_FPS_FORMAT (*(global_type_STR_DEBUG_FPS_FORMAT *)(data_storage + 0x512b4)) /* 0x4512b4 */
100
102#define STR_DEBUG_POS_FORMAT (*(global_type_STR_DEBUG_POS_FORMAT *)(data_storage + 0x512c0)) /* 0x4512c0 */
103
105#define STR_PCDOGS_INI (*(global_type_STR_PCDOGS_INI *)(data_storage + 0x51768)) /* 0x451768 */
106
108#define STR_CONTROLLER_WINGMAN_RUMBLEPAD (*(global_type_STR_CONTROLLER_WINGMAN_RUMBLEPAD *)(data_storage + 0x51774)) /* 0x451774 */
109
111#define STR_CONTROLLER_GRAVIS_GAMEPAD (*(global_type_STR_CONTROLLER_GRAVIS_GAMEPAD *)(data_storage + 0x51788)) /* 0x451788 */
112
114#define STR_CONTROLLER_MS_SIDEWINDER (*(global_type_STR_CONTROLLER_MS_SIDEWINDER *)(data_storage + 0x5179c)) /* 0x45179c */
115
117#define STR_CONTROLLER_HAMMERHEAD_FX (*(global_type_STR_CONTROLLER_HAMMERHEAD_FX *)(data_storage + 0x517b4)) /* 0x4517b4 */
118
120#define STR_GAME_TITLE_102_DALMATIANS (*(global_type_STR_GAME_TITLE_102_DALMATIANS *)(data_storage + 0x517d4)) /* 0x4517d4 */
121
123#define window_shutdown_complete (*(global_type_window_shutdown_complete *)(data_storage + 0x51830)) /* 0x451830 */
124
126#define window_shutdown_destroy_window (*(global_type_window_shutdown_destroy_window *)(data_storage + 0x5185c)) /* 0x45185c */
127
129#define window_shutdown_uninit_game (*(global_type_window_shutdown_uninit_game *)(data_storage + 0x5186c)) /* 0x45186c */
130
132#define window_shutdown_direct_input_release (*(global_type_window_shutdown_direct_input_release *)(data_storage + 0x51878)) /* 0x451878 */
133
135#define window_shutdown_kill_game (*(global_type_window_shutdown_kill_game *)(data_storage + 0x5188c)) /* 0x45188c */
136
138#define window_shutdown_uninit_game_interface (*(global_type_window_shutdown_uninit_game_interface *)(data_storage + 0x51898)) /* 0x451898 */
139
141#define window_shutdown_unload_data (*(global_type_window_shutdown_unload_data *)(data_storage + 0x518ac)) /* 0x4518ac */
142
144#define window_shutdown_begin (*(global_type_window_shutdown_begin *)(data_storage + 0x518b8)) /* 0x4518b8 */
145
147#define STR_PCDOGS_PKG (*(global_type_STR_PCDOGS_PKG *)(data_storage + 0x51978)) /* 0x451978 */
148
150#define STR_DEBUG_KILLED_BY_PLAYER (*(global_type_STR_DEBUG_KILLED_BY_PLAYER *)(data_storage + 0x54aec)) /* 0x454aec */
151
153#define STR_OUT_OF_MEMORY (*(global_type_STR_OUT_OF_MEMORY *)(data_storage + 0x54b4c)) /* 0x454b4c */
154
156#define STR_LEAK_UNRELEASED_EXTENT (*(global_type_STR_LEAK_UNRELEASED_EXTENT *)(data_storage + 0x54c50)) /* 0x454c50 */
157
159#define g_displayRectLeft (*(global_type_g_displayRectLeft *)(data_storage + 0x573e0)) /* 0x4573e0 */
160
162#define g_displayRectTop (*(global_type_g_displayRectTop *)(data_storage + 0x573e4)) /* 0x4573e4 */
163
165#define g_displayRectRight (*(global_type_g_displayRectRight *)(data_storage + 0x573e8)) /* 0x4573e8 */
166
168#define g_displayRectBottom (*(global_type_g_displayRectBottom *)(data_storage + 0x573ec)) /* 0x4573ec */
169
171#define D3D_InitializeDirectDraw_DDrawInitScratchParam1 (*(global_type_D3D_InitializeDirectDraw_DDrawInitScratchParam1 *)(data_storage + 0x57d64)) /* 0x457d64 */
172
174#define g_quadVertexPtrs (*(global_type_g_quadVertexPtrs *)(data_storage + 0x59eb8)) /* 0x459eb8 */
175
177#define g_quadVertex1Ptr (*(global_type_g_quadVertex1Ptr *)(data_storage + 0x59ebc)) /* 0x459ebc */
178
180#define g_quadVertex2Ptr (*(global_type_g_quadVertex2Ptr *)(data_storage + 0x59ec0)) /* 0x459ec0 */
181
183#define g_quadVertex3Ptr (*(global_type_g_quadVertex3Ptr *)(data_storage + 0x59ec4)) /* 0x459ec4 */
184
186#define D3D_EmptyLogMessage (*(global_type_D3D_EmptyLogMessage *)(data_storage + 0x59edc)) /* 0x459edc */
187
189#define g_pauseTransitionTimer (*(global_type_g_pauseTransitionTimer *)(data_storage + 0x9b702)) /* 0x49b702 */
190
192#define g_windowHandleText (*(global_type_g_windowHandleText *)(data_storage + 0x9c628)) /* 0x49c628 */
193
195#define g_windowMessageState (*(global_type_g_windowMessageState *)(data_storage + 0x9c930)) /* 0x49c930 */
196
198#define Window_RunWinMain_SecondaryWindowHandle (*(global_type_Window_RunWinMain_SecondaryWindowHandle *)(data_storage + 0x9ca40)) /* 0x49ca40 */
199
201#define Display_CurrentWindowHandle (*(global_type_Display_CurrentWindowHandle *)(data_storage + 0x22412c)) /* 0x62412c */
202
203typedef HWND(__stdcall *global_type_g_pGetActiveWindow)();
204#define g_pGetActiveWindow (*(global_type_g_pGetActiveWindow *)(data_storage + 0x224308)) /* 0x624308 */
205
207#define Window_RunWinMain_RenderingEnabled (*(global_type_Window_RunWinMain_RenderingEnabled *)(data_storage + 0x234900)) /* 0x634900 */
208
210#define Window_ProcessGameProc_Initialized (*(global_type_Window_ProcessGameProc_Initialized *)(data_storage + 0x23490c)) /* 0x63490c */
211
213#define Window_MainHandle (*(global_type_Window_MainHandle *)(data_storage + 0x234910)) /* 0x634910 */
214
216#define g_displaySetting (*(global_type_g_displaySetting *)(data_storage + 0x2349e0)) /* 0x6349e0 */
217
219#define g_windowHandle (*(global_type_g_windowHandle *)(data_storage + 0x15a9568)) /* 0x19a9568 */
220
221typedef IDirectDrawSurface7 *global_type_g_ddrawBackBuffer;
222#define g_ddrawBackBuffer (*(global_type_g_ddrawBackBuffer *)(data_storage + 0x15a95c0)) /* 0x19a95c0 */
223
224typedef IDirectDrawSurface7 *global_type_g_ddrawPrimarySurface;
225#define g_ddrawPrimarySurface (*(global_type_g_ddrawPrimarySurface *)(data_storage + 0x15a95c4)) /* 0x19a95c4 */
226
228#define D3D_CreateTextureSurface_GraphicsPixelBlueShift (*(global_type_D3D_CreateTextureSurface_GraphicsPixelBlueShift *)(data_storage + 0x15a9630)) /* 0x19a9630 */
229
230typedef IDirectDrawSurface7 *global_type_g_ddrawZBuffer;
231#define g_ddrawZBuffer (*(global_type_g_ddrawZBuffer *)(data_storage + 0x168a6e0)) /* 0x1a8a6e0 */
232
234#define D3D_CreateTextureSurface_GraphicsPixelRedShift (*(global_type_D3D_CreateTextureSurface_GraphicsPixelRedShift *)(data_storage + 0x168a6ec)) /* 0x1a8a6ec */
235
237#define g_aviWindowHandle (*(global_type_g_aviWindowHandle *)(data_storage + 0x168a994)) /* 0x1a8a994 */
238
240#define __export_name_ptr_table_1_USER32_DefWindowProcA_ (*(global_type___export_name_ptr_table_1_USER32_DefWindowProcA_ *)(data_storage + 0x168d660)) /* 0x1a8d660 */
241
243#define __export_name_ptr_table_1_USER32_UpdateWindow_ (*(global_type___export_name_ptr_table_1_USER32_UpdateWindow_ *)(data_storage + 0x168d6ac)) /* 0x1a8d6ac */
244
246#define __export_name_ptr_table_1_USER32_ShowWindow_ (*(global_type___export_name_ptr_table_1_USER32_ShowWindow_ *)(data_storage + 0x168d6bc)) /* 0x1a8d6bc */
247
249#define __export_name_ptr_table_1_USER32_CreateWindowExA_ (*(global_type___export_name_ptr_table_1_USER32_CreateWindowExA_ *)(data_storage + 0x168d6d8)) /* 0x1a8d6d8 */
250
252#define __export_name_ptr_table_1_USER32_AdjustWindowRect_ (*(global_type___export_name_ptr_table_1_USER32_AdjustWindowRect_ *)(data_storage + 0x168d6ea)) /* 0x1a8d6ea */
253
255#define __export_name_ptr_table_5_DDRAW_DirectDrawCreateEx_ (*(global_type___export_name_ptr_table_5_DDRAW_DirectDrawCreateEx_ *)(data_storage + 0x168da4c)) /* 0x1a8da4c */
256
258#define __export_name_ptr_table_5_DDRAW_DirectDrawEnumerateExA_ (*(global_type___export_name_ptr_table_5_DDRAW_DirectDrawEnumerateExA_ *)(data_storage + 0x168da62)) /* 0x1a8da62 */
259
261#define D3D_GraphicsCapabilitiesHighByte (*(global_type_D3D_GraphicsCapabilitiesHighByte *)(data_storage + 0x2344e9)) /* 0x6344e9 */
262
264#define D3D_InitializationRecords (*(global_type_D3D_InitializationRecords *)(data_storage + 0x57ca4)) /* 0x457ca4 */
265
266#endif /* PCDOGS_PLATFORM_GLOBALS_H */
uint16_t global_type___export_name_ptr_table_1_USER32_AdjustWindowRect_
Definition globals.h:251
int32_t global_type_Window_ProcessGameProc_Initialized
Definition globals.h:209
char global_type_STR_DEBUG_KILLED_BY_PLAYER[0x40]
Definition globals.h:149
struct DirectDrawInitializationRecord global_type_D3D_InitializationRecords[]
Definition globals.h:263
int32_t global_type_g_windowMessageState
Definition globals.h:194
char global_type_window_shutdown_uninit_game[0xb]
Definition globals.h:128
uint16_t global_type___export_name_ptr_table_5_DDRAW_DirectDrawEnumerateExA_
Definition globals.h:257
int32_t global_type_D3D_CreateTextureSurface_GraphicsPixelRedShift
Definition globals.h:233
char global_type_STR_SAVEGAME_DAT[0xd]
Definition globals.h:95
char global_type_ddraw_err_cant_duplicate[0x50]
Definition globals.h:44
HWND global_type_Window_MainHandle
Definition globals.h:212
struct D3D_TransformedVertexNoTex * global_type_g_quadVertex2Ptr
Definition globals.h:179
char global_type_D3D_FormatDirectXError_DDrawErrorUnknownMessage[0xf]
Definition globals.h:26
int16_t global_type_D3D_InitializeDirectDraw_DDrawInitScratchParam1
Definition globals.h:170
struct _GUID global_type_GUID_IDirectDrawGammaControl
Definition globals.h:14
char global_type_ddraw_err_already_initialized[0x24]
Definition globals.h:80
char global_type_ddraw_err_no_gdi[0x19]
Definition globals.h:59
char global_type_ddraw_err_ok[0x13]
Definition globals.h:29
char global_type_ddraw_err_not_supported[0x16]
Definition globals.h:86
char global_type_g_displaySetting
Definition globals.h:215
char global_type_window_shutdown_uninit_game_interface[0x14]
Definition globals.h:137
int32_t global_type_g_displayRectTop
Definition globals.h:161
uint8_t global_type_D3D_GraphicsCapabilitiesHighByte
Definition globals.h:260
uint16_t global_type___export_name_ptr_table_1_USER32_UpdateWindow_
Definition globals.h:242
struct D3D_TransformedVertexNoTex * global_type_g_quadVertex1Ptr
Definition globals.h:176
char global_type_ddraw_err_invalid_params[0x4d]
Definition globals.h:77
char global_type_D3D_FormatDirectXError_DDrawErrCurrentlyNotAvail[0x24]
Definition globals.h:71
char global_type_STR_PCDOGS_INI[0xb]
Definition globals.h:104
char global_type_ddraw_err_invalid_pixel_format[0x27]
Definition globals.h:65
struct _GUID global_type_GUID_IDirectDraw7_
Definition globals.h:17
char global_type_g_windowHandleText[0x40]
Definition globals.h:191
IDirectDrawSurface7 * global_type_g_ddrawPrimarySurface
Definition globals.h:224
char global_type_STR_CONTROLLER_MS_SIDEWINDER[0x15]
Definition globals.h:113
char global_type_ddraw_err_out_of_memory[0x41]
Definition globals.h:56
char global_type_ddraw_err_not_flippable[0x42]
Definition globals.h:47
char global_type_D3D_EmptyLogMessage[0x1]
Definition globals.h:185
char global_type_STR_DEBUG_POS_FORMAT[0x17]
Definition globals.h:101
char global_type_STR_CONTROLLER_GRAVIS_GAMEPAD[0x13]
Definition globals.h:110
char global_type_window_shutdown_unload_data[0xc]
Definition globals.h:140
char global_type_STR_D3D_LOG[0x8]
Definition globals.h:23
char global_type_window_shutdown_destroy_window[0xe]
Definition globals.h:125
uint16_t global_type___export_name_ptr_table_5_DDRAW_DirectDrawCreateEx_
Definition globals.h:254
IDirectDrawSurface7 * global_type_g_ddrawBackBuffer
Definition globals.h:221
char global_type_STR_PCDOGS_PKG[0xb]
Definition globals.h:146
HWND global_type_g_windowHandle
Definition globals.h:218
char global_type_ddraw_err_generic_failure[0x11]
Definition globals.h:89
HWND global_type_Window_RunWinMain_SecondaryWindowHandle
Definition globals.h:197
char global_type_D3D_FormatDirectXError_DDrawErrNotInitialized[0x82]
Definition globals.h:92
char global_type_ddraw_err_can_not_attach[0x3b]
Definition globals.h:83
char global_type_window_shutdown_begin[0x29]
Definition globals.h:143
int32_t global_type_g_displayRectBottom
Definition globals.h:167
char global_type_window_shutdown_direct_input_release[0x13]
Definition globals.h:131
int32_t global_type_g_displayRectRight
Definition globals.h:164
char global_type_STR_CONTROLLER_HAMMERHEAD_FX[0xe]
Definition globals.h:116
struct D3D_TransformedVertexNoTex * global_type_g_quadVertex3Ptr
Definition globals.h:182
char global_type_STR_CONTROLLER_WINGMAN_RUMBLEPAD[0x12]
Definition globals.h:107
uint16_t global_type___export_name_ptr_table_1_USER32_CreateWindowExA_
Definition globals.h:248
char global_type_g_pauseTransitionTimer
Definition globals.h:188
char global_type_window_shutdown_complete[0x29]
Definition globals.h:122
char global_type_ddraw_err_no_flip_hardware[0x2c]
Definition globals.h:62
char global_type_D3D_FormatDirectXError_DDrawErrD3DNotInitialized[0x22]
Definition globals.h:32
char global_type_STR_DEBUG_FPS_FORMAT[0xb]
Definition globals.h:98
int32_t global_type_g_displayRectLeft
Definition globals.h:158
IDirectDrawSurface7 * global_type_g_ddrawZBuffer
Definition globals.h:230
float global_type_D3D_CurrentGammaScale
Definition globals.h:20
uint16_t global_type___export_name_ptr_table_1_USER32_ShowWindow_
Definition globals.h:245
char global_type_ddraw_err_width_too_large[0x2c]
Definition globals.h:50
char global_type_ddraw_err_invalid_object[0x45]
Definition globals.h:68
char global_type_window_shutdown_kill_game[0x9]
Definition globals.h:134
char global_type_STR_GAME_TITLE_102_DALMATIANS[0xf]
Definition globals.h:119
uint32_t global_type_window_high_message_dispatch_table[0x4]
Definition globals.h:11
HWND global_type_g_aviWindowHandle
Definition globals.h:236
HWND global_type_Display_CurrentWindowHandle
Definition globals.h:200
char global_type_D3D_FormatDirectXError_DDrawErrNoNonLocalVidMem[0x73]
Definition globals.h:41
uint32_t global_type_window_low_message_dispatch_table[0x4]
Definition globals.h:8
int32_t global_type_Window_RunWinMain_RenderingEnabled
Definition globals.h:206
char global_type_D3D_FormatDirectXError_DDrawErrNewMode[0x2a]
Definition globals.h:35
char global_type_ddraw_err_can_not_detach[0x3d]
Definition globals.h:74
struct D3D_TransformedVertexNoTex * global_type_g_quadVertexPtrs
Definition globals.h:173
int32_t global_type_D3D_CreateTextureSurface_GraphicsPixelBlueShift
Definition globals.h:227
char global_type_STR_OUT_OF_MEMORY[0x4d]
Definition globals.h:152
uint16_t global_type___export_name_ptr_table_1_USER32_DefWindowProcA_
Definition globals.h:239
HWND(* global_type_g_pGetActiveWindow)()
Definition globals.h:203
char global_type_ddraw_err_size_too_large[0x56]
Definition globals.h:53
char global_type_STR_LEAK_UNRELEASED_EXTENT[0x26]
Definition globals.h:155
char global_type_ddraw_err_page_lock_failed[0x2b]
Definition globals.h:38