Working on minor fixing, working on pathfinding

This commit is contained in:
Vladislav Khorev committed 2026-08-19 03:40:02 +05:00
1 parent a11c4614ea
commit c9c6b7e7fb
9 files changed
+290 -47

No files matched your search

+14 -2
View File
@@ -797,7 +797,7 @@ namespace FRG
"resources/navigation/dorm3_b.json",
"resources/navigation/dorm3_all_open.json",
};*/
params_dorm.navigationJsonPaths = {
"resources/navigation/dorm3_bca.txt", //0
"resources/navigation/dorm3_ca.txt", //1
@@ -806,7 +806,7 @@ namespace FRG
"resources/navigation/dorm3_b.txt",
"resources/navigation/dorm3_all_open.txt", //5
};
/*
params_dorm.navigationJsonPaths = {
"resources/navigation/dorm0_large.json",
@@ -1452,6 +1452,18 @@ namespace FRG
if (event.key.keysym.sym == SDLK_BACKSPACE) {
//menuManager.uiManager.onKeyBackspace();
}
if (event.key.keysym.sym == SDLK_1)
{
startNightTransition();
}
if (event.key.keysym.sym == SDLK_2)
{
startDarklandsTransition();
}
if (event.key.keysym.sym == SDLK_3)
{
logger() << "Player position: " << currentLocation()->player->state.position.transpose() << std::endl;
}
}
if (event.type == SDL_TEXTINPUT) {