1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00

Add 'Jump to Docks' to debug menu

This commit is contained in:
Jannik Vogel 2016-05-29 15:51:06 +02:00
parent 1f5fcb16ca
commit ab6d3e5b3a

View File

@ -92,6 +92,9 @@ DebugState::DebugState(RWGame* game, const glm::vec3& vp, const glm::quat& vd)
m->addEntry(Menu::lambda("Jump to Debug Camera", [=] { m->addEntry(Menu::lambda("Jump to Debug Camera", [=] {
jumpCharacter(game, game->getPlayer()->getCharacter(), _debugCam.position + _debugCam.rotation * glm::vec3(3.f, 0.f, 0.f), false); jumpCharacter(game, game->getPlayer()->getCharacter(), _debugCam.position + _debugCam.rotation * glm::vec3(3.f, 0.f, 0.f), false);
}, entryHeight)); }, entryHeight));
m->addEntry(Menu::lambda("Jump to Docks", [=] {
jumpCharacter(game, game->getPlayer()->getCharacter(), glm::vec3(1390.f, -837.f, 100.f));
}, entryHeight));
m->addEntry(Menu::lambda("Jump to Garage", [=] { m->addEntry(Menu::lambda("Jump to Garage", [=] {
jumpCharacter(game, game->getPlayer()->getCharacter(), glm::vec3(270.f, -605.f, 40.f)); jumpCharacter(game, game->getPlayer()->getCharacter(), glm::vec3(270.f, -605.f, 40.f));
}, entryHeight)); }, entryHeight));