Changeset 2104 in orxonox.OLD for orxonox/branches
- Timestamp:
- Jul 10, 2004, 3:07:42 PM (20 years ago)
- Location:
- orxonox/branches/chris/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/src/orxonox.cc
r2101 r2104 51 51 /* this is a singleton class to prevent duplicates */ 52 52 Orxonox* Orxonox::singleton_ref = 0; 53 World* Orxonox::world = 0;54 bool Orxonox::pause = false;55 56 53 57 54 Orxonox* Orxonox::getInstance (void) -
orxonox/branches/chris/src/orxonox.h
r2100 r2104 20 20 ~Orxonox (); 21 21 22 staticchar configfilename[256];23 staticWorld* world;24 staticDataTank* resources;25 staticCommandNode* localinput;26 staticCamera* localcamera;27 staticSDL_Surface* screen;22 char configfilename[256]; 23 World* world; 24 DataTank* resources; 25 CommandNode* localinput; 26 Camera* localcamera; 27 SDL_Surface* screen; 28 28 29 staticbool bQuitOrxonox;30 staticbool pause;31 staticUint32 lastframe;29 bool bQuitOrxonox; 30 bool pause; 31 Uint32 lastframe; 32 32 33 staticvoid get_config_file (int argc, char** argv);33 void get_config_file (int argc, char** argv); 34 34 35 35 // main loop functions 36 staticvoid synchronize ();37 staticvoid handle_input ();38 staticvoid time_slice ();39 staticvoid collision ();40 staticvoid display ();36 void synchronize (); 37 void handle_input (); 38 void time_slice (); 39 void collision (); 40 void display (); 41 41 42 42 // subsystem initialization … … 50 50 public: 51 51 static Orxonox* getInstance (); 52 staticvoid quitGame();52 void quitGame(); 53 53 54 staticvoid event_handler (SDL_Event* event);54 void event_handler (SDL_Event* event); 55 55 56 56 int init (int argc, char** argv); -
orxonox/branches/chris/src/world.cc
r2101 r2104 196 196 orx->get_camera()->bind (myPlayer); 197 197 } 198 199 void World::calc_camera_pos (Location* loc, Placement* plc) 200 { 201 track[loc->part].map_camera (loc, plc); 202 } -
orxonox/branches/chris/src/world_entity.cc
r2101 r2104 122 122 } 123 123 124 void WorldEntity::post_spawn () 125 { 126 } 127 128 void WorldEntity::command (Command* cmd) 129 { 130 } 131 132 void WorldEntity::get_lookat (Location* locbuf) 133 { 134 } 135 136 void WorldEntity::left_world () 137 { 138 }
Note: See TracChangeset
for help on using the changeset viewer.