Changeset 7421 for sandbox_qt/src/orxonox
- Timestamp:
- Sep 12, 2010, 12:47:30 AM (14 years ago)
- Location:
- sandbox_qt/src/orxonox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox_qt/src/orxonox/CMakeLists.txt
r7401 r7421 24 24 25 25 SET_SOURCE_FILES(ORXONOX_SRC_FILES 26 Level.cc27 LevelManager.cc28 26 Main.cc 29 MoodManager.cc30 PawnManager.cc31 PlayerManager.cc32 Radar.cc33 ChatHistory.cc34 ChatInputHandler.cc35 # Test.cc36 COMPILATION_BEGIN SceneCompilation.cc37 CameraManager.cc38 Scene.cc39 COMPILATION_END40 27 ) 41 28 42 ADD_SUBDIRECTORY(collisionshapes) 43 ADD_SUBDIRECTORY(controllers) 44 ADD_SUBDIRECTORY(gamestates) 45 ADD_SUBDIRECTORY(gametypes) 46 ADD_SUBDIRECTORY(graphics) 47 ADD_SUBDIRECTORY(infos) 48 ADD_SUBDIRECTORY(interfaces) 49 ADD_SUBDIRECTORY(items) 50 ADD_SUBDIRECTORY(overlays) 51 ADD_SUBDIRECTORY(pickup) 52 ADD_SUBDIRECTORY(sound) 53 ADD_SUBDIRECTORY(weaponsystem) 54 ADD_SUBDIRECTORY(worldentities) 29 #ADD_SUBDIRECTORY(subdir) 55 30 56 31 ORXONOX_ADD_LIBRARY(orxonox 57 32 FIND_HEADER_FILES 58 TOLUA_FILES59 ChatInputHandler.h60 LevelManager.h61 MoodManager.h62 controllers/HumanController.h63 interfaces/Pickupable.h64 infos/PlayerInfo.h65 sound/SoundManager.h66 PCH_FILE67 OrxonoxPrecompiledHeaders.h68 33 LINK_LIBRARIES 69 ${Boost_FILESYSTEM_LIBRARY} 70 ${Boost_SYSTEM_LIBRARY} # Filesystem dependency 71 ${Boost_THREAD_LIBRARY} 72 ${Boost_DATE_TIME_LIBRARY} # Thread dependency 73 ${OGRE_LIBRARY} 74 ${OPENAL_LIBRARY} 75 ${ALUT_LIBRARY} 76 ${VORBISFILE_LIBRARY} 77 ${VORBIS_LIBRARY} 78 ${OGG_LIBRARY} 79 tinyxml_orxonox 80 tolua_orxonox 81 bullet_orxonox 34 ${QT_QTCORE_LIBRARY} 82 35 util 83 36 core 84 network85 tools86 37 SOURCE_FILES ${ORXONOX_SRC_FILES} 87 38 ) -
sandbox_qt/src/orxonox/Main.cc
r7401 r7421 36 36 #include "OrxonoxPrereqs.h" 37 37 38 #include "core/CommandLineParser.h"39 38 #include "core/Game.h" 40 #include "core/LuaState.h"41 #include "ToluaBindOrxonox.h"42 #include "ToluaBindNetwork.h"43 39 #include "Main.h" 44 45 DeclareToluaInterface(Orxonox);46 DeclareToluaInterface(Network);47 40 48 41 namespace orxonox 49 42 { 50 SetCommandLineSwitch(console).information("Start in console mode (text IO only)");51 SetCommandLineSwitch(server).information("Start in server mode");52 SetCommandLineSwitch(client).information("Start in client mode");53 SetCommandLineSwitch(dedicated).information("Start in dedicated server mode");54 SetCommandLineSwitch(standalone).information("Start in standalone mode");55 SetCommandLineSwitch(dedicatedClient).information("Start in dedicated client mode");56 57 SetCommandLineArgument(generateDoc, "")58 .information("Generates a Doxygen file from things like SetConsoleCommand");59 60 43 /** 61 44 @brief … … 66 49 Game* game = new Game(strCmdLine); 67 50 68 if (CommandLineParser::getValue("generateDoc").getString().empty()) 69 { 70 game->setStateHierarchy( 71 "root" 72 " graphics" 73 " mainMenu" 74 " standalone,server,client" 75 " level" 76 " server,client" 77 " level" 78 ); 79 80 game->requestState("root"); 81 82 // Some development hacks (not really, but in the future, these calls won't make sense anymore) 83 if (CommandLineParser::getValue("standalone").getBool()) 84 Game::getInstance().requestStates("graphics, standalone, level"); 85 else if (CommandLineParser::getValue("server").getBool()) 86 Game::getInstance().requestStates("graphics, server, level"); 87 else if (CommandLineParser::getValue("client").getBool()) 88 Game::getInstance().requestStates("graphics, client, level"); 89 else if (CommandLineParser::getValue("dedicated").getBool()) 90 Game::getInstance().requestStates("server, level"); 91 else if (CommandLineParser::getValue("dedicatedClient").getBool()) 92 Game::getInstance().requestStates("client, level"); 93 else 94 { 95 if (!CommandLineParser::getValue("console").getBool()) 96 Game::getInstance().requestStates("graphics, mainMenu"); 97 } 98 99 game->run(); 100 } 51 //if (CommandLineParser::getValue("generateDoc").getString().empty()) 52 // game->run(); 101 53 102 54 delete game; -
sandbox_qt/src/orxonox/OrxonoxPrereqs.h
r7163 r7421 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 LevelManager;70 class PawnManager;71 class PlayerManager;72 class Radar;73 class Scene;74 75 // collisionshapes76 class CollisionShape;77 class CompoundCollisionShape;78 class WorldEntityCollisionShape;79 80 // controllers81 class AIController;82 class ArtificialController;83 class Controller;84 class DroneController;85 class HumanController;86 class ScriptController;87 class WaypointController;88 class WaypointPatrolController;89 90 // gametypes91 class Asteroids;92 class Deathmatch;93 class Dynamicmatch;94 class Gametype;95 class TeamBaseMatch;96 class TeamDeathmatch;97 class UnderAttack;98 99 // graphics100 class Backlight;101 class Billboard;102 class BlinkingBillboard;103 class Camera;104 class FadingBillboard;105 class GlobalShader;106 class Light;107 class Model;108 class ParticleEmitter;109 class ParticleSpawner;110 111 // infos112 class Bot;113 class GametypeInfo;114 class HumanPlayer;115 class Info;116 class PlayerInfo;117 118 // interfaces119 class GametypeMessageListener;120 class NotificationListener;121 class Pickupable;122 class PickupCarrier;123 class PlayerTrigger;124 class RadarListener;125 class RadarViewable;126 class Rewardable;127 class TeamColourable;128 129 // items130 class Engine;131 class Item;132 class MultiStateEngine;133 134 // overlays135 class InGameConsole;136 class Map;137 class OrxonoxOverlay;138 class OverlayGroup;139 140 // pickup141 class PickupIdentifier;142 143 //sound144 class AmbientSound;145 class BaseSound;146 class SoundBuffer;147 class SoundManager;148 class SoundStreamer;149 class WorldSound;150 151 // weaponsystem152 class DefaultWeaponmodeLink;153 class Munition;154 class Weapon;155 class WeaponMode;156 class WeaponPack;157 class WeaponSet;158 class WeaponSlot;159 class WeaponSystem;160 161 // worldentities162 class BigExplosion;163 class CameraPosition;164 class ControllableEntity;165 class Drone;166 class EffectContainer;167 class ExplosionChunk;168 class MobileEntity;169 class MovableEntity;170 class SpawnPoint;171 class StaticEntity;172 class TeamSpawnPoint;173 class WorldEntity;174 class Rocket;175 // worldentities, pawns176 class Destroyer;177 class Pawn;178 class SpaceShip;179 class Spectator;180 class TeamBaseMatchBase;181 66 } 182 67 183 // Bullet Physics Engine184 class btTransform;185 class btVector3;186 187 class btRigidBody;188 class btCollisionObject;189 class btGhostObject;190 class btManifoldPoint;191 192 class btCollisionShape;193 class btSphereShape;194 class btCompoundShape;195 class btStaticPlaneShape;196 197 class btDiscreteDynamicsWorld;198 class bt32BitAxisSweep3;199 class btDefaultCollisionConfiguration;200 class btCollisionDispatcher;201 class btSequentialImpulseConstraintSolver;202 203 // ALUT204 typedef struct ALCcontext_struct ALCcontext;205 typedef struct ALCdevice_struct ALCdevice;206 typedef unsigned int ALuint;207 typedef int ALint;208 typedef int ALenum;209 210 68 #endif /* _OrxonoxPrereqs_H__ */
Note: See TracChangeset
for help on using the changeset viewer.