Commit Graph

23206 Commits

Author SHA1 Message Date
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
4b7344c1ea UI/UX: Fix update button label bug
`setLabel()` does not work in `beforeAddingWidgets()`, use `setText()` instead as was originally used when the code was written.

This fixes a regression introduced in 0ace825d5f (almost exactly 10 years ago!)
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
0c9a136d7c UI/UX: Use password recovery dialog instead of opening webpage 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
4cabef6879 UI/UX: Make first Continue button in GP results screen centered
Since we only show one button at first, make it centered.  (This is the continue button that switches from displaying race results to overall GP results.)
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
QwertyChouskie
2c9e581c60 UI/UX: Fix race UX when something is unlocked
Challenge completion status is already shown on the race results screen, changing the icon and text of the Continue button just causes confusion.

Fixes https://github.com/supertuxkart/stk-code/issues/4859
2023-05-11 12:44:04 -07:00
Benau
d825c32e76 Fix tips 2023-05-05 12:02:07 +08:00
Semphriss
fd12829e5b
Revert "Hide the cursor during gameplay (#4861)" (#4862)
This reverts commit 07e22b033b.
2023-04-25 08:40:34 +08:00
Semphriss
07e22b033b
Hide the cursor during gameplay (#4861)
* Hide the cursor during gameplay

The cursor will show back up whenever:
- The mouse is moved
- The game is paused
- The race finished

This is probably not the best implementation, but it's a start.

* Wrap mouse display code in PT_MAIN checker

* Moved mouse display code to updateGraphics

* Protect SDL calls with #ifndef SERVER_ONLY

---------

Co-authored-by: Semphris <semphris@protonmail.com>
2023-04-23 16:32:11 +08:00
Mike Blumenkrantz
64c74ed516
declare some ssao.frag variables as highp to avoid precision issues (#4860)
this fixes opaque shadow rendering on drivers that implement
mediump as 16bit

fixes #4855

Signed-off-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
2023-04-18 16:00:52 +08:00
Benau
94fa3c8a63 Remove some gcc compiler warnings 2023-04-15 11:55:15 +08:00
Benau
69fdbb8f45 Add missing exception handling in shader loading threads 2023-04-14 09:56:06 +08:00
Benau
8c90d7b3d0 Fix missing srgb for compressed textures 2023-04-13 12:56:06 +08:00
Benau
f9d10fe9ff Don't pause in network game for debug dialog 2023-03-30 08:14:47 +08:00
Benau
6f789164ff Add srgb image view for vulkan engine 2023-03-20 10:08:18 +08:00
Benau
7817e14a5a Add pbr texture handling for vulkan engine 2023-03-19 11:35:11 +08:00
Benau
c170c69749 Load pbr textures for vulkan engine 2023-03-18 14:52:37 +08:00
Benau
12a8b1da1d Update haiku file_manager handling code 2023-03-12 08:26:20 +08:00
Benau
1a3a944a97 Update translation source, AppData and Desktop file 2023-03-09 08:19:19 +08:00
searinminecraft
1eb48e25f0
Add previously missing Lap Trial mode in game modes help screen 2023-03-08 10:43:22 +08:00
Benau
5e161f663d Clean m_ondemand_load_texture_paths after texture loaded 2023-03-04 10:26:31 +08:00
Benau
dcc7397668 Make dumpAllTextures usable in legacy video drivers 2023-03-03 22:35:58 +08:00
Gwyn Ciesla
27eb0f3116 gcc13 fixes 2023-02-23 08:56:27 -06:00
Benau
9eda9f7559 Add current ai count to server lobby 2023-02-21 10:41:54 +08:00
Benau
f5800ac487 Fix #4847 2023-02-06 08:06:53 +08:00
Deve
ad74f20bdf Add shaderc to linux builder 2023-02-03 22:20:57 +01:00
Benau
1f8ffccd97 Allow disabling gift boxes and bananas indicators by removing their textures 2023-02-02 08:01:45 +08:00
Benau
90277eebd5 Fix #4843 2023-01-28 10:01:12 +08:00
Heiko Becker
0163e3fa88 Add missing includes to fix the build with gcc 13
Like other versions before, gcc 13 moved some includes around and as a
result <stdexcept> and <cstdio> are no longer transitively included.
Explicitly include them for std::runtime_error and snprintf.
2023-01-26 16:35:54 +01:00
Benau
1041736750 Rename setting string as sven suggested 2023-01-23 08:21:01 +08:00
Benau
be0c83e9a8 Add getGeometryLevel to scripting engine 2023-01-22 14:47:40 +08:00
Jip Fr
d0bbf8f5f4 Make bot names start at one 2023-01-21 00:10:30 +01:00
Benau
ab3defb424 Remove draw_translucently in draw2DImage 2023-01-11 11:27:43 +08:00
Benau
a85bf04b1c Update download assets size 2023-01-09 16:24:41 +08:00
Benau
292bafcf9a Check for libshaderc.so (used by debian) 2023-01-08 08:15:06 +08:00
Benau
e798c1abee Remove rotation uniform in gl shaders 2023-01-08 08:08:35 +08:00