From 2ed4415f8e05543a6d16920515d0bcad8ae2bfc0 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Thu, 4 Oct 2018 16:56:07 +0800 Subject: name functions create_font_surface, set_pixel_fmt --- csrc/media_init.c | 8 ++++---- 1 file 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"); -- cgit v1.2.3