summaryrefslogtreecommitdiff
path: root/csrc/tools_ui.c
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-09-25 07:43:02 +0800
committerIru Cai <mytbk920423@gmail.com>2018-09-25 07:45:07 +0800
commitf38b1e589c9a8000911ce14642f496c4267b71d6 (patch)
treec861aa7556e744cf5d3cce3ce37b3cad098f412e /csrc/tools_ui.c
parent0248e480c58e8e1de8f64d258999634b1db06cd0 (diff)
downloadrich4-f38b1e589c9a8000911ce14642f496c4267b71d6.tar.xz
name fcn_4018e7 as register_wait_callback, and move it to window_util
Diffstat (limited to 'csrc/tools_ui.c')
-rw-r--r--csrc/tools_ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/csrc/tools_ui.c b/csrc/tools_ui.c
index 3577721..4b90950 100644
--- a/csrc/tools_ui.c
+++ b/csrc/tools_ui.c
@@ -4,6 +4,7 @@
*/
#include "player_info.h"
+#include "window_util.h"
const char str_cross_sym[] = "\xa1\xd1%d"; // x%d
@@ -151,7 +152,7 @@ void tools_ui()
fcn.004563f5(sfdesc1.lpSurface, edi + 0x18, 0xe, 0x82);
IDirectDrawSurface_Unlock(pddrawsf2, NULL);
- esi = fcn_4018e7(toolsProc, 0);
+ esi = register_wait_callback(toolsProc, 0);
IDirectDrawSurface_Lock(pddrawsf2, 0, &sfdesc1, 1, 0);
fcn.004563f5(sfdesc1.lpSurface, dw_48c558, 0, 40);