2#ifndef PCDOGS_GRAPHICS_GLOBALS_H
3#define PCDOGS_GRAPHICS_GLOBALS_H
11#define graphics_d3d_error_88760028_range_dispatch_table (*(global_type_graphics_d3d_error_88760028_range_dispatch_table *)(data_storage + 0x19c5c))
14#define graphics_d3d_error_88760091_range_dispatch_table (*(global_type_graphics_d3d_error_88760091_range_dispatch_table *)(data_storage + 0x19cd0))
17#define graphics_d3d_error_887600f0_range_dispatch_table (*(global_type_graphics_d3d_error_887600f0_range_dispatch_table *)(data_storage + 0x19d60))
20#define graphics_d3d_error_887601ea_range_dispatch_table (*(global_type_graphics_d3d_error_887601ea_range_dispatch_table *)(data_storage + 0x19ec0))
23#define graphics_d3d_error_88760247_range_dispatch_table (*(global_type_graphics_d3d_error_88760247_range_dispatch_table *)(data_storage + 0x19f94))
26#define graphics_d3d_error_88760280_range_dispatch_table (*(global_type_graphics_d3d_error_88760280_range_dispatch_table *)(data_storage + 0x19ffc))
29#define graphics_d3d_error_887602b6_range_dispatch_table (*(global_type_graphics_d3d_error_887602b6_range_dispatch_table *)(data_storage + 0x1a050))
32#define Graphics_ProjectScreenHeightHalf (*(global_type_Graphics_ProjectScreenHeightHalf *)(data_storage + 0x4d038))
35#define Graphics_DrawQuad_PosZBias (*(global_type_Graphics_DrawQuad_PosZBias *)(data_storage + 0x4d040))
38#define Graphics_RenderPolygonBatch_WindowWidthFloat (*(global_type_Graphics_RenderPolygonBatch_WindowWidthFloat *)(data_storage + 0x4d05c))
41#define g_fontGlyphRenderState (*(global_type_g_fontGlyphRenderState *)(data_storage + 0x4e4f8))
44#define g_defaultFontContextData (*(global_type_g_defaultFontContextData *)(data_storage + 0x4e4fc))
47#define graphics_d3d_err_create_texture (*(global_type_graphics_d3d_err_create_texture *)(data_storage + 0x4e580))
50#define graphics_d3d_err_no4444_rgba (*(global_type_graphics_d3d_err_no4444_rgba *)(data_storage + 0x4e5a0))
53#define graphics_texture_error_string (*(global_type_graphics_texture_error_string *)(data_storage + 0x4e5c0))
56#define graphics_d3d_err_no16_bit_rgb (*(global_type_graphics_d3d_err_no16_bit_rgb *)(data_storage + 0x4e5d0))
59#define graphics_d3d_err_create_work_surface (*(global_type_graphics_d3d_err_create_work_surface *)(data_storage + 0x4e5f0))
62#define graphics_d3d_err_blt (*(global_type_graphics_d3d_err_blt *)(data_storage + 0x4e614))
65#define graphics_d3d_err_get_surface_ptr (*(global_type_graphics_d3d_err_get_surface_ptr *)(data_storage + 0x4e62c))
68#define graphics_d3d_error_message_buffer (*(global_type_graphics_d3d_error_message_buffer *)(data_storage + 0x4e648))
71#define graphics_d3d_err_lock (*(global_type_graphics_d3d_err_lock *)(data_storage + 0x4e658))
74#define graphics_d3d_err_work_null (*(global_type_graphics_d3d_err_work_null *)(data_storage + 0x4e670))
77#define graphics_d3d_err_copy_mem_tex_null (*(global_type_graphics_d3d_err_copy_mem_tex_null *)(data_storage + 0x4e680))
80#define graphics_d3d_err_work_surface_null (*(global_type_graphics_d3d_err_work_surface_null *)(data_storage + 0x4e6a4))
83#define graphics_d3d_err_z_enable (*(global_type_graphics_d3d_err_z_enable *)(data_storage + 0x4e6dc))
86#define graphics_d3d_err_set_viewport (*(global_type_graphics_d3d_err_set_viewport *)(data_storage + 0x4e6ec))
89#define graphics_d3d_err_create_rgb_device (*(global_type_graphics_d3d_err_create_rgb_device *)(data_storage + 0x4e70c))
92#define graphics_d3d_err_create_hal_device (*(global_type_graphics_d3d_err_create_hal_device *)(data_storage + 0x4e744))
95#define graphics_d3d_err_create_driver_device (*(global_type_graphics_d3d_err_create_driver_device *)(data_storage + 0x4e77c))
98#define graphics_d3d_err_create_device7 (*(global_type_graphics_d3d_err_create_device7 *)(data_storage + 0x4e7ac))
101#define graphics_d3d_err_add_attached_surface (*(global_type_graphics_d3d_err_add_attached_surface *)(data_storage + 0x4e7c8))
104#define graphics_d3d_err_create_z_buffer (*(global_type_graphics_d3d_err_create_z_buffer *)(data_storage + 0x4e814))
107#define graphics_d3d_err_query_direct3d7 (*(global_type_graphics_d3d_err_query_direct3d7 *)(data_storage + 0x4e82c))
110#define graphics_d3d_err_get_attached_surface (*(global_type_graphics_d3d_err_get_attached_surface *)(data_storage + 0x4e85c))
113#define graphics_d3d_err_create_surface (*(global_type_graphics_d3d_err_create_surface *)(data_storage + 0x4e880))
116#define graphics_d3d_err_set_display_mode (*(global_type_graphics_d3d_err_set_display_mode *)(data_storage + 0x4e8a0))
119#define graphics_d3d_err_set_cooperative_level (*(global_type_graphics_d3d_err_set_cooperative_level *)(data_storage + 0x4e8c0))
122#define g_fmt_D3D_CanUseColorKey (*(global_type_g_fmt_D3D_CanUseColorKey *)(data_storage + 0x4e958))
125#define Graphics_TakeScreenshot_FormatString (*(global_type_Graphics_TakeScreenshot_FormatString *)(data_storage + 0x4e9d4))
128#define graphics_d3d_err_set_gamma_control (*(global_type_graphics_d3d_err_set_gamma_control *)(data_storage + 0x4e9e4))
131#define graphics_d3d_err_query_gamma_control (*(global_type_graphics_d3d_err_query_gamma_control *)(data_storage + 0x4e9f8))
134#define graphics_d3d_err_query_during_enum (*(global_type_graphics_d3d_err_query_during_enum *)(data_storage + 0x4eac8))
137#define graphics_d3d_err_create_during_enum (*(global_type_graphics_d3d_err_create_during_enum *)(data_storage + 0x4eaf4))
140#define Graphics_WindowWidth (*(global_type_Graphics_WindowWidth *)(data_storage + 0x517e4))
143#define Graphics_WindowHeight (*(global_type_Graphics_WindowHeight *)(data_storage + 0x517e8))
146#define graphics_d3d_err_begin_scene (*(global_type_graphics_d3d_err_begin_scene *)(data_storage + 0x517ec))
149#define graphics_d3d_err_restore_all_surfaces (*(global_type_graphics_d3d_err_restore_all_surfaces *)(data_storage + 0x51808))
152#define render_list_state (*(global_type_render_list_state *)(data_storage + 0x54ae8))
155#define Graphics_RenderPolygonCallback (*(global_type_Graphics_RenderPolygonCallback *)(data_storage + 0x55d20))
158#define g_graphicsCapabilityFlags (*(global_type_g_graphicsCapabilityFlags *)(data_storage + 0x55d24))
161#define g_vertexColorBuffer (*(global_type_g_vertexColorBuffer *)(data_storage + 0x573f0))
164#define g_vertexColorBuffer_g (*(global_type_g_vertexColorBuffer_g *)(data_storage + 0x573f4))
167#define g_vertexColorBuffer_b1 (*(global_type_g_vertexColorBuffer_b1 *)(data_storage + 0x573f8))
170#define g_vertexColorBuffer_b0 (*(global_type_g_vertexColorBuffer_b0 *)(data_storage + 0x573fc))
173#define g_vertexColorBuffer_r0 (*(global_type_g_vertexColorBuffer_r0 *)(data_storage + 0x57400))
176#define g_vertexColorBuffer_g1 (*(global_type_g_vertexColorBuffer_g1 *)(data_storage + 0x57404))
179#define g_vertexColorBuffer_r1 (*(global_type_g_vertexColorBuffer_r1 *)(data_storage + 0x57408))
182#define g_vertexColorBuffer_b (*(global_type_g_vertexColorBuffer_b *)(data_storage + 0x5740c))
185#define g_vertexColorBuffer_b2 (*(global_type_g_vertexColorBuffer_b2 *)(data_storage + 0x57410))
188#define g_vertexColorBuffer_g2 (*(global_type_g_vertexColorBuffer_g2 *)(data_storage + 0x57414))
191#define g_vertexColorBuffer_r2 (*(global_type_g_vertexColorBuffer_r2 *)(data_storage + 0x57418))
194#define g_vertexColorBuffer_g3 (*(global_type_g_vertexColorBuffer_g3 *)(data_storage + 0x5741c))
197#define g_clipPingPongVertices0 (*(global_type_g_clipPingPongVertices0 *)(data_storage + 0x574b0))
200#define g_clipPingPongAttributes0 (*(global_type_g_clipPingPongAttributes0 *)(data_storage + 0x57670))
203#define g_clipPingPongVertices1 (*(global_type_g_clipPingPongVertices1 *)(data_storage + 0x57730))
206#define g_clipPingPongAttributes1 (*(global_type_g_clipPingPongAttributes1 *)(data_storage + 0x578f0))
209#define graphics_ddraw_enum_driver_data (*(global_type_graphics_ddraw_enum_driver_data *)(data_storage + 0x57cb8))
212#define graphics_ddraw_init_state_0 (*(global_type_graphics_ddraw_init_state_0 *)(data_storage + 0x57d08))
215#define graphics_ddraw_init_state_1 (*(global_type_graphics_ddraw_init_state_1 *)(data_storage + 0x57d58))
218#define graphics_ddraw_init_param_0 (*(global_type_graphics_ddraw_init_param_0 *)(data_storage + 0x57d60))
221#define graphics_ddraw_init_param_2 (*(global_type_graphics_ddraw_init_param_2 *)(data_storage + 0x57d68))
224#define graphics_ddraw_init_param_3 (*(global_type_graphics_ddraw_init_param_3 *)(data_storage + 0x57d6c))
227#define graphics_ddraw_init_param_4 (*(global_type_graphics_ddraw_init_param_4 *)(data_storage + 0x57d70))
230#define graphics_d3d_vertex_buffer (*(global_type_graphics_d3d_vertex_buffer *)(data_storage + 0x59af0))
233#define graphics_d3d_vertex_buffer_y (*(global_type_graphics_d3d_vertex_buffer_y *)(data_storage + 0x59af4))
236#define graphics_tex_needs_alpha (*(global_type_graphics_tex_needs_alpha *)(data_storage + 0x59ecd))
239#define graphics_ddraw_enum_device_list (*(global_type_graphics_ddraw_enum_device_list *)(data_storage + 0x59ee0))
242#define graphics_max_primitives_per_batch_d3d (*(global_type_graphics_max_primitives_per_batch_d3d *)(data_storage + 0x9482c))
245#define Graphics_RenderPolygonBatch_ProjectionScratch1 (*(global_type_Graphics_RenderPolygonBatch_ProjectionScratch1 *)(data_storage + 0x94830))
248#define Graphics_RenderPolygonBatch_ProjectionScratch2 (*(global_type_Graphics_RenderPolygonBatch_ProjectionScratch2 *)(data_storage + 0x94832))
251#define Graphics_RenderPolygonBatch_ProjectionScratch3 (*(global_type_Graphics_RenderPolygonBatch_ProjectionScratch3 *)(data_storage + 0x94834))
254#define data_4967c0 (*(global_type_data_4967c0 *)(data_storage + 0x967c0))
257#define g_spriteLastPositionX (*(global_type_g_spriteLastPositionX *)(data_storage + 0x996a0))
260#define g_spriteLastPositionY (*(global_type_g_spriteLastPositionY *)(data_storage + 0x996a4))
263#define g_spriteLastPositionZ (*(global_type_g_spriteLastPositionZ *)(data_storage + 0x996a8))
266#define g_projectedSpriteVertices (*(global_type_g_projectedSpriteVertices *)(data_storage + 0x996b0))
269#define g_sortedListCursor (*(global_type_g_sortedListCursor *)(data_storage + 0x9badc))
272#define g_sortedListCurrentRecord (*(global_type_g_sortedListCurrentRecord *)(data_storage + 0x9bae0))
275#define Graphics_RenderFrame_LastFrameTick (*(global_type_Graphics_RenderFrame_LastFrameTick *)(data_storage + 0x9ca44))
278#define Graphics_RenderFrame_StartTimeSec (*(global_type_Graphics_RenderFrame_StartTimeSec *)(data_storage + 0x9ca50))
281#define Graphics_RenderFrame_EndTimeSec (*(global_type_Graphics_RenderFrame_EndTimeSec *)(data_storage + 0x9ca54))
284#define g_graphicsCapabilities (*(global_type_g_graphicsCapabilities *)(data_storage + 0x2344e8))
287#define graphics_shadow_render_list (*(global_type_graphics_shadow_render_list *)(data_storage + 0x234a58))
290#define g_polygonBatchRecords (*(global_type_g_polygonBatchRecords *)(data_storage + 0x234de0))
293#define graphics_text_rendering_mode (*(global_type_graphics_text_rendering_mode *)(data_storage + 0x15a9574))
296#define g_quadVertexColorB (*(global_type_g_quadVertexColorB *)(data_storage + 0x15a9580))
299#define g_quadVertexColorG (*(global_type_g_quadVertexColorG *)(data_storage + 0x15a9590))
302#define g_quadVertexColorR (*(global_type_g_quadVertexColorR *)(data_storage + 0x15a95a0))
305#define graphics_pixel_blue_mask (*(global_type_graphics_pixel_blue_mask *)(data_storage + 0x15a95b8))
308#define graphics_d3d_state (*(global_type_graphics_d3d_state *)(data_storage + 0x15a95e0))
311#define graphics_pixel_red_mask (*(global_type_graphics_pixel_red_mask *)(data_storage + 0x15a9640))
314#define graphics_pixel_green_mask (*(global_type_graphics_pixel_green_mask *)(data_storage + 0x15a9644))
317#define graphics_d3d_device (*(global_type_graphics_d3d_device *)(data_storage + 0x15abff8))
320#define graphics_pixel_alpha_shift (*(global_type_graphics_pixel_alpha_shift *)(data_storage + 0x168a700))
323#define graphics_pixel_alpha_mask (*(global_type_graphics_pixel_alpha_mask *)(data_storage + 0x168a704))
326#define graphics_pixel_green_shift (*(global_type_graphics_pixel_green_shift *)(data_storage + 0x168a708))
329#define g_clipInputVertices ((struct Graphics_Render_ClipVertex *)(data_storage + 0x584c8))
330#define g_clipSavedInputVertices ((struct Graphics_Render_ClipVertex *)(data_storage + 0x57c30))
331#define g_clipOutputVertices ((struct Graphics_Render_ClipVertex *)(data_storage + 0x59908))
332#define g_clipScreenVertices ((struct Graphics_Render_ClipVertex *)(data_storage + 0x59748))
335#define g_graphicsCapabilities_high_byte (*(global_type_g_graphicsCapabilities_high_byte *)(data_storage + 0x2344e9))
struct _GUID * global_type_graphics_ddraw_init_param_4
uint32_t global_type_graphics_d3d_error_88760247_range_dispatch_table[0x10]
int16_t global_type_Graphics_RenderPolygonBatch_ProjectionScratch3
int32_t global_type_Graphics_ProjectScreenHeightHalf
char global_type_g_fmt_D3D_CanUseColorKey[0x16]
char global_type_graphics_d3d_err_lock[0x17]
char global_type_graphics_d3d_err_create_surface[0x1f]
int32_t global_type_g_vertexColorBuffer_b2
struct Graphics_Render_ClipAttribute global_type_g_clipPingPongAttributes0[0x10]
char global_type_graphics_d3d_err_get_attached_surface[0x24]
int32_t global_type_graphics_d3d_state
int32_t global_type_graphics_pixel_green_mask
int32_t global_type_Graphics_RenderPolygonBatch_WindowWidthFloat
char global_type_graphics_d3d_err_create_during_enum[0x27]
int32_t global_type_g_spriteLastPositionX
char global_type_graphics_d3d_err_create_z_buffer[0x18]
int32_t global_type_Graphics_WindowWidth
char global_type_graphics_d3d_err_query_during_enum[0x2b]
char global_type_graphics_d3d_err_create_texture[0x20]
int16_t global_type_graphics_max_primitives_per_batch_d3d
char global_type_graphics_texture_error_string[0xe]
uint8_t global_type_graphics_tex_needs_alpha
uint32_t global_type_graphics_d3d_error_887602b6_range_dispatch_table[0x6]
uint32_t global_type_g_quadVertexColorB[0x4]
uint32_t global_type_graphics_d3d_error_887601ea_range_dispatch_table[0x1e]
uint8_t global_type_graphics_d3d_vertex_buffer
uint8_t global_type_graphics_d3d_vertex_buffer_y
char global_type_graphics_d3d_err_create_device7[0x1b]
int32_t global_type_g_vertexColorBuffer_r0
char global_type_Graphics_TakeScreenshot_FormatString[0xe]
char global_type_graphics_d3d_err_create_rgb_device[0x35]
char global_type_graphics_d3d_err_blt[0x15]
struct Graphics_Render_PolygonBatchRecord * global_type_g_sortedListCurrentRecord
int32_t global_type_graphics_pixel_blue_mask
uint8_t global_type_g_graphicsCapabilities_high_byte
int32_t global_type_g_fontGlyphRenderState
uint8_t global_type_graphics_ddraw_init_state_1
char global_type_graphics_d3d_err_begin_scene[0x1c]
char global_type_graphics_d3d_err_work_null[0xe]
int32_t global_type_g_spriteLastPositionY
int32_t global_type_g_vertexColorBuffer_r2
struct Graphics_Render_ProjectedVertex global_type_g_projectedSpriteVertices[0x3e8]
float global_type_Graphics_RenderFrame_EndTimeSec
int32_t global_type_Graphics_WindowHeight
char global_type_graphics_d3d_err_copy_mem_tex_null[0x22]
int32_t global_type_graphics_ddraw_init_param_3
char global_type_graphics_d3d_err_set_gamma_control[0x12]
struct Graphics_Render_SpriteVertexData global_type_data_4967c0[0x3e8]
int32_t global_type_g_defaultFontContextData
struct Graphics_Render_ClipVertex global_type_g_clipPingPongVertices1[0x10]
int32_t global_type_graphics_text_rendering_mode
int32_t global_type_graphics_pixel_alpha_mask
char global_type_graphics_d3d_err_create_driver_device[0x30]
IDirect3DDevice7 * global_type_graphics_d3d_device
uint32_t global_type_g_graphicsCapabilities
int32_t global_type_graphics_pixel_green_shift
uint32_t global_type_g_quadVertexColorG[0x4]
int32_t global_type_g_spriteLastPositionZ
struct Graphics_Render_PolygonBatchRecord global_type_g_polygonBatchRecords
int32_t global_type_g_vertexColorBuffer_g
char global_type_graphics_d3d_err_no4444_rgba[0x1e]
int32_t global_type_g_vertexColorBuffer_g3
char global_type_graphics_d3d_err_restore_all_surfaces[0x25]
struct Actor * global_type_graphics_shadow_render_list
int32_t global_type_g_graphicsCapabilityFlags
void(* global_type_Graphics_RenderPolygonCallback)(struct Scene_Node *node, struct Graphics_Render_PolygonRenderRef *polygon_refs, int32_t polygon_count)
int32_t global_type_g_vertexColorBuffer_r1
struct Graphics_Render_ClipVertex global_type_g_clipPingPongVertices0[0x10]
int32_t global_type_graphics_pixel_red_mask
uint8_t global_type_graphics_ddraw_init_state_0
char global_type_graphics_d3d_err_no16_bit_rgb[0x1f]
int16_t global_type_Graphics_RenderPolygonBatch_ProjectionScratch2
int32_t global_type_graphics_ddraw_init_param_0
char global_type_graphics_d3d_err_work_surface_null[0x16]
char global_type_graphics_d3d_err_add_attached_surface[0x24]
float global_type_Graphics_RenderFrame_StartTimeSec
int32_t global_type_g_vertexColorBuffer_g1
struct D3D_DriverInfo global_type_graphics_ddraw_enum_device_list[]
char global_type_graphics_d3d_error_message_buffer[0xe]
char global_type_graphics_d3d_err_query_direct3d7[0x2e]
uint32_t global_type_graphics_d3d_error_88760280_range_dispatch_table[0x7]
int32_t global_type_graphics_pixel_alpha_shift
char global_type_graphics_d3d_err_set_cooperative_level[0x25]
struct Graphics_Render_ListState * global_type_render_list_state
int32_t global_type_g_vertexColorBuffer_b
uint32_t global_type_g_quadVertexColorR[0x4]
struct Graphics_Render_PolygonBatchRecord ** global_type_g_sortedListCursor
uint32_t global_type_graphics_d3d_error_88760091_range_dispatch_table[0xf]
char global_type_graphics_d3d_err_z_enable[0x10]
char global_type_graphics_d3d_err_query_gamma_control[0x1d]
int16_t global_type_Graphics_RenderPolygonBatch_ProjectionScratch1
char global_type_graphics_d3d_err_create_hal_device[0x35]
uint32_t global_type_graphics_d3d_error_887600f0_range_dispatch_table[0x1e]
int32_t global_type_g_vertexColorBuffer
uint32_t global_type_Graphics_RenderFrame_LastFrameTick
int32_t global_type_g_vertexColorBuffer_b0
int32_t global_type_g_vertexColorBuffer_b1
char global_type_graphics_d3d_err_set_display_mode[0x20]
char global_type_graphics_d3d_err_set_viewport[0x1d]
struct Graphics_Render_ClipAttribute global_type_g_clipPingPongAttributes1[0x10]
char global_type_graphics_d3d_err_create_work_surface[0x23]
char global_type_graphics_d3d_err_get_surface_ptr[0x1c]
int32_t global_type_g_vertexColorBuffer_g2
uint32_t global_type_graphics_d3d_error_88760028_range_dispatch_table[0x8]
int32_t global_type_graphics_ddraw_init_param_2
int32_t global_type_Graphics_DrawQuad_PosZBias
uint8_t global_type_graphics_ddraw_enum_driver_data