1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00

Move game state classes into states folder

This commit is contained in:
Daniel Evans 2016-07-02 19:49:31 +01:00
parent 85b24231f5
commit a0b995c97e
14 changed files with 26 additions and 19 deletions

View File

@ -13,12 +13,18 @@ set(RWGAME_SOURCES
State.cpp State.cpp
loadingstate.cpp states/LoadingState.hpp
ingamestate.cpp states/LoadingState.cpp
pausestate.cpp states/IngameState.hpp
menustate.cpp states/IngameState.cpp
debugstate.cpp states/PauseState.hpp
benchmarkstate.cpp states/PauseState.cpp
states/MenuState.hpp
states/MenuState.cpp
states/DebugState.hpp
states/DebugState.cpp
states/BenchmarkState.hpp
states/BenchmarkState.cpp
DrawUI.cpp DrawUI.cpp
) )
@ -31,6 +37,7 @@ include_directories(SYSTEM
${OPENAL_INCLUDE_DIR} ${OPENAL_INCLUDE_DIR}
) )
include_directories( include_directories(
"${CMAKE_SOURCE_DIR}/rwgame"
"${CMAKE_SOURCE_DIR}/rwengine/include" "${CMAKE_SOURCE_DIR}/rwengine/include"
) )

View File

@ -1,10 +1,10 @@
#include "RWGame.hpp" #include "RWGame.hpp"
#include "State.hpp" #include "State.hpp"
#include "loadingstate.hpp" #include "states/LoadingState.hpp"
#include "states/IngameState.hpp"
#include "states/MenuState.hpp"
#include "states/BenchmarkState.hpp"
#include "DrawUI.hpp" #include "DrawUI.hpp"
#include "ingamestate.hpp"
#include "menustate.hpp"
#include "benchmarkstate.hpp"
#include <core/Profiler.hpp> #include <core/Profiler.hpp>

View File

@ -1,4 +1,4 @@
#include "benchmarkstate.hpp" #include "BenchmarkState.hpp"
#include "RWGame.hpp" #include "RWGame.hpp"
#include <engine/GameState.hpp> #include <engine/GameState.hpp>
#include <fstream> #include <fstream>

View File

@ -1,4 +1,4 @@
#include "debugstate.hpp" #include "DebugState.hpp"
#include "RWGame.hpp" #include "RWGame.hpp"
#include <ai/PlayerController.hpp> #include <ai/PlayerController.hpp>
#include <objects/CharacterObject.hpp> #include <objects/CharacterObject.hpp>

View File

@ -1,7 +1,7 @@
#include "ingamestate.hpp" #include "IngameState.hpp"
#include "RWGame.hpp" #include "RWGame.hpp"
#include "pausestate.hpp" #include "PauseState.hpp"
#include "debugstate.hpp" #include "DebugState.hpp"
#include "DrawUI.hpp" #include "DrawUI.hpp"
#include <ai/PlayerController.hpp> #include <ai/PlayerController.hpp>

View File

@ -1,4 +1,4 @@
#include "loadingstate.hpp" #include "LoadingState.hpp"
#include "RWGame.hpp" #include "RWGame.hpp"
#include <render/OpenGLRenderer.hpp> #include <render/OpenGLRenderer.hpp>

View File

@ -1,6 +1,6 @@
#include "menustate.hpp" #include "MenuState.hpp"
#include "game.hpp" #include "game.hpp"
#include "ingamestate.hpp" #include "IngameState.hpp"
#include "RWGame.hpp" #include "RWGame.hpp"
#include <engine/SaveGame.hpp> #include <engine/SaveGame.hpp>

View File

@ -1,4 +1,4 @@
#include "pausestate.hpp" #include "PauseState.hpp"
#include "RWGame.hpp" #include "RWGame.hpp"
#include <ai/PlayerController.hpp> #include <ai/PlayerController.hpp>
#include <objects/CharacterObject.hpp> #include <objects/CharacterObject.hpp>