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:
parent
85b24231f5
commit
a0b995c97e
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -1,4 +1,4 @@
|
|||||||
#include "loadingstate.hpp"
|
#include "LoadingState.hpp"
|
||||||
#include "RWGame.hpp"
|
#include "RWGame.hpp"
|
||||||
#include <render/OpenGLRenderer.hpp>
|
#include <render/OpenGLRenderer.hpp>
|
||||||
|
|
@ -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>
|
@ -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>
|
Loading…
Reference in New Issue
Block a user