From: Ricardo Cruz Date: Fri, 7 May 2004 13:46:50 +0000 (+0000) Subject: Added support for silver's Benjamin font. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=972b624ee371fb5e4b418aa482a92c555c1a3abd;p=supertux.git Added support for silver's Benjamin font. SVN-Revision: 1025 --- diff --git a/src/globals.cpp b/src/globals.cpp index af26b8438..1da3e4a4b 100644 --- a/src/globals.cpp +++ b/src/globals.cpp @@ -40,6 +40,7 @@ JoystickKeymap joystick_keymap; SDL_Surface * screen; Text* black_text; Text* gold_text; +Text* silver_text; Text* blue_text; Text* red_text; Text* green_text; diff --git a/src/globals.h b/src/globals.h index b4b27af29..0dcb117ba 100644 --- a/src/globals.h +++ b/src/globals.h @@ -49,6 +49,7 @@ extern JoystickKeymap joystick_keymap; extern SDL_Surface * screen; extern Text* black_text; extern Text* gold_text; +extern Text* silver_text; extern Text* white_text; extern Text* white_small_text; extern Text* white_big_text; diff --git a/src/setup.cpp b/src/setup.cpp index 5465cf02e..ef7766738 100644 --- a/src/setup.cpp +++ b/src/setup.cpp @@ -583,6 +583,7 @@ void st_general_setup(void) black_text = new Text(datadir + "/images/status/letters-black.png", TEXT_TEXT, 16,18); gold_text = new Text(datadir + "/images/status/letters-gold.png", TEXT_TEXT, 16,18); + silver_text = new Text(datadir + "/images/status/letters-silver.png", TEXT_TEXT, 16,18); blue_text = new Text(datadir + "/images/status/letters-blue.png", TEXT_TEXT, 16,18); red_text = new Text(datadir + "/images/status/letters-red.png", TEXT_TEXT, 16,18); green_text = new Text(datadir + "/images/status/letters-green.png", TEXT_TEXT, 16,18); @@ -609,6 +610,7 @@ void st_general_free(void) /* Free global images: */ delete black_text; delete gold_text; + delete silver_text; delete white_text; delete blue_text; delete red_text;