mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 11:22:45 +01:00
Add 'Jump to Docks' to debug menu
This commit is contained in:
parent
1f5fcb16ca
commit
ab6d3e5b3a
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user