Commit Graph

1057 Commits

Author SHA1 Message Date
CodingJellyfish
3b043b7f47
Fix #4876 (#4897) 2023-07-21 08:37:08 +08:00
QwertyChouskie
f991468bf7
Clarify online chatting options
Fixes https://github.com/supertuxkart/stk-code/issues/4623
2023-06-24 00:47:07 -07:00
QwertyChouskie
1ff8b0fc9c UI/UX: Add success dialog for password change
This brings the UX more in line with password recovery and email change
2023-05-11 12:44:04 -07:00
QwertyChouskie
4932a60a9b UI/UX: Add new icon for Lap Trial mode
Also fix more license documentation stuff
2023-05-11 12:44:04 -07:00
QwertyChouskie
4174237302 UI/UX: Use dedicated icons for new/existing online account 2023-05-11 12:44:04 -07:00
QwertyChouskie
7dae679007 UI/UX: Use dedicated icon for online user profile button
Update license file accordingly, also fix some missing/incorrect documentation of licenses.
2023-05-11 12:44:04 -07:00
QwertyChouskie
21a0391ea0 UI/UX: Use better icons for player-related things
- Add and use new icons
- Make some labels more explicit
- Properly document copyright of both the new icons, and the icons used to make them
  - Note that the Cartoon icons fall under the same copyright as all other Cartoon icons, so no licenses.txt update is needed
2023-05-11 12:44:04 -07:00
QwertyChouskie
85d12931ce UI/UX: Use more applicable icons and labels 2023-05-11 12:44:04 -07:00
QwertyChouskie
315af9a7f9 UI/UX: Fix misc sizing/centering issues 2023-05-11 12:44:04 -07:00
QwertyChouskie
365e0074ee UI/UX: Improve keybinding dialog
- Better icons for actions
- Make dialog bigger, fixes squashed text issue
2023-05-11 12:44:04 -07:00
QwertyChouskie
b92fb66f38 UI/UX: Use OK button in Vote dialog 2023-05-11 12:44:04 -07:00
QwertyChouskie
f130f63209 UI/UX: Cutscene button tweaks
- Make button text "Skip" instead of "Continue"
- Move to right side
- Improve sizing
2023-05-11 12:44:04 -07:00
QwertyChouskie
275e962de8 UI/UX: Use better icon for Cancel/No/etc
Icon style now matches what is used for Confirm/Yes/etc
2023-05-11 12:44:04 -07:00
QwertyChouskie
935c6b2191 UI/UX: Put OK/Confirm/Yes on the right
In UX, back/cancel/etc buttons usually go on the left, while forward/confirm/etc go on the right.  (Note that even the icon for "Back" is a leftwards-pointing arrow.)  STK put the Back arrow button on general screens in the upper left corner, but before this commit, put back/cancel/etc on the right in dialogs and such.  This commit fixes things to be in line with standard UX conventions, and also in line with the pre-existing upper-left corner Back button placement on screens in STK.

https://ux.stackexchange.com/a/63239
2023-05-11 12:44:04 -07:00
QwertyChouskie
cce966683b UI/UX: Add back button on server creation screen
This functions the same as the cancel button, adding it for UI consistency.
2023-05-11 12:44:04 -07:00
QwertyChouskie
082d02eef3 UI/UX: Improve manual server connect dialog
- Center top text
 - Word wrap top text, fixes overflow on large font sizes
 - Better sizing/spacing of dialog and elements
2023-05-11 12:44:04 -07:00
QwertyChouskie
a99c554850 UI/UX: Remove unused dropdown.png icon
Look like this was added back in early development of the Irrlicht-based GUI engine, but this was never used for anything.
2023-05-11 12:44:04 -07:00
QwertyChouskie
5185e4c487 UI/UX: Remove unused main_race_multi icon
This icon isn't used anywhere.
2023-05-11 12:44:04 -07:00
QwertyChouskie
8a004adcad UI/UX: Remove unused dialog file
The code that called this dialog was removed in 2014 via 3372d06759
2023-05-11 12:44:04 -07:00
QwertyChouskie
be598ea1da UI/UX: Fix LayoutManager warnings
Fixes most of the occurrences of these warnings in the terminal/log:

[warn   ] LayoutManager: Statically sized widgets took all the place!!

Removing these spacers did not make a difference in actual layout/spacing according to my testing.
2023-05-11 12:44:04 -07:00
QwertyChouskie
dd6cbe4f88 UI/UX: Fix dialog text centering
`text_align="top"` isn't even valid, `top` is only valid for `text_valign`.  Not sure how this got messed up in the first place, but this finally fixes it.
2023-05-11 12:44:04 -07:00
searinminecraft
1eb48e25f0
Add previously missing Lap Trial mode in game modes help screen 2023-03-08 10:43:22 +08:00
Benau
b4fff82dc1 Add more options for frame rate 2022-11-10 11:17:23 +08:00
Benau
1703e829eb Keep fullscreen checkbox focus when toggling it 2022-08-30 09:27:54 +08:00
Benau
b286ee9195 Fix #4687 2021-12-03 10:23:31 +08:00
Benau
dfd1912c33 Add track searching to network track screen 2021-11-14 16:11:21 +08:00
Kuba
3623fa8f5f
Add Lap Trial mode (#4663) 2021-11-02 03:02:16 +08:00
Benau
6809c9585d Add don't show again button to driver dialogs, fix #4645 2021-10-10 16:43:49 +08:00
Richard Qian
d5f8496abc
Enable grand prix races in high score dialog (#4626) 2021-09-30 09:57:59 +08:00
Benau
df97d76bd7 Fix #4601 2021-09-10 17:11:15 +08:00
Benau
9a4fe66dc7 Fix strings 2021-09-10 01:10:30 +08:00
Alayan
f80d499982 Tweak the highscore info dialog to display more without scrolling with large fonts. 2021-09-08 15:42:46 +02:00
riso
7045f8dbf7 use a rainbow kart color slider 2021-08-13 21:09:24 -05:00
Benau
11ccdda699 Update translation source 2021-08-11 10:52:55 +08:00
Benau
e823852a21 Add cancel button in downloading addons and assets dialog 2021-08-11 09:28:06 +08:00
Richard Qian
35ddf4c4d9
See grand prix high scores in the GUI high score manager (#4573) 2021-08-10 01:49:49 +08:00
Benau
bc43eee98c Fix broken user creation since PR #4563 2021-08-06 12:46:45 +08:00
Kuba
0b45ac9fd9
Add grandprix highscore (#4566) 2021-08-02 11:38:07 +08:00
Benau
6673e3cc48 Update icons licenses 2021-07-23 23:01:19 +08:00
QwertyChouskie
8a7413b3e7
License documentation work (#4556)
* Properly document licenses of files in icons/android folder

* Fix documentation of two files in Cartoon skin
2021-07-19 18:11:56 +08:00
Benau
8711265877 Fix sometimes non-clickable server bookmark button 2021-07-14 10:40:30 +08:00
Benau
b465729304 Implement server bookmarks for global networking 2021-07-12 16:50:16 +08:00
Kuba
8f15575eef
Added e-mail change dialog (#4536) 2021-06-02 10:21:38 +08:00
Benau
d407bb08e2 Fix option device screen for small screen with long text 2021-05-22 09:06:24 +08:00
Benau
04a2306c4c Add ingame option to toggle force feedback of joysticks 2021-05-22 08:12:56 +08:00
Kuba
2cc16b4edb
Fixed issue #4243 (#4527) 2021-05-08 10:24:36 +08:00
Kuba
8add6fba2f
Added last entered IP addresses list (#4525) 2021-05-07 01:01:24 +08:00
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
Richard Qian
68e6e93f2e Use a button bar for the keypress dialog that appears during controller configuration 2021-03-07 12:13:32 -06:00
Richard Qian
33b75eae96 Use a button bar for the confirm resolution dialog, and make it slightly smaller 2021-03-07 12:09:47 -06:00