stk-code_catmod/src/states_screens
Richard Qian 969de9e751
Improved artist debug mode (#4501)
* Add more functionality to the debug menu

Includes:
* Front of kart view
* Inverse side of kart view
* Change to kart #9 or #10
* Attachments for AI karts

* Fix enumeration value not handled in switch for debug camera

* More enhancements to the debug menu, part 2

Includes:
* Restore access to the anchor/anvil powerup
* Clear the current powerup or attachment
* Change to kart #11 or #12
* Flatten karts as if they were hit by a swatter
* Block most of the view with plungers

* Enable executing some keypress actions from the debug menu in a new sub-menu

Includes:
* Rescuing karts from menu
* Pausing the game from menu (but keypresses will cause the game to crash)
* Moved "To next kart" menu entry to be right below "To previous kart" for easier reach

* Change print kart positions to info level, better labeling of side kart views

* Prevent crashes when trying to use 'Behind wheel view' on a ghost kart

* Add close button to the debug slider dialog, and a function to enable/disable spinners

* Make it easier to read and select kart camera targets from the debug menu

* Add another dialog (reusing the debug slider code) to allow the user to select
from a slider the kart number to change to

* The 11th and 12th target slots have been removed to make the submenu cleaner,
but the 9th and 10th slots have been left in place

* The predefined slots (1st place to 10th place) actually use numbers

* Improve the appearance of the FPS (frames per second) counter

* Shift the position closer to the center, so that in-race kart icons are not obscured
* The box and text position adapt based on the screen resolution
* Use a thin black border for the font, and make the font white-colored
* Decrease the font scaling to 0.7, so that other UI elements can be seen more easily

* Improve debug keyboard shortcuts handling, rearrange some shortcuts

Most shortcuts are now handled by Debug instead of InputManager directly
Other changes include:
* Fix moving right in 1st-person view not working
* Change the 1st-person view shortcuts to work more like in Blender
* Add more keyboard shortcuts for quickly seeing the top and sides of a kart
* The key to show player list in soccer mode no longer needs to be held down
* Rearrange some shortcuts to flow more naturally

New list of debug keyboard shortcuts:
* F1 - Normal view
* F2 - Top view
* F3 - Right side of kart view
* F4 - Left side of kart view
* F5 - 1st-person view
* F6 - Reload SP textures
* F7 - Next kart
* F8 - Previous kart
* F9 - Show player list in soccer mode
* Q - Move 1st-person view camera down
* E - Move 1st-person view camera up
* R - Rotate 1st-person view camera right
* F - Rotate 1st-person view camera left

* Exit demo mode when there also are no dialogs active; fixes related crashes

* Improve the debug menu, various fixes to some menu items, and mouse-accessible actions

Includes:
* Debug menu opens at the cursor position, but not at off-screen places
* Ensure that the debug menu stays (almost) within the actual window
* Middle mouse button can also be used to access the debug menu
* Move all items into submenus, rearrange most submenus to keep a compact size
* Add ability to set powerup and nitro amount by debug slider dialog
* Label the some commands with the new keyboard shortcuts
* Screenshots can now be saved via the debug menu
* Texture reloading can now be done via the debug menu

* Add more debug shortcut keys, change many of the existing ones

The full shortcuts list will be explained later

Includes:
* Use Control and Shift keys to fit more shortcuts onto fewer keys
* Label the debug menu items with the keys that can be used to activate them
* Fix more debug menu items causing game crashes in certain situations
* Add help message dialog to tell users the list of static/debug shortcuts; incomplete
* Slightly alter the free margins that the debug menu can appear in
* Render target textures (RTT) can now be dumped via the debug menu
* Replace the 10th kart camera target with the last kart camera target
* Switch the shortcuts used for activating history save and manual replay saving

* Finish labelling the remaining debug actions, complete the debug keys help dialog

Unfortunately, the now unused tutorial message dialog has been repurposed for this use,
and the font sizes greater than 'Large' will cause some text to draw outside the dialog

* Document the remaining command-line parameters, clean up some of them

This adds another method that will print out the previously undocumented debug options

Rename --gamepad-visuali[s,z]ation to --gamepad-visuals

Also fix some comments related to the user config, including the game mode numbers

* The AI cannot handle the anvil powerup anymore, but it won't spam logs anymore
2021-03-08 11:23:28 +08:00
..
dialogs Improved artist debug mode (#4501) 2021-03-08 11:23:28 +08:00
online Support broadcast address on switch (and better service calls) (#4498) 2021-03-04 11:23:03 +08:00
options Support for Nintendo Switch (#4491) 2021-03-04 09:23:23 +08:00
addons_screen.cpp Allow downloading addon icons on demand, fixed #2844 2020-06-16 14:02:55 +08:00
addons_screen.hpp Fix #3650 2019-02-06 01:04:09 +08:00
arenas_screen.cpp Turn race manager into a singleton get for 2 processes 2020-02-28 09:42:44 +08:00
arenas_screen.hpp Complete fix to arena selection menu (handle random arenas) 2015-12-10 15:49:47 +08:00
credits.cpp Remove separate menu FPS throttling 2020-09-27 17:10:17 -07:00
credits.hpp Fixed credits screen 2019-06-14 21:47:52 +02:00
cutscene_general.cpp Add continue button to cutscenes 2019-11-24 00:55:57 +01:00
cutscene_general.hpp Add continue button to cutscenes 2019-11-24 00:55:57 +01:00
cutscene_gui.cpp Fixed linking problems - will probably not run ;) 2016-11-14 09:59:08 +11:00
cutscene_gui.hpp Merged with master, solved conflicts 2016-06-18 19:28:54 +02:00
easter_egg_screen.cpp Turn race manager into a singleton get for 2 processes 2020-02-28 09:42:44 +08:00
easter_egg_screen.hpp Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
edit_gp_screen.cpp Several UI fixes (#4484) 2021-02-12 02:01:11 +08:00
edit_gp_screen.hpp Several UI fixes (#4484) 2021-02-12 02:01:11 +08:00
edit_track_screen.cpp Fix #4406 2020-10-24 10:11:44 +08:00
edit_track_screen.hpp Improve the GP editor's track picker layout and behavior 2020-09-03 21:14:11 +02:00
feature_unlocked.cpp More configurable music (loop end support, different race result music) (#4445) 2020-12-21 02:14:52 +01:00
feature_unlocked.hpp Fixed compiler warnings, and many coding style issues. 2018-06-20 08:22:23 +10:00
ghost_replay_selection.cpp Turn race manager into a singleton get for 2 processes 2020-02-28 09:42:44 +08:00
ghost_replay_selection.hpp Fixed memory leak 2018-10-02 22:16:37 +02:00
gp_info_screen.cpp Turn race manager into a singleton get for 2 processes 2020-02-28 09:42:44 +08:00
gp_info_screen.hpp Merged with master, solved conflicts 2016-06-18 19:28:54 +02:00
grand_prix_cutscene.cpp Turn race manager into a singleton get for 2 processes 2020-02-28 09:42:44 +08:00
grand_prix_cutscene.hpp Try to combine all text field dialogs 2016-12-26 10:53:14 +08:00
grand_prix_editor_screen.cpp Fix #4011 (#4130) 2019-11-08 16:31:49 +01:00
grand_prix_editor_screen.hpp Try to combine all text field dialogs 2016-12-26 10:53:14 +08:00
grand_prix_lose.cpp More configurable music (loop end support, different race result music) (#4445) 2020-12-21 02:14:52 +01:00
grand_prix_lose.hpp Fix #3597 2019-07-08 01:45:36 +08:00
grand_prix_win.cpp More configurable music (loop end support, different race result music) (#4445) 2020-12-21 02:14:52 +01:00
grand_prix_win.hpp Fix #3597 2019-07-08 01:45:36 +08:00
help_screen_1.cpp Use the last used input device when launching the tutorial from the help menu 2021-03-07 12:16:23 -06:00
help_screen_1.hpp Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
help_screen_2.cpp New help menu (#3322) 2018-06-20 20:57:40 -04:00
help_screen_2.hpp Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
help_screen_3.cpp New help menu (#3322) 2018-06-20 20:57:40 -04:00
help_screen_3.hpp Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
help_screen_4.cpp New help menu (#3322) 2018-06-20 20:57:40 -04:00
help_screen_4.hpp Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
help_screen_5.cpp New help menu (#3322) 2018-06-20 20:57:40 -04:00
help_screen_5.hpp Add help page with icons for banana penalties 2016-11-04 22:16:06 -05:00
help_screen_6.cpp New help menu (#3322) 2018-06-20 20:57:40 -04:00
help_screen_6.hpp New help menu (#3322) 2018-06-20 20:57:40 -04:00
help_screen_7.cpp New help menu (#3322) 2018-06-20 20:57:40 -04:00
help_screen_7.hpp New help menu (#3322) 2018-06-20 20:57:40 -04:00
high_score_selection.cpp In-game high scores management (#4483) 2021-02-12 11:12:43 +08:00
high_score_selection.hpp In-game high scores management (#4483) 2021-02-12 11:12:43 +08:00
kart_selection.cpp Allow real addon kart hitbox if live-spectate disabled 2020-07-21 00:58:14 +08:00
kart_selection.hpp Remove hasHardwareKeyboard because it's not reliable in iOS 2020-06-16 08:04:46 +08:00
main_menu_screen.cpp Fix english 2021-02-15 15:38:48 -08:00
main_menu_screen.hpp Ask if user want to play tutorial when new profile is created 2020-02-02 16:32:57 +08:00
offline_kart_selection.cpp Fix clang screen.hpp warning 2018-03-23 20:20:09 +08:00
offline_kart_selection.hpp Added missing GPL license. 2015-03-30 11:42:28 +11:00
race_gui_base.cpp Fix overworld trophy points not being displayed in mobile STK 2021-02-03 09:46:28 +08:00
race_gui_base.hpp Add race gui resizing 2020-06-09 11:05:56 +08:00
race_gui_multitouch.cpp Fix overworld trophy points not being displayed in mobile STK 2021-02-03 09:46:28 +08:00
race_gui_multitouch.hpp Add more spectator camera to mobile stk 2020-07-17 20:57:27 +08:00
race_gui_overworld.cpp Fix strings for mobile STK 2020-06-13 15:45:03 +08:00
race_gui_overworld.hpp Fix overworld trophy points not being displayed in mobile STK 2021-02-03 09:46:28 +08:00
race_gui.cpp Fix the icon size in vertical split screen 2021-02-06 08:59:08 +08:00
race_gui.hpp Add a minimap indicator for basket-balls 2020-08-21 19:43:17 +02:00
race_result_gui.cpp Small fix of icon size on race result ui and space size on race gui (#4455) 2020-12-27 10:23:43 +08:00
race_result_gui.hpp Fix assertion when resizing screen in result gui 2020-07-05 09:20:58 +08:00
race_setup_screen.cpp Turn race manager into a singleton get for 2 processes 2020-02-28 09:42:44 +08:00
race_setup_screen.hpp Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
soccer_setup_screen.cpp Update translation string 2020-03-07 11:53:43 +08:00
soccer_setup_screen.hpp Rename soccer team to kart team for CTF 2018-08-15 15:13:55 +08:00
state_manager.cpp Remove separate menu FPS throttling 2020-09-27 17:10:17 -07:00
state_manager.hpp Remove separate menu FPS throttling 2020-09-27 17:10:17 -07:00
track_info_screen.cpp In-game high scores management (#4483) 2021-02-12 11:12:43 +08:00
track_info_screen.hpp Track info screen partial clean-up 2019-10-23 23:52:17 +02:00
tracks_and_gp_screen.cpp Allow track screen searching with name 2020-07-10 22:12:45 +08:00
tracks_and_gp_screen.hpp Allow track screen searching with name 2020-07-10 22:12:45 +08:00