From f6216e9a3a444466807c21ae298db3cdb8d0049a Mon Sep 17 00:00:00 2001 From: Joel de Vahl Date: Tue, 9 Oct 2007 09:04:57 +0000 Subject: Fixed win32 compile. --- src/game/client/menu.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/game/client/menu.cpp') diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp index a106df91..dbcf60ba 100644 --- a/src/game/client/menu.cpp +++ b/src/game/client/menu.cpp @@ -126,6 +126,9 @@ void draw_box(int box_type, gui_tileset_enum tileset, float x, float y, float w, draw_area(tileset, cx, cy, dx-cx, dy-cy, x+w-(dx-cx), y+h-(dy-cy), dx-cx, dy-cy); } +extern "C" +{ + struct pretty_font { float m_CharStartTable[256]; @@ -135,6 +138,8 @@ struct pretty_font extern pretty_font *current_font; +} + extern void render_sun(float x, float y); extern void select_sprite(int id, int flags=0, int sx=0, int sy=0); extern void draw_sprite(float x, float y, float size); @@ -1263,7 +1268,7 @@ static int ingame_main_render() return 0; } -extern double extra_kerning[256*256]; +extern "C" double extra_kerning[256*256]; static int kerning_render() { -- cgit 1.4.1