Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1571


Ignore:
Timestamp:
Jun 9, 2008, 12:47:40 AM (16 years ago)
Author:
rgrieder
Message:
  • changed console font to Monofur
  • please check whether the character width is OK
  • and UPDATE YOUR MEDIA REPO
Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/console/InGameConsole.cc

    r1540 r1571  
    4747
    4848#define LINES 30
    49 #define CHAR_WIDTH1 7.78 //34 // fix this please - determine the char-width dynamically
    50 #define CHAR_WIDTH2 8.28 // fix this please - determine the char-width dynamically
    51 #define CHAR_WIDTH3 7.80 //78 // fix this please - determine the char-width dynamically
     49#define CHAR_WIDTH1 7.45 //78 //34 // fix this please - determine the char-width dynamically
     50#define CHAR_WIDTH2 CHAR_WIDTH1 //28 // fix this please - determine the char-width dynamically
     51#define CHAR_WIDTH3 CHAR_WIDTH1 //80 //78 // fix this please - determine the char-width dynamically
    5252
    5353namespace orxonox
     
    231231            this->consoleOverlayTextAreas_[i] = static_cast<TextAreaOverlayElement*>(this->om_->createOverlayElement("TextArea", "InGameConsoleTextArea" + Ogre::StringConverter::toString(i)));
    232232            this->consoleOverlayTextAreas_[i]->setMetricsMode(Ogre::GMM_PIXELS);
    233             this->consoleOverlayTextAreas_[i]->setFontName("Console");
     233            this->consoleOverlayTextAreas_[i]->setFontName("Monofur");
    234234            this->consoleOverlayTextAreas_[i]->setCharHeight(18);
    235235            this->consoleOverlayTextAreas_[i]->setParameter("colour_top", "0.21 0.69 0.21");
     
    485485                width += CHAR_WIDTH3;
    486486        }
    487         this->consoleOverlayCursor_->setPosition(width + 5, this->windowH_ * InGameConsole::REL_HEIGHT - 20);
     487        this->consoleOverlayCursor_->setPosition(width + 8, this->windowH_ * InGameConsole::REL_HEIGHT - 20);
    488488    }
    489489
  • code/trunk/visual_studio/base_properties.vsprops

    r1561 r1571  
    88        <Tool
    99                Name="VCCLCompilerTool"
    10                 AdditionalIncludeDirectories="&quot;$(RootDir)&quot;;&quot;$(RootDir)src&quot;;&quot;$(RootDir)src\orxonox&quot;;&quot;$(RootDir)src\tolua&quot;;&quot;$(RootDir)src\ois&quot;;&quot;$(DependencyDir)include&quot;"
     10                AdditionalIncludeDirectories="&quot;$(RootDir)&quot;;&quot;$(RootDir)src&quot;;&quot;$(RootDir)src\orxonox&quot;;&quot;$(RootDir)src\tolua&quot;;&quot;$(RootDir)src\ois&quot;;&quot;$(LibDir)ogre-1.4.8\OgreMain\include&quot;;&quot;$(LibDir)boost-1.35.0&quot;;&quot;$(LibDir)enet-1.2\include&quot;;&quot;$(LibDir)libogg-1.1.3\include&quot;;&quot;$(LibDir)libvorbis-1.2.0\include&quot;;&quot;$(LibDir)lua-5.1.3\src&quot;;&quot;$(LibDir)openal-1.1\include&quot;;&quot;$(LibDir)openal-1.1\alut\include&quot;;&quot;$(LibDir)tcl-8.5.\generic&quot;;&quot;$(LibDir)zlib-1.2.3&quot;"
    1111                PreprocessorDefinitions="WIN32;__WIN32__;_WIN32;BOOST_ALL_DYN_LINK;OIS_DYNAMIC_LIB; ZLIB_WINAPI"
    1212                WarningLevel="3"
     
    3333        <UserMacro
    3434                Name="DependencyDir"
    35                 Value="$(RootDir)..\dependencies\"
     35                Value="$(RootDir)..\lib_precompiled\"
    3636        />
    3737        <UserMacro
     
    4343                Value=""
    4444        />
     45        <UserMacro
     46                Name="LibDir"
     47                Value="$(RootDir)..\lib_src\"
     48        />
    4549</VisualStudioPropertySheet>
Note: See TracChangeset for help on using the changeset viewer.