mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Make 'L' key toggle grid lock in 3D mode, because it affects placement of sprites inserted with 'S'.
git-svn-id: https://svn.eduke32.com/eduke32@5240 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
54d016902f
commit
5064e8b8cd
2 changed files with 8 additions and 0 deletions
|
@ -105,6 +105,8 @@ extern const char *mapster32_fullpath;
|
|||
extern char *testplay_addparam;
|
||||
extern const char *g_namesFileName;
|
||||
|
||||
extern int32_t gridlock;
|
||||
|
||||
extern int32_t g_maxCacheSize;
|
||||
|
||||
extern int32_t g_lazy_tileselector;
|
||||
|
|
|
@ -4474,6 +4474,12 @@ static void Keys3d(void)
|
|||
message("Visibility changed on all selected sectors");
|
||||
}
|
||||
|
||||
if (PRESSED_KEYSC(L)) // L (grid lock)
|
||||
{
|
||||
gridlock = !gridlock;
|
||||
message("Grid locking %s", gridlock ? "on" : "off");
|
||||
}
|
||||
|
||||
if (PRESSED_KEYSC(V)) //V
|
||||
{
|
||||
if (ASSERT_AIMING)
|
||||
|
|
Loading…
Reference in a new issue