Adapt for web

This commit is contained in:
Vladislav Khorev 2026-04-19 18:46:06 +03:00
parent 920376d686
commit 709327b3af
96 changed files with 131 additions and 6573065 deletions

BIN
audio/background.wav (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

View File

@ -26,7 +26,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Первая колонка, полный бак пожалуйста.",
"next": "line_2"
},
@ -42,7 +42,7 @@
"id": "line_3",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Что вы на меня так смотрите, со мной что-то не так?",
"next": "line_4"
},
@ -66,7 +66,7 @@
"id": "line_6",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Да.",
"next": "line_7"
},
@ -100,7 +100,7 @@
"id": "line_3",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Что-то случилось?",
"next": "line_4"
},
@ -134,7 +134,7 @@
"id": "line_3",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Что-то случилось?",
"next": "line_4"
},
@ -160,7 +160,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Ну капец, мы застряли!",
"next": "line_2"
},
@ -168,7 +168,7 @@
"id": "line_2",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Теперь только пешком.",
"next": "end_1"
},
@ -186,7 +186,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Все, приехали! Машина в хлам!",
"next": "end_1"
},
@ -204,7 +204,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Все, приехали! Бензин закончился!",
"next": "end_1"
},
@ -222,7 +222,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "До Таласской области осталось ехать примерно 7 километров.",
"next": "end_1"
},
@ -240,7 +240,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "До Таласской области осталось ехать примерно 5 километров.",
"next": "end_1"
},
@ -258,7 +258,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "До Таласской области осталось ехать примерно 2 километра.",
"next": "end_1"
},
@ -276,7 +276,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Все, мы в Таласской области.",
"next": "line_2"
},
@ -284,7 +284,7 @@
"id": "line_2",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Здесь должен быть сигнал, дай мне телефон.",
"next": "line_3"
},
@ -292,7 +292,7 @@
"id": "line_3",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Я позвоню дяде.",
"next": "line_4"
},
@ -300,7 +300,7 @@
"id": "line_4",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Держи.",
"next": "line_5"
},
@ -308,14 +308,14 @@
"id": "line_5",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Ало, Акыл байке! Это Алтынай.",
"next": "line_6"
},{
"id": "line_6",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "У меня проблемы, меня преследуют бандиты.",
"next": "line_7"
},
@ -323,7 +323,7 @@
"id": "line_7",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Я сейчас еду с другом в сторону Таласа.",
"next": "line_8"
},
@ -331,7 +331,7 @@
"id": "line_8",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Пришли пожалуйста патруль мне на встречу.",
"next": "line_9"
},
@ -339,7 +339,7 @@
"id": "line_9",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Белый седан, номер 256.",
"next": "line_10"
},
@ -347,7 +347,7 @@
"id": "line_10",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Спасибо! Пока!",
"next": "end_1"
},
@ -365,7 +365,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Hero",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "У нас бензин кончается.",
"next": "line_2"
},
@ -373,7 +373,7 @@
"id": "line_2",
"type": "Line",
"speaker": "Hero",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Надо заправиться.",
"next": "line_3"
},
@ -415,7 +415,7 @@
"id": "line_2",
"type": "Line",
"speaker": "Hero",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Что-то мне стремно, давай поедем отсюда быстрее",
"next": "end_1"
},
@ -433,7 +433,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Hero",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "[Телефон звонит]",
"next": "line_2"
},
@ -441,7 +441,7 @@
"id": "line_2",
"type": "Line",
"speaker": "Hero",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Да, слушаю.",
"next": "line_3"
},
@ -555,7 +555,7 @@
"id": "line_2",
"type": "Line",
"speaker": "Hero",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Я задержан?",
"next": "end_1"
},
@ -573,7 +573,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Попался красавчик.",
"next": "end_1"
},
@ -591,7 +591,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Эй, парень! Остановись и выйди!",
"next": "end_1"
},
@ -609,7 +609,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Попались воробушки.",
"next": "end_1"
},
@ -627,7 +627,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Ну все, вам конец!",
"next": "end_1"
},
@ -645,7 +645,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Быстро прыгай в окно, я открою.",
"next": "end_1"
},
@ -663,7 +663,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Мне лучше поехать туда на авто.",
"next": "end_1"
},
@ -681,7 +681,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Да, похоже это как раз тот дом.",
"next": "end_1"
},
@ -699,7 +699,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Финал 1",
"next": "end_1"
},
@ -717,7 +717,7 @@
"id": "line_1",
"type": "Line",
"speaker": "Игрок",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Финал 2",
"next": "end_1"
},
@ -743,7 +743,7 @@
"id": "line_2",
"type": "Line",
"speaker": "Hero",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Ты сделан из дыма?",
"next": "line_3"
},
@ -759,7 +759,7 @@
"id": "line_4",
"type": "Line",
"speaker": "Hero",
"portrait": "resources/w/gg/gg2_s_podsvetkoy5.png",
"portrait": "resources/hero.png",
"text": "Я думаю что ты пахнешь как выхлоп от Камаза.",
"next": "end_1"
},

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
resources/e/Wheel_base002.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
resources/e/azs/Price_Base_color_1001.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/azs/floor_Base_color_1001.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/azs/roof_Base_color_1001.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
resources/e/azs/table_Base_color_1001.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/azs/walls_Base_color_1001.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/bandit_packed0_diffuse.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/bandit_packed1_diffuse.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/bandit_packed2_diffuse.png (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

BIN
resources/e/car002.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/car_black001.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/female_packed0_diffuse.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/female_packed1_diffuse.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/female_packed2_diffuse.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/female_packed3_diffuse.png (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
resources/e/male_packed0_diffuse.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/male_packed1_diffuse.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/male_packed2_diffuse.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/menu/about.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/police_packed0_diffuse.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/e/police_packed1_diffuse.png (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

BIN
resources/first_cutscene.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/ghost_avatar.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/hero.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/loading.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
resources/portraits/elder_bor_neutral.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/w/Cube001.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/w/Zombie_BaseColor.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/w/bench001opt.png (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

BIN
resources/w/default_float001.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/default_float001_cut.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/default_idle002.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/default_skin001.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/w/default_walk001.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,29 +0,0 @@
===Vertices (Split by UV/Normal): 14
V 0: Pos(-2.494679, 31.51618, 1.524048) Norm(-0.577372, -0.577339, 0.577339) UV(0.625, 0.0)
V 1: Pos(-2.494679, 32.87888, 0.161349) Norm(-0.577372, 0.577339, -0.577339) UV(0.375, 0.25)
V 2: Pos(-2.494679, 31.51618, 0.161349) Norm(-0.57737, -0.57734, -0.57734) UV(0.375, 0.0)
V 3: Pos(-2.494679, 32.87888, 1.524048) Norm(-0.57737, 0.57734, 0.57734) UV(0.625, 0.25)
V 4: Pos(-2.057763, 32.87888, 0.161349) Norm(0.57737, 0.57734, -0.57734) UV(0.375, 0.5)
V 5: Pos(-2.057763, 32.87888, 1.524048) Norm(0.577372, 0.577339, 0.577339) UV(0.625, 0.5)
V 6: Pos(-2.057763, 31.51618, 0.161349) Norm(0.577372, -0.577339, -0.577339) UV(0.375, 0.75)
V 7: Pos(-2.057763, 31.51618, 1.524048) Norm(0.57737, -0.57734, 0.57734) UV(0.625, 0.75)
V 8: Pos(-2.494679, 31.51618, 0.161349) Norm(-0.57737, -0.57734, -0.57734) UV(0.375, 1.0)
V 9: Pos(-2.494679, 31.51618, 0.161349) Norm(-0.57737, -0.57734, -0.57734) UV(0.125, 0.75)
V 10: Pos(-2.494679, 32.87888, 0.161349) Norm(-0.577372, 0.577339, -0.577339) UV(0.125, 0.5)
V 11: Pos(-2.494679, 32.87888, 1.524048) Norm(-0.57737, 0.57734, 0.57734) UV(0.875, 0.5)
V 12: Pos(-2.494679, 31.51618, 1.524048) Norm(-0.577372, -0.577339, 0.577339) UV(0.625, 1.0)
V 13: Pos(-2.494679, 31.51618, 1.524048) Norm(-0.577372, -0.577339, 0.577339) UV(0.875, 0.75)
===Triangles (Indices): 12
Tri: 0 1 2
Tri: 3 4 1
Tri: 5 6 4
Tri: 7 8 6
Tri: 4 9 10
Tri: 11 7 5
Tri: 0 3 1
Tri: 3 5 4
Tri: 5 7 6
Tri: 7 12 8
Tri: 4 6 9
Tri: 11 13 7

BIN
resources/w/float_attack003.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/float_attack003_cut.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/gg/IMG_20260413_182354_992.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/w/gg/gg2_s_podsvetkoy5.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/w/gg/gg_action_attack001.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/gg/gg_action_idle001.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/gg/gg_action_to_stand001.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/gg/gg_stand_idle001.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/gg/gg_stand_to_action002.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/gg/gg_walking001.anim (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
resources/w/ghost_skin001.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/w/inai001.png (Stored with Git LFS)

Binary file not shown.

View File

@ -1,39 +0,0 @@
===Vertices (Split by UV/Normal): 24
V 0: Pos(-0.037932, -0.443994, 0.688038) Norm(-0.577353, -0.577349, 0.577349) UV(0.001657, 0.001657)
V 1: Pos(-0.037932, 0.443994, -0.688038) Norm(-0.577353, 0.577349, -0.577349) UV(0.437515, 0.677088)
V 2: Pos(-0.037932, -0.443994, -0.688038) Norm(-0.577344, -0.577354, -0.577353) UV(0.001657, 0.677088)
V 3: Pos(-0.037932, 0.443994, 0.688038) Norm(-0.577344, 0.577354, 0.577353) UV(0.880002, 0.001657)
V 4: Pos(0.037932, 0.443994, -0.688038) Norm(0.577344, 0.577354, -0.577353) UV(0.91724, 0.677088)
V 5: Pos(-0.037932, 0.443994, -0.688038) Norm(-0.577353, 0.577349, -0.577349) UV(0.880002, 0.677088)
V 6: Pos(0.037932, 0.443994, 0.688038) Norm(0.577353, 0.577349, 0.577349) UV(0.44083, 0.001657)
V 7: Pos(0.037932, -0.443994, -0.688038) Norm(0.577353, -0.577349, -0.577349) UV(0.876688, 0.677088)
V 8: Pos(0.037932, 0.443994, -0.688038) Norm(0.577344, 0.577354, -0.577353) UV(0.44083, 0.677088)
V 9: Pos(0.037932, -0.443994, 0.688038) Norm(0.577344, -0.577354, 0.577353) UV(0.920554, 0.001657)
V 10: Pos(-0.037932, -0.443994, -0.688038) Norm(-0.577344, -0.577354, -0.577353) UV(0.957791, 0.677088)
V 11: Pos(0.037932, -0.443994, -0.688038) Norm(0.577353, -0.577349, -0.577349) UV(0.920554, 0.677088)
V 12: Pos(0.037932, 0.443994, -0.688038) Norm(0.577344, 0.577354, -0.577353) UV(0.961105, 0.437515)
V 13: Pos(-0.037932, -0.443994, -0.688038) Norm(-0.577344, -0.577354, -0.577353) UV(0.998343, 0.001657)
V 14: Pos(-0.037932, 0.443994, -0.688038) Norm(-0.577353, 0.577349, -0.577349) UV(0.998343, 0.437515)
V 15: Pos(-0.037932, 0.443994, 0.688038) Norm(-0.577344, 0.577354, 0.577353) UV(0.961105, 0.876688)
V 16: Pos(0.037932, -0.443994, 0.688038) Norm(0.577344, -0.577354, 0.577353) UV(0.998343, 0.44083)
V 17: Pos(0.037932, 0.443994, 0.688038) Norm(0.577353, 0.577349, 0.577349) UV(0.998343, 0.876688)
V 18: Pos(-0.037932, 0.443994, 0.688038) Norm(-0.577344, 0.577354, 0.577353) UV(0.437515, 0.001657)
V 19: Pos(0.037932, 0.443994, 0.688038) Norm(0.577353, 0.577349, 0.577349) UV(0.91724, 0.001657)
V 20: Pos(0.037932, -0.443994, 0.688038) Norm(0.577344, -0.577354, 0.577353) UV(0.876688, 0.001657)
V 21: Pos(-0.037932, -0.443994, 0.688038) Norm(-0.577353, -0.577349, 0.577349) UV(0.957791, 0.001657)
V 22: Pos(0.037932, -0.443994, -0.688038) Norm(0.577353, -0.577349, -0.577349) UV(0.961105, 0.001657)
V 23: Pos(-0.037932, -0.443994, 0.688038) Norm(-0.577353, -0.577349, 0.577349) UV(0.961105, 0.44083)
===Triangles (Indices): 12
Tri: 0 1 2
Tri: 3 4 5
Tri: 6 7 8
Tri: 9 10 11
Tri: 12 13 14
Tri: 15 16 17
Tri: 0 18 1
Tri: 3 19 4
Tri: 6 20 7
Tri: 9 21 10
Tri: 12 22 13
Tri: 15 23 16

BIN
resources/w/red.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/w/room005.png (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -100,6 +100,7 @@ namespace ZL
minDimension = width;
}
//loadingMesh.data = CreateRect2D({ 0.0f, 0.0f }, { minDimension*0.5f, minDimension*0.5f }, 3);
loadingMesh.data = CreateRect2D({ 0.0f, 0.0f }, { minDimension * 0.5f, minDimension * 0.25f }, 3);
loadingMesh.RefreshVBO();
@ -182,7 +183,7 @@ namespace ZL
std::cout << "Load resurces step 13" << std::endl;
// Load UI with inventory button
try {
/*try {
menuManager.uiManager.loadFromFile("resources/config2/ui_inventory.json", renderer, CONST_ZIP_FILE);
std::cout << "UI loaded successfully" << std::endl;
@ -221,11 +222,10 @@ namespace ZL
}
catch (const std::exception& e) {
std::cerr << "Failed to load UI: " << e.what() << std::endl;
}
}*/
//menuManager.setupMainMenu();
loadingCompleted = true;
if (audioPlayer->init()) {
audioPlayer->setMusicVolume(100);
audioPlayer->setSoundVolume(80);
@ -235,6 +235,7 @@ namespace ZL
std::cout << "Audio initialization failed" << std::endl;
}
menuManager.onGameStateChanged = [this](GameState newState) {
this->updateMusicForGameState(newState);
};