summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-10-02 16:50:01 +0800
committerIru Cai <mytbk920423@gmail.com>2018-10-02 16:50:27 +0800
commit57fe23f189ba7be67e8ec7e18f5d5b93e0ab7f37 (patch)
tree419ce411a9a9af2f42e364744a44b326459e0f09
parenta9e3e004e029e1bc8931483a7d0996ac53bd5dee (diff)
downloadrich4-57fe23f189ba7be67e8ec7e18f5d5b93e0ab7f37.tar.xz
fcn.0045643d -> overlay_fullwidth
-rw-r--r--csrc/drawing.c2
-rw-r--r--csrc/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/csrc/drawing.c b/csrc/drawing.c
index 6e1c0f2..f628286 100644
--- a/csrc/drawing.c
+++ b/csrc/drawing.c
@@ -348,7 +348,7 @@ void player_say(int p, int t, const char *s)
sub.WINMM.dll_timeGetTime_4f6(1000);
IDirectDrawSurface_Lock(pddrawsf2, NULL, &sfdesc1, 1, 0);
- fcn.0045643d(sfdesc1.lpSurface, edi, r0.left, r0.top, 0, 0, 440, 220);
+ overlay_fullwidth(sfdesc1.lpSurface, edi, r0.left, r0.top, 0, 0, 440, 220);
IDirectDrawSurface_Unlock(pddrawsf2, NULL);
IDirectDrawSurface_BltFast(pddrawsf1, r0.left, r0.top, pddrawsf2, &r0, DDBLTFAST_WAIT);
diff --git a/csrc/main.c b/csrc/main.c
index 8be38ef..52d3d7b 100644
--- a/csrc/main.c
+++ b/csrc/main.c
@@ -140,7 +140,7 @@ LRESULT CALLBACK entryCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
r0.right = r0.left + data1->chunk_tab[idx].width;
r0.bottom = r0.top + data1->chunk_tab[idx].height;
IDirectDrawSurface_Lock(pddrawsf2, NULL, &sfdesc1, 1, 0);
- fcn.0045643d(sfdesc1.lpSurface, &data1->chunk_tab[0],
+ overlay_fullwidth(sfdesc1.lpSurface, &data1->chunk_tab[0],
r0.left, r0.top, r0.left, r0.top,
r0.right - r0.left, r0.bottom - r0.top);
IDirectDrawSurface_Unlock(pddrawsf2, NULL);