This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | _FONT_H_ |
Functions | |
| void | EnterTextMode (int width, int height) |
| void | ExitTextMode () |
| void EnterTextMode | ( | int | width, | |
| int | height | |||
| ) |
Definition at line 16 of file font.cpp.
Referenced by IGameState::DisplaySplashScreen(), IGameState::Loop(), MainMenu::SwitchTo(), Map::SwitchTo(), StateBattle::SwitchTo(), StateDone::SwitchTo(), StateCity::SwitchTo(), and StateNewGame::SwitchTo().
00016 { 00017 glMatrixMode(GL_PROJECTION); 00018 glLoadIdentity(); 00019 00020 gluOrtho2D(0, width, height, 0); 00021 00022 glMatrixMode(GL_MODELVIEW); 00023 glLoadIdentity(); 00024 00025 glBlendFunc(GL_SRC_ALPHA, GL_ONE); 00026 glEnable(GL_TEXTURE_2D); 00027 glEnable(GL_BLEND); 00028 glDisable(GL_LIGHTING); 00029 glDisable(GL_DEPTH_TEST); 00030 glDisable(GL_CULL_FACE); 00031 }
| void ExitTextMode | ( | ) |
1.4.7