Added support for silver's Benjamin font.
authorRicardo Cruz <rick2@aeiou.pt>
Fri, 7 May 2004 13:46:50 +0000 (13:46 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Fri, 7 May 2004 13:46:50 +0000 (13:46 +0000)
SVN-Revision: 1025

src/globals.cpp
src/globals.h
src/setup.cpp

index af26b84..1da3e4a 100644 (file)
@@ -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;
index b4b27af..0dcb117 100644 (file)
@@ -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;
index 5465cf0..ef77667 100644 (file)
@@ -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;