swwmgz_m/zscript/kbase
Marisa the Magician 5488bfce5d Remove code built on incorrect assumptions about UI events.
That is, remove code for closing menus with the key that's bound to open them.
As it turns out, UIEvent.keystring isn't 1:1 with key binds for a command.
This SEEMINGLY worked since the Demolitionist Menu is by default bound to Q,
and pressing Q does send an UIEvent to the menu with the string "Q". But if,
for example, the menu had been bound to Tab, this would fall apart because then
the key string sent is "	" (a literal tab character).
If there is a way to do this properly, I don't know about it. I've looked
everywhere in GZDoom's code for a solution, something that would let me do what
I need, but alas, there is nothing there. Better to get rid of this in its
entirety than keep the flaky code in the mod until someone with a special
setup that breaks it shows up to complain.
2022-08-13 14:28:09 +02:00
..
swwm_kbase.zsc Remove code built on incorrect assumptions about UI events. 2022-08-13 14:28:09 +02:00
swwm_kbase_list.zsc Use SetClipRect to avoid DTA_Clip* spam in many places. 2022-04-22 12:40:00 +02:00
swwm_kbase_priv.zsc Fix collectibles playing "fail use" sound. 2022-08-06 15:35:02 +02:00
swwm_kbase_tab.zsc Interpolation for all menus (choppy in 4.8.0 due to a bug). 2022-06-23 23:11:34 +02:00
swwm_kbase_textbox.zsc Fix scroll jitter in demolitionist menu. 2022-07-21 12:50:22 +02:00
swwm_kbasetab_chat.zsc Fix scroll jitter in demolitionist menu. 2022-07-21 12:50:22 +02:00
swwm_kbasetab_games.zsc Interpolation for all menus (choppy in 4.8.0 due to a bug). 2022-06-23 23:11:34 +02:00
swwm_kbasetab_help.zsc Remove code built on incorrect assumptions about UI events. 2022-08-13 14:28:09 +02:00
swwm_kbasetab_inventory.zsc Fix collectibles playing "fail use" sound. 2022-08-06 15:35:02 +02:00
swwm_kbasetab_keychain.zsc Add 16px separation between columns in inventory and keychain tabs 2022-07-24 19:44:26 +02:00
swwm_kbasetab_library.zsc Fix mousewheel handling in Stats and Library tabs. 2022-08-08 00:04:19 +02:00
swwm_kbasetab_mission.zsc Interpolation for all menus (choppy in 4.8.0 due to a bug). 2022-06-23 23:11:34 +02:00
swwm_kbasetab_secret.zsc Fix scroll jitter in demolitionist menu. 2022-07-21 12:50:22 +02:00
swwm_kbasetab_stats.zsc Fix mousewheel handling in Stats and Library tabs. 2022-08-08 00:04:19 +02:00
swwm_kbasetab_store.zsc Disable buying of nuggets (your ears will thank me). 2022-07-28 23:42:57 +02:00