summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-10-04 16:56:07 +0800
committerIru Cai <mytbk920423@gmail.com>2018-10-04 16:56:07 +0800
commit2ed4415f8e05543a6d16920515d0bcad8ae2bfc0 (patch)
tree9ec67eb5449b93c7f755fa270b75ceb68481ec09
parent6b616513d53cd6b929b57174ea2c91eabbcf7773 (diff)
downloadrich4-2ed4415f8e05543a6d16920515d0bcad8ae2bfc0.tar.xz
name functions create_font_surface, set_pixel_fmt
-rw-r--r--csrc/media_init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/csrc/media_init.c b/csrc/media_init.c
index 64e7137..c8680c6 100644
--- a/csrc/media_init.c
+++ b/csrc/media_init.c
@@ -551,7 +551,7 @@ void direct_sound_init(int a0)
return 1;
}
-void fcn_0044f935()
+static void create_font_surface()
{
sfdesc1.dwFlags = 7;
sfdesc1.ddsCaps = 0x840;
@@ -564,7 +564,7 @@ void fcn_0044f935()
IDirectDrawSurface_Unlock(pddrawsf3, NULL);
}
-void fcn_0045175d()
+void set_pixel_fmt()
{
DDPIXELFORMAT fmt;
fmt.dwSize = 0x20;
@@ -654,8 +654,8 @@ bool initialize()
sfdesc1.dwHeight = 480;
IDirectDraw_CreateSurface(pddraw, &sfdesc1, &pddrawsf2, NULL);
srand(GetTicketCount());
- fcn_0044f935();
- fcn_0045175d();
+ create_font_surface();
+ set_pixel_fmt();
mkf_data = load_mkf("data.mkf");
mkf_speaking = load_mkf("speaking.mkf");
mkf_panel = load_mkf("panel.mkf");