summaryrefslogtreecommitdiff
path: root/csrc/media_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'csrc/media_init.c')
-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");