summaryrefslogtreecommitdiff
path: root/csrc/main.c
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-08-20 10:30:29 +0800
committerIru Cai <mytbk920423@gmail.com>2018-08-20 10:51:56 +0800
commitcc131b99f9fee8754977bc4c003dcfb7f37f7169 (patch)
tree6dd6a001b6d88f5afa900a1ec7125fe5c4d2be3e /csrc/main.c
parente48d39e9734c1947bdaf5971b4a413d60a7de929 (diff)
downloadrich4-cc131b99f9fee8754977bc4c003dcfb7f37f7169.tar.xz
put the global data in global.h
and complete the type of gwindowhandle, g_rect
Diffstat (limited to 'csrc/main.c')
-rw-r--r--csrc/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/csrc/main.c b/csrc/main.c
index e85f7ac..e0eb664 100644
--- a/csrc/main.c
+++ b/csrc/main.c
@@ -1,8 +1,8 @@
#include <windows.h>
HINSTANCE ghInstance; // 48a064
-gwindowHandle; // 48a0d4
-uint32_t dw_46cadc;
+HWND gwindowHandle; // 48a0d4
+RECT g_rect;
Surface **sf1;
@@ -113,7 +113,7 @@ int WINAPI WinMain(HINSTANCE hInstance,
}
ShowWindow(gwindowHandle, SW_SHOW);
UpdateWindow(gwindowHandle);
- play_avi("START.AVI", &dw_46cadc, 1);
+ play_avi("START.AVI", &g_rect, 1);
case_401de8_0:
w_4991b6 = 0;
w_4991b8 = 0;