#include <Screen.h>
Public Member Functions | |
| void | drawLevel (int texture, GLfloat texCoords[4], SDL_Rect quad) | 
| void | drawScreen (int texture, GLfloat texCoords[4], SDL_Rect quad) | 
| void | drawCutScene (std::string cutSceneText) | 
| void | move (int x, int y) | 
| void | update () | 
| void | registerFollowObj (Object *o) | 
| Object * | getFollowObj () | 
| SDL_Rect | getScreenRect () | 
Static Public Member Functions | |
| static Screen * | instance () | 
Static Public Attributes | |
| static const int | FRAMERATE = 60 | 
Private Member Functions | |
| Screen () | |
Private Attributes | |
| SDL_Rect | _screen | 
| SDL_Rect | _center | 
| Object * | _followMe | 
Static Private Attributes | |
| static Screen * | _instance = NULL | 
| static const int | CSFRAC = 5 | 
| static const int | HEIGHT = 760 | 
| static const int | WIDTH = 1024 | 
Definition at line 11 of file Screen.h.
      
  | 
  
| 
 
 Definition at line 11 of file Screen.cpp. References _center, _screen, HEIGHT, glfuncs::instance(), and WIDTH. Referenced by instance().  | 
  
      
  | 
  
| 
 
 Definition at line 133 of file Screen.cpp. References _screen, CSFRAC, glfuncs::glPrint(), and glfuncs::instance().  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 99 of file Screen.cpp. References _screen, glfuncs::instance(), and glfuncs::intersect(). Referenced by Sprite::draw().  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 117 of file Screen.cpp. References glfuncs::instance(). Referenced by Sprite::draw(), and main().  | 
  
      
  | 
  
| 
 
 Definition at line 25 of file Screen.h. References _followMe.  | 
  
      
  | 
  
| 
 
 Definition at line 27 of file Screen.h. References _screen. Referenced by Background::draw(), main(), and Bullet::update().  | 
  
      
  | 
  
| 
 
 Definition at line 92 of file Screen.cpp. References _instance, and Screen(). Referenced by Camera::control(), Sprite::draw(), Background::draw(), SetCameraCommand::execute(), Level::levelLoad(), main(), and Bullet::update().  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 167 of file Screen.cpp. References _center, and _screen. Referenced by Camera::control(), and update().  | 
  
      
  | 
  
| 
 
 Definition at line 162 of file Screen.cpp. References _followMe. Referenced by SetCameraCommand::execute(), and Level::levelLoad().  | 
  
      
  | 
  
| 
 
 Definition at line 176 of file Screen.cpp. References _center, _followMe, Object::getBox(), glfuncs::intersectX(), glfuncs::intersectY(), and move().  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
 Definition at line 37 of file Screen.h. Referenced by getFollowObj(), registerFollowObj(), and update().  | 
  
      
  | 
  
| 
 
 Definition at line 32 of file Screen.h. Referenced by instance().  | 
  
      
  | 
  
| 
 
 Definition at line 33 of file Screen.h. Referenced by drawCutScene(), drawLevel(), getScreenRect(), move(), and Screen().  | 
  
      
  | 
  
| 
 
 Definition at line 40 of file Screen.h. Referenced by drawCutScene().  | 
  
      
  | 
  
| 
 
 Definition at line 29 of file Screen.h. Referenced by main(), Person::update(), and Bullet::update().  | 
  
      
  | 
  
| 
 
 Definition at line 42 of file Screen.h. Referenced by Screen().  | 
  
      
  | 
  
| 
 
 Definition at line 43 of file Screen.h. Referenced by Screen().  | 
  
 1.4.6-NO