diff --git a/resources/config/npcs_uni_interior.json b/resources/config/npcs_uni_interior.json index a02d264..32bbf1f 100644 --- a/resources/config/npcs_uni_interior.json +++ b/resources/config/npcs_uni_interior.json @@ -26,7 +26,7 @@ "animationIdlePath": "resources/w/girlfriend/girlfriend_idle003_small.anim", "animationWalkPath": "resources/w/girlfriend/girlfriend_walk003_small.anim", "meshTextures": { - "Girl_Low": "resources/w/girlfriend/Girl_Base_color.png" + "Girl_Low": "resources/w/girlfriend/Girl_Base_color006.png" }, "positionX": 0.799619, "positionY": 0.0, diff --git a/resources/dialogue/dorm_dialogues003.json b/resources/dialogue/dorm_dialogues004.json similarity index 98% rename from resources/dialogue/dorm_dialogues003.json rename to resources/dialogue/dorm_dialogues004.json index 42241bc..d8833dc 100644 --- a/resources/dialogue/dorm_dialogues003.json +++ b/resources/dialogue/dorm_dialogues004.json @@ -155,7 +155,7 @@ "type": "Line", "speaker": "Бекзат", "portrait": "resources/dialogue/portrait_phone.png", - "text": "Почему ты сама не можешь забрать?", + "text": "Почему ты сама не можешь забрать нож у Аиды?", "next": "line_9", "chatBubble": "out" }, @@ -164,7 +164,16 @@ "type": "Line", "speaker": "Айпери", "portrait": "resources/dialogue/portrait_phone.png", - "text": "Ты же знаешь, если я встречу Аиду, она 100% даст мне какое-нибудь сложное задание.", + "text": "Она опять будет скафнить.", + "next": "line_12", + "chatBubble": "in" + }, + { + "id": "line_12", + "type": "Line", + "speaker": "Айпери", + "portrait": "resources/dialogue/portrait_phone.png", + "text": "А может быть даже даст мне какое-нибудь сложное задание.", "next": "line_10", "chatBubble": "in" }, @@ -182,7 +191,7 @@ "type": "Line", "speaker": "Айпери", "portrait": "resources/dialogue/portrait_phone.png", - "text": "Так что жду тебя в универе! Не вздумай прогулять!", + "text": "Так что жду тебя в универе! Не вздумай прогулять! Ошо!", "next": "setflag_1", "chatBubble": "in", "questUnlock": "aiperi_knife" diff --git a/resources/dialogue/translate_dialogues.json b/resources/dialogue/translate_dialogues.json index 6a381bc..4135019 100644 --- a/resources/dialogue/translate_dialogues.json +++ b/resources/dialogue/translate_dialogues.json @@ -2259,6 +2259,56 @@ "key": "Бекзат, я сейчас занята, не мешай мне!", "ru": "Бекзат, я сейчас занята, не мешай мне!", "en": "Bekzat, I'm busy now, don't disturb me!" + }, + { + "key": "Почему ты сама не можешь забрать нож у Аиды?", + "ru": "Почему ты сама не можешь забрать нож у Аиды?", + "en": "Why can't you take the knife from Aida yourself?" + }, + { + "key": "Она опять будет скафнить.", + "ru": "Она опять будет скафнить.", + "en": "She will annoy me again." + }, + { + "key": "А может быть даже даст мне какое-нибудь сложное задание.", + "ru": "А может быть даже даст мне какое-нибудь сложное задание.", + "en": "And maybe she will even give me some difficult assignment." + }, + { + "key": "Я даже уверена, она меня ищет. Она хочет мне какое-то задание дать.", + "ru": "Я даже уверена, она меня ищет. Она хочет мне какое-то задание дать.", + "en": "I'm even sure she's looking for me. She wants to give me some kind of assignment." + }, + { + "key": "Пока ты не принесешь мне нож из учительской, никуда я тебя не выпущу. Ошо!", + "ru": "Пока ты не принесешь мне нож из учительской, никуда я тебя не выпущу. Ошо!", + "en": "Until you bring me a knife from the teachers' room, I won't let you go anywhere." + }, + { + "key": "Я слышала она не смогла сдать курсовую по манасоведению.", + "ru": "Я слышала она не смогла сдать курсовую по манасоведению.", + "en": "I heard she couldn't pass her coursework on Manas studies." + }, + { + "key": "Она прыгнула с окна и разбилась насмерть деп.", + "ru": "Она прыгнула с окна и разбилась насмерть деп.", + "en": "She jumped from the window and fell to her death, they said." + }, + { + "key": "Да она надоела, все время скафнит.", + "ru": "Да она надоела, все время скафнит.", + "en": "Yes, she's annoying, she's always nagging." + }, + { + "key": "Если я ее встречу, она на 100% даст мне какое-нибудь сложное задание.", + "ru": "Если я ее встречу, она на 100% даст мне какое-нибудь сложное задание.", + "en": "If I meet her, she will 100% give me some difficult task." + }, + { + "key": "Так что жду тебя в универе! Не вздумай прогулять! Ошо!", + "ru": "Так что жду тебя в универе! Не вздумай прогулять! Ошо!", + "en": "So I'm waiting for you at the university! Don't even think about skipping!" } ] } \ No newline at end of file diff --git a/resources/dialogue/uni_exterior_dialogues002.json b/resources/dialogue/uni_exterior_dialogues003.json similarity index 96% rename from resources/dialogue/uni_exterior_dialogues002.json rename to resources/dialogue/uni_exterior_dialogues003.json index 8e2e50d..41871fe 100644 --- a/resources/dialogue/uni_exterior_dialogues002.json +++ b/resources/dialogue/uni_exterior_dialogues003.json @@ -334,7 +334,7 @@ "type": "Line", "speaker": "Бекзат", "portrait": "resources/dialogue/portrait_phone.png", - "text": "Почему ты сама не можешь забрать?", + "text": "Почему ты сама не можешь забрать нож у Аиды?", "next": "line_9", "chatBubble": "out" }, @@ -343,7 +343,16 @@ "type": "Line", "speaker": "Айпери", "portrait": "resources/dialogue/portrait_phone.png", - "text": "Ты же знаешь, если я встречу Аиду, она 100% даст мне какое-нибудь сложное задание.", + "text": "Она опять будет скафнить.", + "next": "line_12", + "chatBubble": "in" + }, + { + "id": "line_12", + "type": "Line", + "speaker": "Айпери", + "portrait": "resources/dialogue/portrait_phone.png", + "text": "А может быть даже даст мне какое-нибудь сложное задание.", "next": "line_10", "chatBubble": "in" }, @@ -361,7 +370,7 @@ "type": "Line", "speaker": "Айпери", "portrait": "resources/dialogue/portrait_phone.png", - "text": "Так что жду тебя в универе! Не вздумай прогулять!", + "text": "Так что жду тебя в универе! Не вздумай прогулять! Ошо!", "next": "setflag_1", "chatBubble": "in", "questUnlock": "aiperi_knife" diff --git a/resources/dialogue/uni_interior_dialogues_009.json b/resources/dialogue/uni_interior_dialogues_010.json similarity index 98% rename from resources/dialogue/uni_interior_dialogues_009.json rename to resources/dialogue/uni_interior_dialogues_010.json index f7d651e..e0122e3 100644 --- a/resources/dialogue/uni_interior_dialogues_009.json +++ b/resources/dialogue/uni_interior_dialogues_010.json @@ -220,7 +220,15 @@ "type": "Line", "speaker": "Айпери", "portrait": "resources/dialogue/portrait_aiperi.png", - "text": "У меня есть ощущение что если я ее встречу, она даст мне какое-то очень сложное задание.", + "text": "Она опять будет скафнить.", + "next": "line_29" + }, + { + "id": "line_29", + "type": "Line", + "speaker": "Айпери", + "portrait": "resources/dialogue/portrait_aiperi.png", + "text": "А может быть даже даст мне какое-нибудь сложное задание.", "next": "line_16" }, { @@ -285,6 +293,14 @@ "speaker": "Бекзат", "portrait": "resources/dialogue/portrait_hero_neutral.png", "text": "Почему?", + "next": "line_30" + }, + { + "id": "line_30", + "type": "Line", + "speaker": "Айпери", + "portrait": "resources/dialogue/portrait_aiperi.png", + "text": "Она опять будет скафнить.", "next": "line_25" }, { @@ -292,7 +308,7 @@ "type": "Line", "speaker": "Айпери", "portrait": "resources/dialogue/portrait_aiperi.png", - "text": "Она меня ищет, я уверена, она хочет мне какое-то задание дать.", + "text": "Я даже уверена, она меня ищет. Она хочет мне какое-то задание дать.", "next": "line_26" }, { @@ -338,7 +354,7 @@ "type": "Line", "speaker": "Айпери", "portrait": "resources/dialogue/portrait_aiperi.png", - "text": "Пока ты не принесешь мне нож из учительской, никуда я тебя не выпущу.", + "text": "Пока ты не принесешь мне нож из учительской, никуда я тебя не выпущу. Ошо!", "next": "end_1" }, { @@ -2385,7 +2401,15 @@ "type": "Line", "speaker": "Айпери", "portrait": "resources/dialogue/portrait_aiperi.png", - "text": "Я слышала она не смогла сдать курсовую по манасоведению, прыгнула с окна и разбилась насмерть.", + "text": "Я слышала она не смогла сдать курсовую по манасоведению.", + "next": "line_34" + }, + { + "id": "line_34", + "type": "Line", + "speaker": "Айпери", + "portrait": "resources/dialogue/portrait_aiperi.png", + "text": "Она прыгнула с окна и разбилась насмерть деп.", "next": "line_21" }, { @@ -2571,7 +2595,7 @@ "type": "Line", "speaker": "Бекзат", "portrait": "resources/dialogue/portrait_phone.png", - "text": "Почему ты сама не можешь забрать?", + "text": "Почему ты сама не можешь забрать нож у Аиды?", "next": "line_9", "chatBubble": "out" }, @@ -2580,7 +2604,16 @@ "type": "Line", "speaker": "Айпери", "portrait": "resources/dialogue/portrait_phone.png", - "text": "Ты же знаешь, если я встречу Аиду, она 100% даст мне какое-нибудь сложное задание.", + "text": "Да она надоела, все время скафнит.", + "next": "line_12", + "chatBubble": "in" + }, + { + "id": "line_12", + "type": "Line", + "speaker": "Айпери", + "portrait": "resources/dialogue/portrait_phone.png", + "text": "Если я ее встречу, она на 100% даст мне какое-нибудь сложное задание.", "next": "line_10", "chatBubble": "in" }, @@ -2598,7 +2631,7 @@ "type": "Line", "speaker": "Айпери", "portrait": "resources/dialogue/portrait_phone.png", - "text": "Так что жду тебя в универе! Не вздумай прогулять!", + "text": "Так что жду тебя в универе! Не вздумай прогулять! Ошо!", "next": "setflag_1", "chatBubble": "in", "questUnlock": "aiperi_knife" diff --git a/resources/w/girlfriend/Girl_Base_color.png b/resources/w/girlfriend/Girl_Base_color.png deleted file mode 100644 index 0c06463..0000000 --- a/resources/w/girlfriend/Girl_Base_color.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c17d5b0b64e49af162f4f6ed3f71844c89cb0f3ef0769cffd1e04c0e14ef8cad -size 2964043 diff --git a/resources/w/girlfriend/Girl_Base_color006.png b/resources/w/girlfriend/Girl_Base_color006.png new file mode 100644 index 0000000..7fb312e --- /dev/null +++ b/resources/w/girlfriend/Girl_Base_color006.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe76dee28444818da0359e6090234b40c3ef4daa195c374cb614226e7f1b58e2 +size 4533605 diff --git a/src/Environment.cpp b/src/Environment.cpp index 7363d0a..f01df3c 100644 --- a/src/Environment.cpp +++ b/src/Environment.cpp @@ -22,6 +22,7 @@ int Environment::width = CONST_DEFAULT_WIDTH; int Environment::height = CONST_DEFAULT_HEIGHT; float Environment::zoom = DEFAULT_ZOOM; + bool Environment::enableLogging = false; SDL_Window* Environment::window = nullptr; diff --git a/src/Game.cpp b/src/Game.cpp index 8885e60..beb0779 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -506,7 +506,7 @@ namespace ZL LocationSetup uniInteriorParams; uniInteriorParams.gameObjectsJsonPath = "resources/config/gameobjects_uni_interior_x.json"; uniInteriorParams.npcsJsonPath = "resources/config/npcs_uni_interior.json"; - uniInteriorParams.dialoguesJsonPath = "resources/dialogue/uni_interior_dialogues_009.json"; + uniInteriorParams.dialoguesJsonPath = "resources/dialogue/uni_interior_dialogues_010.json"; uniInteriorParams.navigationJsonPaths = { "resources/navigation/uni_interior4_unlocked_n2.txt", //0 @@ -643,7 +643,7 @@ namespace ZL uniExteriorParams.scriptPath = "resources/start_uni_exterior.lua"; uniExteriorParams.playerPosition = Eigen::Vector3f(5, 0, -18.4); uniExteriorParams.npcsJsonPath = "resources/config/npcs_uni_exterior.json"; - uniExteriorParams.dialoguesJsonPath = "resources/dialogue/uni_exterior_dialogues002.json"; + uniExteriorParams.dialoguesJsonPath = "resources/dialogue/uni_exterior_dialogues003.json"; gameState.locations["uni_exterior"] = std::make_shared(renderer, gameState.inventory); @@ -685,7 +685,6 @@ namespace ZL //Exterior set up taxi end - } @@ -697,7 +696,7 @@ namespace ZL params_dorm.gameObjectsJsonPath = "resources/config/gameobjects_dorm_new_x.json"; params_dorm.npcsJsonPath = "resources/config/npcs_dorm.json"; - params_dorm.dialoguesJsonPath = "resources/dialogue/dorm_dialogues003.json"; + params_dorm.dialoguesJsonPath = "resources/dialogue/dorm_dialogues004.json"; /* params_dorm.navigationJsonPaths = { diff --git a/src/items/GameObjectLoader.cpp b/src/items/GameObjectLoader.cpp index bc5fb91..83cde29 100644 --- a/src/items/GameObjectLoader.cpp +++ b/src/items/GameObjectLoader.cpp @@ -9,6 +9,7 @@ #include "../Character.h" #include + namespace ZL { using json = nlohmann::json;