stk-code_catmod/data
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
..
challenges Switch the green valley challenge to Black Forest 2019-03-13 03:53:47 +01:00
gamerzilla Add gamerzilla support to achievements. (#4386) 2020-10-31 11:32:40 +08:00
gfx Make more visible difference between skid1 and skid2. 2019-01-15 22:34:13 +01:00
grandprix Use black forest instead of green valley in the 4th GP 2019-03-13 03:54:42 +01:00
gui Improved artist debug mode (#4501) 2021-03-08 11:23:28 +08:00
po Generate desktop and AppData files with python script 2021-02-26 16:08:15 +08:00
replay Fix #4157 2019-12-05 12:10:37 +01:00
shaders Move premultiplied alpha to shader 2021-03-07 15:41:00 +08:00
skins Add new fonts for Malayalam translation 2021-01-29 09:38:12 +08:00
ttf Add new fonts for Malayalam translation 2021-01-29 09:38:12 +08:00
achievements.xml Add gamerzilla support to achievements. (#4386) 2020-10-31 11:32:40 +08:00
cacert.pem Update config to use the new online servers & remove hardcoded certificate (#3703) 2019-01-19 17:49:11 -05:00
country_names.tsv Update country names 2021-02-22 11:25:11 +08:00
CREDITS Update changelog and credits 2020-08-28 01:42:13 +08:00
emoji_used.txt Replace similar emoji with thinking face (more popular) 2019-10-07 16:39:34 +08:00
graphical_restrictions.xml Remove some DriverRecentEnough from graphical restrictions. 2020-07-03 23:41:02 +02:00
items.xml Fix #3581 2018-11-17 01:40:51 +08:00
kart_characteristics.xml add camera parameter forward-smoothing (bool to set smoothing) and implement forward-up-angle in smoothing case 2020-03-15 19:32:15 +01:00
localized_name.txt Update localized language name 2020-05-13 16:33:28 +08:00
optimize_data.sh Strip ICC headers from png files to silence warning 2015-06-05 03:32:26 +02:00
powerup.xml Tone down global items 2018-12-06 01:27:08 +01:00
stk_config.xml Add new fonts for Malayalam translation 2021-01-29 09:38:12 +08:00
supertuxkart_16.png Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
supertuxkart_32.png Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
supertuxkart_48.png Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
supertuxkart_64.png Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
supertuxkart_128.png Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
supertuxkart_256.jpg Support for Nintendo Switch (#4491) 2021-03-04 09:23:23 +08:00
supertuxkart_256.png Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
supertuxkart_512.png Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
supertuxkart_1024.png Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
SuperTuxKart-Info-iOS.plist Add launch screen from iOS dependencies 2019-10-18 23:01:07 +08:00
SuperTuxKart-Info.plist Add high dpi support to supported platforms 2020-07-22 09:41:15 +08:00
supertuxkart.appdata.xml Update desktop and AppData files 2021-02-26 16:23:20 +08:00
supertuxkart.desktop Update desktop and AppData files 2021-02-26 16:23:20 +08:00
supertuxkart.git Fix versioning for master branch (#3738) 2019-02-03 12:02:55 +01:00
supertuxkart.icns Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
thaidict.txt Add thai dictionary from ICU for linebreaking 2019-06-19 11:08:41 +08:00
tips.xml Tweaks to tips (#4193) 2020-03-04 11:56:10 +08:00