aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-04 16:36:37 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-04 16:36:37 +0100
commitbcb489c3b869fb6c15ee26d511f5042b8ce698ae (patch)
treecd663d747e0ed00d57c299e85ad193971ed8febc /src/main.cpp
parentadd headers (diff)
downloadthreshold-bcb489c3b869fb6c15ee26d511f5042b8ce698ae.tar.gz
threshold-bcb489c3b869fb6c15ee26d511f5042b8ce698ae.tar.bz2
threshold-bcb489c3b869fb6c15ee26d511f5042b8ce698ae.tar.xz
threshold-bcb489c3b869fb6c15ee26d511f5042b8ce698ae.tar.zst
threshold-bcb489c3b869fb6c15ee26d511f5042b8ce698ae.zip
map read from file
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b4525c2..74b1adf 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -13,7 +13,7 @@
gameState gs = TITLE;
-Game* game = new Game;
+Game* game = new Game("../meta/maps/stage_1_start.bfm");
int main(void) {
initWindow();
@@ -41,7 +41,7 @@ int main(void) {
{
gs = TITLE;
delete game;
- game = new Game;
+ game = new Game("../meta/maps/stage_1_start.bfm");
}
break ;
}