diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-09-28 19:09:12 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-09-28 19:09:12 +0800 |
commit | 03b7ccd02d73299d8d3185d980838c5583dea9f4 (patch) | |
tree | 98e139a0f48454e33de8f7cad5cb642e4cf66046 | |
parent | ca074cac85e7ae9840f2a128caa54767f3c6c1cc (diff) | |
download | rich4-03b7ccd02d73299d8d3185d980838c5583dea9f4.tar.xz |
show_loading_scene
-rw-r--r-- | csrc/loadsave.c | 6 | ||||
-rw-r--r-- | csrc/main.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/csrc/loadsave.c b/csrc/loadsave.c index 9cba9f0..220cb87 100644 --- a/csrc/loadsave.c +++ b/csrc/loadsave.c @@ -20,11 +20,11 @@ char *dw_48bad0; char *dw_48badc; char *dw_496930[20]; -void fcn_00401543() +void show_loading_scene() { char *ebx = read_mkf(mkf_data, 0x259, NULL, NULL); IDirectDrawSurface_Lock(pddrawsf2, NULL, &sfdesc1, 1, NULL); - memcpy(sfdesc1.lpSurface, ebx, 0x96000); + memcpy(sfdesc1.lpSurface, ebx, 0x96000 /* 640*480*2 */); IDirectDrawSurface_Unlock(pddrawsf2, NULL); IDirectDrawSurface_BltFast(pddrawsf1, g_rect.left, g_rect.top, pddrawsf2, &g_rect, 16); @@ -296,7 +296,7 @@ int load_checkpoint(int n) if (fp == NULL) { return 0; } - fcn_00401543(); + show_loading_scene(); ebp = timeGetTime(); /* esi = 0 */ fcn_004080f5(); diff --git a/csrc/main.c b/csrc/main.c index 3344c00..5cf1ba2 100644 --- a/csrc/main.c +++ b/csrc/main.c @@ -279,7 +279,7 @@ L401cb3: case 0: if (init_new_game((int)b_46cafc)==0) goto case_401de8_0; - fcn_00401543(); + show_loading_scene(); fcn_00407ad2(); fcn_004190cf(); fcn_004291d6(); |