mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-01 05:02:33 +00:00
* Changes necrosis_prob to use decaylevel. * Reverts previous change to create a new branch. * Ports over full screen from BayStation12. * Adds fullscreen keybind. F11 to toggle. * Apply suggestions from code review I want to strange @1080p Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Signed-off-by: Spaghetti-bit <60483458+Spaghetti-bit@users.noreply.github.com> * Makes fullscreen to non-fullscreen more seamless. Still has to readjust the chat box size similar to how someone would do it if they manually adjusted their chatbox size. This is currently unavoidable. * Fixing lint angy * Gives the user input in the chat when they toggle fullscreen on or off. * gives the user a tip on how to enable and disable fullscreen * readability --------- Signed-off-by: Spaghetti-bit <60483458+Spaghetti-bit@users.noreply.github.com> Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
27 lines
569 B
Plaintext
27 lines
569 B
Plaintext
/datum/keybinding/client
|
|
category = KB_CATEGORY_UNSORTED
|
|
|
|
/datum/keybinding/client/admin_help
|
|
name = "Admin Help"
|
|
keys = list("F1")
|
|
|
|
/datum/keybinding/client/admin_help/down(client/C)
|
|
. = ..()
|
|
C.adminhelp()
|
|
|
|
/datum/keybinding/client/toggle_fullscreen
|
|
name ="Toggle Fullscreen"
|
|
keys = list("F11")
|
|
|
|
/datum/keybinding/client/toggle_fullscreen/down(client/C)
|
|
. = ..()
|
|
C.toggle_fullscreen()
|
|
|
|
/datum/keybinding/client/toggle_min_hud
|
|
name = "Toggle Minimal HUD"
|
|
keys = list("F12")
|
|
|
|
/datum/keybinding/client/toggle_min_hud/down(client/C)
|
|
. = ..()
|
|
C.mob.hide_hud()
|