Changeset 7908 for code/forks/sandbox_light/src/orxonox
- Timestamp:
- Feb 17, 2011, 5:47:22 AM (14 years ago)
- Location:
- code/forks/sandbox_light/src/orxonox
- Files:
-
- 37 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/forks/sandbox_light/src/orxonox/CMakeLists.txt
r7648 r7908 24 24 25 25 SET_SOURCE_FILES(ORXONOX_SRC_FILES 26 Level.cc27 LevelInfo.cc28 LevelManager.cc29 26 Main.cc 30 MoodManager.cc31 PawnManager.cc32 PlayerManager.cc33 Radar.cc34 ChatHistory.cc35 ChatInputHandler.cc36 # Test.cc37 COMPILATION_BEGIN SceneCompilation.cc38 CameraManager.cc39 Scene.cc40 COMPILATION_END41 27 ) 42 43 ADD_SUBDIRECTORY(collisionshapes)44 ADD_SUBDIRECTORY(controllers)45 ADD_SUBDIRECTORY(gamestates)46 ADD_SUBDIRECTORY(gametypes)47 ADD_SUBDIRECTORY(graphics)48 ADD_SUBDIRECTORY(infos)49 ADD_SUBDIRECTORY(interfaces)50 ADD_SUBDIRECTORY(items)51 ADD_SUBDIRECTORY(overlays)52 ADD_SUBDIRECTORY(pickup)53 ADD_SUBDIRECTORY(sound)54 ADD_SUBDIRECTORY(weaponsystem)55 ADD_SUBDIRECTORY(worldentities)56 28 57 29 ORXONOX_ADD_LIBRARY(orxonox 58 30 FIND_HEADER_FILES 59 TOLUA_FILES60 ChatInputHandler.h61 LevelInfo.h62 LevelManager.h63 MoodManager.h64 controllers/HumanController.h65 infos/PlayerInfo.h66 sound/SoundManager.h67 31 PCH_FILE 68 32 OrxonoxPrecompiledHeaders.h … … 70 34 ${Boost_FILESYSTEM_LIBRARY} 71 35 ${Boost_SYSTEM_LIBRARY} # Filesystem dependency 72 ${Boost_THREAD_LIBRARY}73 ${Boost_DATE_TIME_LIBRARY} # Thread dependency74 ${OGRE_LIBRARY}75 ${OPENAL_LIBRARY}76 ${ALUT_LIBRARY}77 ${VORBISFILE_LIBRARY}78 ${VORBIS_LIBRARY}79 ${OGG_LIBRARY}80 tinyxml_orxonox81 tolua_orxonox82 bullet_orxonox83 36 util 84 37 core 85 network86 tools87 38 SOURCE_FILES ${ORXONOX_SRC_FILES} 88 39 ) -
code/forks/sandbox_light/src/orxonox/Main.cc
r7801 r7908 37 37 38 38 #include "core/CommandLineParser.h" 39 #include "core/Game.h" 40 #include "core/LuaState.h" 41 #include "ToluaBindOrxonox.h" 42 #include "ToluaBindNetwork.h" 43 44 DeclareToluaInterface(Orxonox); 45 DeclareToluaInterface(Network); 39 #include "core/Core.h" 46 40 47 41 namespace orxonox 48 42 { 49 SetCommandLineSwitch(console).information("Start in console mode (text IO only)");50 SetCommandLineSwitch(server).information("Start in server mode");51 SetCommandLineSwitch(client).information("Start in client mode");52 SetCommandLineSwitch(dedicated).information("Start in dedicated server mode");53 SetCommandLineSwitch(standalone).information("Start in standalone mode");54 SetCommandLineSwitch(dedicatedClient).information("Start in dedicated client mode");55 56 /* ADD masterserver command */57 SetCommandLineSwitch(masterserver).information("Start in masterserver mode");58 59 43 SetCommandLineArgument(generateDoc, "") 60 44 .information("Generates a Doxygen file from things like SetConsoleCommand"); … … 66 50 int main(const std::string& strCmdLine) 67 51 { 68 Game* game = new Game(strCmdLine);52 Core* core = new Core(strCmdLine); 69 53 70 54 if (CommandLineParser::getValue("generateDoc").getString().empty()) 71 55 { 72 /* TODO make this clear */ 73 game->setStateHierarchy( 74 "root" 75 " graphics" 76 " mainMenu" 77 " standalone,server,client" 78 " level" 79 " server,client,masterserver" 80 " level" 81 ); 82 83 game->requestState("root"); 84 85 // Some development hacks (not really, but in the future, these calls won't make sense anymore) 86 if (CommandLineParser::getValue("standalone").getBool()) 87 Game::getInstance().requestStates("graphics, standalone, level"); 88 else if (CommandLineParser::getValue("server").getBool()) 89 Game::getInstance().requestStates("graphics, server, level"); 90 else if (CommandLineParser::getValue("client").getBool()) 91 Game::getInstance().requestStates("graphics, client, level"); 92 else if (CommandLineParser::getValue("dedicated").getBool()) 93 Game::getInstance().requestStates("server, level"); 94 else if (CommandLineParser::getValue("dedicatedClient").getBool()) 95 Game::getInstance().requestStates("client, level"); 96 /* ADD masterserver command */ 97 else if (CommandLineParser::getValue("masterserver").getBool()) 98 Game::getInstance().requestStates("masterserver"); 99 else 100 { 101 if (!CommandLineParser::getValue("console").getBool()) 102 Game::getInstance().requestStates("graphics, mainMenu"); 103 } 104 105 game->run(); 56 // Start your program here 106 57 } 107 58 108 delete game;59 delete core; 109 60 110 61 return 0; -
code/forks/sandbox_light/src/orxonox/OrxonoxPrecompiledHeaders.h
r7284 r7908 38 38 #include "OrxonoxConfig.h" 39 39 40 ///////////////////////////////////////////41 ///// Stable Headers /////42 ///////////////////////////////////////////43 44 #include <cassert> // 8745 #include <cstring> // 8746 #include <fstream> // 8747 #include <iostream> // 8748 #include <map> // 8749 #include <set> // 8750 #include <sstream> // 8751 #include <string> // 8752 #include <vector> // 8753 #include <list> // 8654 #include <ctime> // 8255 #include <cmath> // 8156 #include <deque> // 8157 #include <queue> // 8158 59 #include <OgreMath.h> // 8160 #include <OgreVector2.h> // 8161 #include <OgreVector3.h> // 8162 #include <OgreVector4.h> // 8163 #include <OgreQuaternion.h> // 8164 #include <OgreColourValue.h> // 8165 66 #include "util/OgreForwardRefs.h" // 6767 #include <LinearMath/btMotionState.h> // 6068 #include "util/SubString.h" // 5569 #include <tinyxml/ticpp.h> // 4170 71 //#include <OgreRenderable.h> // 14, 5.1MB72 //#include <OgreSceneNode.h> // 13, 1MB73 //#include <OgreResourceGroupManager.h> // 12, 1.5MB74 //#include <OgreTexture.h> // 11, 0.6MB75 //#include <OgreMovableObject.h> // 10, 1.6MB76 //#include <OgreSceneManager.h> // 9, 8.7MB77 78 ///////////////////////////////////////////79 ///// All Rebuild Headers /////80 ///////////////////////////////////////////81 82 #include "core/BaseObject.h" // 8283 #include "core/CoreIncludes.h" // 8084 85 ///////////////////////////////////////////86 ///// Not so Stable Headers /////87 ///////////////////////////////////////////88 89 #include "network/synchronisable/Synchronisable.h" // 7090 #include "util/MultiType.h" // 6591 #include "core/command/Executor.h" // 5592 //#include "core/XMLPort.h" // 4193 94 95 40 // Just in case some header included windows.h 96 41 #undef min -
code/forks/sandbox_light/src/orxonox/OrxonoxPrereqs.h
r7854 r7908 37 37 38 38 #include "OrxonoxConfig.h" 39 #include "tools/ToolsPrereqs.h"40 39 41 40 //----------------------------------------------------------------------- … … 65 64 namespace orxonox 66 65 { 67 class CameraManager;68 class Level;69 class LevelInfo;70 class LevelInfoItem;71 class LevelManager;72 class PawnManager;73 class PlayerManager;74 class Radar;75 class Scene;76 77 // collisionshapes78 class CollisionShape;79 class CompoundCollisionShape;80 class WorldEntityCollisionShape;81 82 // controllers83 class AIController;84 class ArtificialController;85 class Controller;86 class DroneController;87 class HumanController;88 class ScriptController;89 class WaypointController;90 class WaypointPatrolController;91 92 // gametypes93 class Asteroids;94 class Deathmatch;95 class Dynamicmatch;96 class Gametype;97 class LastManStanding;98 class TeamBaseMatch;99 class TeamDeathmatch;100 class UnderAttack;101 102 // graphics103 class Backlight;104 class Billboard;105 class BlinkingBillboard;106 class Camera;107 class FadingBillboard;108 class GlobalShader;109 class Light;110 class Model;111 class ParticleEmitter;112 class ParticleSpawner;113 114 // infos115 class Bot;116 class GametypeInfo;117 class HumanPlayer;118 class Info;119 class PlayerInfo;120 121 // interfaces122 class GametypeMessageListener;123 class NotificationListener;124 class Pickupable;125 class PickupCarrier;126 class PlayerTrigger;127 class RadarListener;128 class RadarViewable;129 class Rewardable;130 class TeamColourable;131 132 // items133 class Engine;134 class Item;135 class MultiStateEngine;136 137 // overlays138 class InGameConsole;139 class Map;140 class OrxonoxOverlay;141 class OverlayGroup;142 143 // pickup144 class PickupIdentifier;145 146 //sound147 class AmbientSound;148 class BaseSound;149 class SoundBuffer;150 class SoundManager;151 class SoundStreamer;152 class WorldSound;153 class WorldAmbientSound;154 155 // weaponsystem156 class DefaultWeaponmodeLink;157 class Munition;158 class Weapon;159 class WeaponMode;160 class WeaponPack;161 class WeaponSet;162 class WeaponSlot;163 class WeaponSystem;164 165 // worldentities166 class BigExplosion;167 class CameraPosition;168 class ControllableEntity;169 class Drone;170 class EffectContainer;171 class ExplosionChunk;172 class MobileEntity;173 class MovableEntity;174 class SpawnPoint;175 class StaticEntity;176 class TeamSpawnPoint;177 class WorldEntity;178 class Rocket;179 // worldentities, pawns180 class Destroyer;181 class Pawn;182 class SpaceShip;183 class Spectator;184 class TeamBaseMatchBase;185 66 } 186 67 187 // Bullet Physics Engine188 class btTransform;189 class btVector3;190 191 class btRigidBody;192 class btCollisionObject;193 class btGhostObject;194 class btManifoldPoint;195 196 class btCollisionShape;197 class btSphereShape;198 class btCompoundShape;199 class btStaticPlaneShape;200 201 class btDiscreteDynamicsWorld;202 class bt32BitAxisSweep3;203 class btDefaultCollisionConfiguration;204 class btCollisionDispatcher;205 class btSequentialImpulseConstraintSolver;206 207 // ALUT208 typedef struct ALCcontext_struct ALCcontext;209 typedef struct ALCdevice_struct ALCdevice;210 typedef unsigned int ALuint;211 typedef int ALint;212 typedef int ALenum;213 214 68 #endif /* _OrxonoxPrereqs_H__ */
Note: See TracChangeset
for help on using the changeset viewer.