aboutsummaryrefslogtreecommitdiff
path: root/src/engine/level_const.c
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-04-06 16:40:34 +0200
committerUnavailableDev <ggwildplay@gmail.com>2023-04-06 16:40:34 +0200
commitd8e8e63bac3ef5a203106c09731ed2e55c87688a (patch)
treec9876a5c0f1cfea1eb56a2c046bcb4d5813e2d78 /src/engine/level_const.c
parent93e9426d5642dfab7a13d5a34873b296de1d9642 (diff)
rendering hp + strings
Diffstat (limited to 'src/engine/level_const.c')
-rw-r--r--src/engine/level_const.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/level_const.c b/src/engine/level_const.c
index 2522814..4cd9a1b 100644
--- a/src/engine/level_const.c
+++ b/src/engine/level_const.c
@@ -4,7 +4,7 @@
hh_g_all_levels hh_init_game_levels(){
hh_g_all_levels levels;
- levels.current_level=1;
+ levels.current_level=0;
levels.shop.size.x=40;
levels.shop.size.y=15;
@@ -18,9 +18,9 @@ hh_g_all_levels hh_init_game_levels(){
levels.level[1].size.y=28;
levels.level[1].hh_level_completed=false;
- FILE *fp = fopen("static/shop_new.bin", "rb");
+ FILE *fp = fopen("../test/bin/level1_test.bin", "rb");
if (fp == NULL) {
- printf("shop_new.bin not found!\n");
+ printf("level1_test.bin not found!\n");
return levels;
}
fseek(fp, 0, SEEK_END);