Commit Graph

12 Commits

Author SHA1 Message Date
SkyratBot
f39eb86480 [MIRROR] better fix for some runtimes with clients in player_list (maybe) [MDB IGNORE] (#8778)
* better fix for some runtimes with clients in player_list (maybe) (#62028)

* better fix for some runtimes with clients in player_list (maybe)

Co-authored-by: Seris02 <49109742+Seris02@users.noreply.github.com>
2021-10-13 19:08:49 +01:00
SkyratBot
2cef943f6f [MIRROR] Revert "Prevent SSinput from constantly requesting moving in-place" (#6352)
* Revert "prevent SSinput from constantly reporting null movements (#59558)" (#59650)

This reverts commit 6c2d17bb15.

Fucky movement fix oranges is literally threatening me.

I feel like I've messed up somewhere here...

Either way this is causing movements to be a bit fucky where one input counts as two in a direction.

* Revert "Prevent SSinput from constantly requesting moving in-place"

Co-authored-by: brotherbeyondd <68032262+brotherbeyondd@users.noreply.github.com>
2021-06-16 22:23:09 +01:00
SkyratBot
2ff93b78d0 prevent SSinput from constantly reporting null movements (#59558) (#6208)
Just prevents SSinput from constantly calling Move() every tick for every user even when no actual movement is requested.

Only done rudimentary testing - straightforward and we've been using this for months on CM13 but without diagonal movement.

I asked the original SSinput author back then which said that it was likely an oversight. I believe moving the diagonal movement direction buffer reset to keyLoop instead of Move() also makes sense as it is actually relevant to SSinput and not client actions as a whole (eg. if you call built-in movement verbs)

Co-authored-by: fira <loyauflorian@gmail.com>
2021-06-10 09:14:50 +12:00
SkyratBot
faadd3c29e [MIRROR] Kills twitching corpses dead (#2243)
* Kills twitching corpses dead (#55600)

* is this legal

* softcrit is okay

* Kills twitching corpses dead

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2020-12-19 12:09:52 +00:00
SkyratBot
5ecf8454d0 [MIRROR] Movement now works in any client dir (#1701)
* Movement now works in any client dir (#54693)

Movement now works even if client dir is changed
maybe someday we can have rotating views

* Movement now works in any client dir

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-11-17 00:23:30 +01:00
SkyratBot
d21d28c3af [MIRROR] Block movement now locks turning, migrate old save files to Ctrl (#932)
* Block movement now locks turning, migrate old save files to Ctrl (#53871)

The block movement key now correctly locks turning like it used to.

Old save files are now migrated to Ctrl if they didn't bind it to anything before. This correctly replicates the old behavior.

* Block movement now locks turning, migrate old save files to Ctrl

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-09-23 14:45:44 +02:00
SkyratBot
c492889d80 [MIRROR] Makes locking movement a hotkey (#882)
* Makes locking movement a hotkey (#53771)

* kinda done

* Update code/datums/keybinding/mob.dm

Co-authored-by: Rohesie <rohesie@ gmail.com>

* Update code/datums/keybinding/mob.dm

Co-authored-by: Rohesie <rohesie@ gmail.com>

* Update code/datums/keybinding/mob.dm

Co-authored-by: Rohesie <rohesie@ gmail.com>

* Update code/datums/keybinding/mob.dm

Co-authored-by: Rohesie <rohesie@ gmail.com>

Co-authored-by: Rohesie <rohesie@ gmail.com>

* Makes locking movement a hotkey

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Rohesie <rohesie@ gmail.com>
2020-09-20 00:36:26 +01:00
Couls
971ef6a416 Custom movement hotkeys and restore macros for T, O and M (#47626)
* Custom movement hotkeys and restore macros for T, O and M

* stray comma

* update movement keys on SSinput initialize

* use cardinals
2019-11-07 18:07:17 -05:00
kevinz000
c6d710d40e VV refactors 2 - Actually not indefinitely WIP (#45217)
About The Pull Request

The thing other than ruining maps that I was working on
Refactors VV to use a more standard way of doing topic dropdown options rather than a huge if/else chain
Marking datums is now a right click option
Moves a few files around too/few procs
Why It's Good For The Game

Makes it easier to add more VV dropdown options in the future, and moving href list keys to defines make misspelling them harder.
Changelog

cl
add: Oh yeah also added a "return value of proccall" option for VV var editing.
refactor: View Variables has been refactored. It should now be easier to make VV dropdown options.
/cl
2019-08-03 14:43:26 +12:00
Emmett Gaines
d040afd6d0 Moves GLOB.movement_keys into SSinput and adds movement direction badminry (#34123)
* badmin flip dirs

* moves movement_keys into SSinput from GLOB
2018-01-14 20:37:59 +01:00
ninjanomnom
2c040ac85e x = x | y instead of x |= y because they act different 2017-12-18 11:11:35 -05:00
ninjanomnom
7b7b67edd8 In-code key handling system 2017-11-30 07:40:27 -05:00