- Timestamp:
- Apr 1, 2005, 12:11:24 AM (20 years ago)
- Location:
- orxonox/branches/textEngine
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/config.h.in
r3702 r3707 58 58 /* Define to 1 if you have the <SDL_image.h> header file. */ 59 59 #undef HAVE_SDL_IMAGE_H 60 61 /* Define to 1 if you have the <SDL/SDL.h> header file. */62 #undef HAVE_SDL_SDL_H63 60 64 61 /* Define to 1 if you have the <SDL_ttf.h> header file. */ -
orxonox/branches/textEngine/configure
r3702 r3707 4132 4132 echo "mingw-WINDOWS detected" 4133 4133 4134 CPPFLAGS="-I/usr/include/SDL -I/mingw/include/SDL" 4135 4134 4136 mingw="yes" 4135 4137 MSBITFIELDS="-mms-bitfields" … … 4738 4740 # checking for SDL-headers 4739 4741 4740 for ac_header in SDL /SDL.h4742 for ac_header in SDL.h 4741 4743 do 4742 4744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -
orxonox/branches/textEngine/src/lib/graphics/font/glfont.h
r3701 r3707 12 12 13 13 /* some default values */ 14 #define FONT_DEFAULT_SIZE 18//!< default size of the Text14 #define FONT_DEFAULT_SIZE 50 //!< default size of the Text 15 15 #define FONT_DEFAULT_TEXT "orxonox 1234567890" //!< some default text to display 16 16 #define FONT_DEFAULT_COLOR_R 256 //!< the default red part (color) of the text -
orxonox/branches/textEngine/src/story_entities/world.cc
r3701 r3707 203 203 testFont = new FontSet(); 204 204 testFont->buildFont("../data/pictures/font.tga"); 205 tmpFont = new GLFont("../data/fonts/ refluxed.ttf");205 tmpFont = new GLFont("../data/fonts/dark_crystal.ttf"); 206 206 this->glmis->step(); 207 207 // initializing the TrackManager … … 747 747 { 748 748 float fps = 1000/dt; 749 PRINTF(0)("fps = %f\n", fps); 749 750 // temporary, only for showing how fast the text-engine is 750 751 char tmpChar[20]; 751 sprintf(tmpChar, "fps: % d", rand());752 sprintf(tmpChar, "fps: %4.0f", fps); 752 753 tmpFont->setText(tmpChar); 753 754 tmpFont->createTexture();
Note: See TracChangeset
for help on using the changeset viewer.