-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gamestate: move old state to new folder
- Loading branch information
Showing
66 changed files
with
777 additions
and
629 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
add_sources(libopenage | ||
civilisation.cpp | ||
cost.cpp | ||
game_main.cpp | ||
game_save.cpp | ||
game_spec.cpp | ||
generator.cpp | ||
market.cpp | ||
entity.cpp | ||
game.cpp | ||
player.cpp | ||
population_tracker.cpp | ||
score.cpp | ||
team.cpp | ||
resource.cpp | ||
terrain.cpp | ||
terrain_chunk.cpp | ||
types.cpp | ||
world.cpp | ||
) | ||
|
||
# TODO: remove once migration is done. | ||
add_subdirectory(old/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Copyright 2018-2018 the openage authors. See copying.md for legal info. | ||
|
||
#include "entity.h" | ||
|
||
namespace openage::gamestate { | ||
|
||
} // openage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2018-2018 the openage authors. See copying.md for legal info. | ||
|
||
#pragma once | ||
|
||
namespace openage::gamestate { | ||
|
||
class Entity { | ||
|
||
}; | ||
|
||
} // openage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright 2018-2018 the openage authors. See copying.md for legal info. | ||
|
||
#include "game.h" | ||
|
||
namespace openage::gamestate { | ||
|
||
|
||
} // openage::gamestate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright 2018-2018 the openage authors. See copying.md for legal info. | ||
|
||
#pragma once | ||
|
||
#include "world.h" | ||
|
||
namespace openage::gamestate { | ||
|
||
class Game { | ||
public: | ||
World world; | ||
}; | ||
|
||
} // openage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
add_sources(libopenage | ||
civilisation.cpp | ||
cost.cpp | ||
game_main.cpp | ||
game_save.cpp | ||
game_spec.cpp | ||
generator.cpp | ||
market.cpp | ||
player.cpp | ||
population_tracker.cpp | ||
score.cpp | ||
team.cpp | ||
resource.cpp | ||
) |
6 changes: 3 additions & 3 deletions
6
libopenage/gamestate/civilisation.cpp → libopenage/gamestate/old/civilisation.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
libopenage/gamestate/game_main.cpp → libopenage/gamestate/old/game_main.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
28 changes: 14 additions & 14 deletions
28
libopenage/gamestate/game_spec.cpp → libopenage/gamestate/old/game_spec.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.