DEADSOFTWARE

Some improvements to grid and navigation
authorJoseph Stalin <granminigun@pm.me>
Fri, 29 Nov 2019 23:38:47 +0000 (04:38 +0500)
committerJoseph Stalin <granminigun@pm.me>
Fri, 29 Nov 2019 23:55:26 +0000 (04:55 +0500)
commitead479e9d67b2199edc9ea45e1243963aac41323
treeaf03d726ec98ef53a6afc56d86168a28ea8ff227
parent6e52b3dc2eb459c745e571dfef5afb5c2ccd546f
Some improvements to grid and navigation

Extended viewable area past map border;
Made scrollbars non-discrete (per-pixel instead of per-tile);
Bound grid to map origin instead of viewport, same for cursor snap;
Added speed modifier for WASD navigation (hold Shift);
Changed and enforced possible grid sizes to 4-2048;
Fixed related crawled-up bugs, changed code logic here and there, made other stuff I forgot to mention.
src/editor/f_main.pas
src/editor/f_options.lfm
src/editor/f_options.pas