Commit Graph

46 Commits

Author SHA1 Message Date
SkyratBot
dc7d9a81a1 [MIRROR] Fix Map JSON loading errors (#1460)
* Fix Map JSON loading errors (#54563)

Also fixes that one runtime everyone runs into when they first load in

* Fix Map JSON loading errors

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2020-10-25 11:11:00 +01:00
SkyratBot
fb51202dda [MIRROR] changes your cursor to an eye when you are holding shift to indicate you will examine (#1124)
* changes your cursor to an eye when you are holding shift to indicate you will examine (#54083)

* changes your cursor to an eye when you are holding shift to indicate you will examine

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-10-03 02:31:19 +02:00
SkyratBot
cf76ee5b1a [MIRROR] Communication hotfix (#1062)
* Communication hotfix

* bah

* Update preferences.dm

Co-authored-by: Couls <coul422@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-30 01:12:57 +02:00
SkyratBot
d394f912a0 [MIRROR] Fixes cases of held keys getting stuck (#1034)
* Fixes cases of held keys getting stuck (#53988)

* Fixes cases of held keys getting stuck

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-09-29 12:23:22 +02:00
SkyratBot
79e0e3c972 [MIRROR] remove obsolete face-dir keybinds (#984)
* remove obsolete face-dir keybinds (#53925)

* remove obsolete face-dir keybinds

Co-authored-by: Couls <coul422@gmail.com>
2020-09-25 16:31:15 +02: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
c15be851f9 [MIRROR] Refactors the keys_held rolling buffer (#903)
* Refactors the keys_held rolling buffer (#53773)

* rolling key rip

* category

* comment

* oops

* Refactors the keys_held rolling buffer

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-09-21 02:23:38 +01: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
ShizCalev
263becfc6f Fixes keybind up() not checking for can_use() (#52475) 2020-07-26 13:45:17 -04:00
AnturK
33e3622f27 Add basic sanity to keybindings (#49116)
Not a fan adding another wrapper here but alternative is copypasta 
everyone will forget.
2020-02-02 19:51:39 -08:00
oranges
70bb8fde34 Some changes suggested by lummox 2020-01-05 05:12:06 +00:00
Couls
26a61a489c ports TGMCs click hack for non-hotkey players ports classic keybinds from TGMC (#47670)
About The Pull Request

Ports tgstation/TerraGov-Marine-Corps#2977, overrides click proc to return focus back to chat bar using winsets also ports tgstation/TerraGov-Marine-Corps#1904 which has two sets of defaults for hotkey and classic mode
fixes #47672 fixes #47659

much credit to @Rohesie and the TGMC team for a bunch of these improvements
Why It's Good For The Game

lets the non-hotkey players walk and talk again
Changelog

cl
add: Custom keybinds will now check what style (classic / hotkey) you prefer when resetting if you use classic mode make sure to reset your keybinds to default!
add: multiple keybind support
tweak: non-hotkey mode keeps focus on chat
fix: pressing 4 as cyborg now properly cycles
fix: AI location hotkeys now work again
/cl
2019-11-14 09:22:33 +13: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
Couls
65ce56587c fixes modifier hotkeys and adds alternative move intent toggle (#47569)
* fixes modifier hotkeys and adds alternative move intent toggle

* Fixes pulling keybind

* make the wrappers look more like the old popup windows

* it was the freaking save file

* bump up save file version

* reset keybindings to default
2019-11-06 04:20:30 -08:00
spookydonut
2591ce17a6 Travis EOF newline detection v3 (#47539)
* scream

* aaa

* aaa

* new one
2019-11-04 19:16:50 -08:00
Couls
070bb5e69c Port Custom hotkeys from TGMC (#47003)
* custom keybindings

* Update _lists.dm

* Update robot.dm

* modify weights and clean up some vars

* Update say.dm

* Apply suggestions from code review

Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com>

* some review changes

* formatting

* include focus hack, remove me_wrapper, give default keybinds to new characters, misc fixes

* revert hack and more reviews

* remove another focus hack

this was causing issues with the keydown proc returning early
2019-11-03 01:35:30 -07:00
L
42873d424e Cleanup 2019-10-25 04:26:09 -03:00
spookydonut
4e8ff18b07 Fix Travis grep script to use PCRE to actually match things (#47065)
Several of the greps were missing the `-P` switch which caused them to 
fail to match things. The EOL grep also wasn't working right so I 
replaced it with the one I added to TGMC.
2019-10-19 10:21:05 -07:00
Rob Bailey
85adb0c031 input checking (#46425)
Sanity checks + flood checking.

Changes keys_held to a rolling buffer instead of a list of arbitrary size. This limits held keys to 15, I recommend not holding keys with your toes personally.
2019-09-16 16:37:14 +12: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
oranges
06c3e69cbb keyloop no longer runtimes if the client is mobless 2019-07-24 23:52:44 +00:00
Garen Crownguard
f0251e4faa Fix quickdraw hotkeys working while incapacitated (#44953)
The check for incapacitated is normally done in the click proc since
that way it's checked on all of attack_hand, attackby, etc.. The
keybinding uses attack_hand instead of the click proc because it would
go through as a shift click and examine the item instead of grabbing
it if the click proc was used.
2019-07-04 12:48:10 -07:00
kingofkosmos
81a0518474 * warning-spans added to cases of "You do not..." and "You don't..." 2019-06-25 22:05:55 +03:00
kingofkosmos
6bbb64e2cf * more warnings 2019-06-25 21:46:21 +03:00
Garen Crownguard
dda81b7764 shift E & B keybinding stuff (#41386) 2018-11-11 11:53:02 -05:00
Tad Hardesty
eb6725c61f Improve a few assorted documentation comments 2018-08-22 18:16:04 -07:00
ninjanomnom
d483ff3ef0 Regexes
`([^_\.])SendSignal\((.+?)\)` -> `\1SEND_SIGNAL(src, \2)`
`([\.\w]+?)\.SendSignal\((.+?)\)` -> `SEND_SIGNAL(\1, \2)`
2018-06-13 19:19:23 -04:00
ShizCalev
028231cb81 Updates BYOND links to use HTTPS (#37918)
* Updates BYOND links to use HTTPS

* revert

* if -> If
2018-05-19 19:50:05 -07:00
AnturK
52a99c09d6 Uppercase slot defines 2018-04-27 10:38:32 +02:00
Dax Dupont
dbaeb55d33 Gives admins the D(say) hotkey + fixes buildmode permissions (#37413) 2018-04-25 22:39:07 -04:00
kevinz000
ab993a117a Component Storage, Experimental attack_hand and [ui_]interact() refactors (#36696) 2018-04-12 14:46:14 +03:00
RandomMarine
f83dd8a7dd moves quick equip hotkey up to /mob 2018-03-31 13:17:20 -07:00
Kyle Spier-Swenson
50388534c2 Cyberboss likes this change 2018-02-05 19:17:05 -08:00
Kyle Spier-Swenson
1aeb756c05 Fixes sleeps in movement procs creating lag in ssinput. 2018-02-05 08:43:43 -08:00
Emmett Gaines
bf1706e3a6 fixes changing direction with control moving you in that direction (#35051) 2018-01-29 03:57:34 -05:00
tortellinitony
b9078e1cb4 Makes adminsay bind F3 work (#35028) 2018-01-28 19:30:19 -05:00
Jordan Brown
fec2d66318 Datum var cleanup (#34314)
* Consolidates datum var location

* Move ui_screen to /datum/tgui

* Move focusers to datum.dm. Move fingerprintslast to /atom

* Remove focusers list, makes mobs check if their focus is QDELETED in Life()

* Consolidate use_tag and var_edited into datum_flags

* Revert garbage comment

* Thought I already removed this

* Remove the var_edited preservation

* Removes focus QDELETED handling
2018-01-21 22:38:56 -05: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
tortellinitony
5d8ff3164d Wrong name 2018-01-08 18:07:16 -05:00
tortellinitony
2fcdcafced Makes a hotkey for asay 2018-01-08 17:55:18 -05:00
ninjanomnom
a347ec2837 fixes f1 ahelp 2018-01-03 16:30:27 -05:00
ninjanomnom
2c040ac85e x = x | y instead of x |= y because they act different 2017-12-18 11:11:35 -05:00
Emmett Gaines
278d25fdfd Quick access hotkeys for backpack and belt (#33501)
* quick access hotkeys for backpack and belt

* fix for mousetrap bombs

* adds help text
2017-12-16 23:17:39 -05:00
Emmett Gaines
4ec09a0c19 Re-Support old hotkey mode behaviour (#33460)
* supports old hotkey mode behavior

* testmerge fixes
2017-12-17 15:35:47 +13:00
Leo
8f70453d30 Fixes outdated admin hotkeys (#33505)
F7 is buildmode again
F8 invisimin and control + f8 is stealth mode
2017-12-14 04:43:55 -05:00
ninjanomnom
7b7b67edd8 In-code key handling system 2017-11-30 07:40:27 -05:00