Rev 1 | Rev 18 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1 | Rev 11 | ||
|---|---|---|---|
| Line 10... | Line 10... | ||
| 10 | static int null_set_window_pos(void* hWnd, int x, int y, int nWidth, int nHeight) { |
10 | static int null_set_window_pos(void* hWnd, int x, int y, int nWidth, int nHeight) { |
| 11 | return 0; |
11 | return 0; |
| 12 | } |
12 | } |
| 13 | 13 | ||
| 14 | static void null_destroy_window(void* hWnd) { |
14 | static void null_destroy_window(void* hWnd) { |
| - | 15 | } |
|
| - | 16 | ||
| - | 17 | static int null_show_error_message(void* window, char* text, char* caption) { |
|
| - | 18 | return 0; |
|
| 15 | } |
19 | } |
| 16 | 20 | ||
| 17 | static int null_get_and_handle_message(MSG_* msg) { |
21 | static int null_get_and_handle_message(MSG_* msg) { |
| 18 | return 0; |
22 | return 0; |
| 19 | } |
23 | } |
| Line 81... | Line 85... | ||
| 81 | platform->DestroyWindow = null_destroy_window; |
85 | platform->DestroyWindow = null_destroy_window; |
| 82 | platform->GetKeyboardState = null_get_keyboard_state; |
86 | platform->GetKeyboardState = null_get_keyboard_state; |
| 83 | platform->GetMousePosition = null_get_mouse_position; |
87 | platform->GetMousePosition = null_get_mouse_position; |
| 84 | platform->GetMouseButtons = null_get_mouse_buttons; |
88 | platform->GetMouseButtons = null_get_mouse_buttons; |
| 85 | platform->DestroyWindow = null_destroy_window; |
89 | platform->DestroyWindow = null_destroy_window; |
| - | 90 | platform->ShowErrorMessage = null_show_error_message; |
|
| 86 | 91 | ||
| 87 | platform->Renderer_BufferModel = NullRenderer_BufferModel; |
92 | platform->Renderer_BufferModel = NullRenderer_BufferModel; |
| 88 | platform->Renderer_BufferMaterial = NullRenderer_BufferMaterial; |
93 | platform->Renderer_BufferMaterial = NullRenderer_BufferMaterial; |
| 89 | platform->Renderer_BufferTexture = NullRenderer_BufferTexture; |
94 | platform->Renderer_BufferTexture = NullRenderer_BufferTexture; |
| 90 | platform->Renderer_SetPalette = NullRenderer_SetPalette; |
95 | platform->Renderer_SetPalette = NullRenderer_SetPalette; |