aboutsummaryrefslogtreecommitdiff
path: root/game/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'game/CMakeLists.txt')
-rw-r--r--game/CMakeLists.txt53
1 files changed, 47 insertions, 6 deletions
diff --git a/game/CMakeLists.txt b/game/CMakeLists.txt
index 0955985..ef82339 100644
--- a/game/CMakeLists.txt
+++ b/game/CMakeLists.txt
@@ -8,6 +8,7 @@ project(game C CXX)
add_subdirectory(../src crepe)
add_executable(main
+ # enemy
enemy/BattleScript.cpp
enemy/EnemyPool.cpp
enemy/EnemyBulletScript.cpp
@@ -15,29 +16,61 @@ add_executable(main
enemy/EnemyBulletPool.cpp
enemy/EnemySubScene.cpp
enemy/EnemyScript.cpp
+
+ #background
background/AquariumSubScene.cpp
background/AquariumScript.cpp
background/BackgroundSubScene.cpp
background/ForestParallaxScript.cpp
background/ForestSubScene.cpp
- GameScene.cpp
background/HallwaySubScene.cpp
+ background/StartSubScene.cpp
background/HallwayScript.cpp
+
+ # mainscenes
+ GameScene.cpp
+ menus/shop/ShopMenuScene.cpp
+ menus/mainmenu/MainMenuScene.cpp
+ PreviewScene.cpp
+ main.cpp
+
+ # missile
+ missile/MissilePool.cpp
+ missile/MissileScript.cpp
+ missile/MissileSubScene.cpp
+ missile/SpawnEvent.cpp
+
+ #scheduling
+ scheduler/ObjectsScheduler.cpp
+
+ # Preview
+ preview/SmokeSubScene.cpp
+ preview/NpcSubScene.cpp
+ preview/NpcScript.cpp
+ preview/PrevPlayerSubScene.cpp
+ preview/PrevPlayerScript.cpp
+
+ # scripts
+ GameScene.cpp
MoveCameraManualyScript.cpp
+ StartGameScript.cpp
+
+ # player
player/PlayerScript.cpp
player/PlayerSubScene.cpp
player/PlayerBulletPool.cpp
player/PlayerBulletScript.cpp
player/PlayerBulletSubScene.cpp
- StartGameScript.cpp
player/PlayerEndScript.cpp
player/PlayerAudioScript.cpp
- background/StartSubScene.cpp
+
+ # workers
workers/WorkersSubScene.cpp
workers/WorkerScript.cpp
workers/PanicFromPlayerScript.cpp
workers/CollisionScript.cpp
- main.cpp
+
+ # menus
menus/BannerSubScene.cpp
menus/ButtonSubScene.cpp
menus/IButtonScript.cpp
@@ -46,22 +79,30 @@ add_executable(main
menus/ButtonNextMainMenuSubScript.cpp
menus/FloatingWindowSubScene.cpp
menus/IFloatingWindowScript.cpp
- menus/shop/ShopMenuScene.cpp
menus/mainmenu/ButtonTransitionPreviewSubScript.cpp
menus/mainmenu/ITransitionScript.cpp
- menus/mainmenu/MainMenuScene.cpp
menus/mainmenu/TransitionStartSubScript.cpp
menus/endgame/EndGameSubScene.cpp
menus/endgame/EndGameSubScript.cpp
+
+ # coins
coins/CoinSubScene.cpp
coins/CoinPoolSubScene.cpp
coins/CoinSystemScript.cpp
coins/CoinScript.cpp
+
+ # hud
hud/HudSubScene.cpp
hud/HudScript.cpp
hud/SpeedScript.cpp
+
+ #random
Random.cpp
)
+add_subdirectory(background)
+add_subdirectory(prefab)
+
target_link_libraries(main PUBLIC crepe)
+target_include_directories(main PRIVATE .)