1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 11:52:40 +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
loadingstate.cpp
ingamestate.cpp
pausestate.cpp
menustate.cpp
debugstate.cpp
benchmarkstate.cpp
states/LoadingState.hpp
states/LoadingState.cpp
states/IngameState.hpp
states/IngameState.cpp
states/PauseState.hpp
states/PauseState.cpp
states/MenuState.hpp
states/MenuState.cpp
states/DebugState.hpp
states/DebugState.cpp
states/BenchmarkState.hpp
states/BenchmarkState.cpp
DrawUI.cpp
)
@ -31,6 +37,7 @@ include_directories(SYSTEM
${OPENAL_INCLUDE_DIR}
)
include_directories(
"${CMAKE_SOURCE_DIR}/rwgame"
"${CMAKE_SOURCE_DIR}/rwengine/include"
)

View File

@ -1,10 +1,10 @@
#include "RWGame.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 "ingamestate.hpp"
#include "menustate.hpp"
#include "benchmarkstate.hpp"
#include <core/Profiler.hpp>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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