Commit Graph

23220 Commits

Author SHA1 Message Date
CodingJellyfish
8f596e29b3 Add multiple skin container & Fix #4891 2023-07-13 16:09:38 +08:00
Boreal
9443a66878
Clarify Shaderc Punctuation 2023-07-04 13:25:44 -07:00
kimden
1ed896bf9e Fix start positions for negative sidewards distance 2023-06-29 00:40:38 +03:00
Benau
545348fe37 Update for the latest MoltenVK and astcenc 2023-06-25 16:36:45 +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
Benau
c2840e972b Always add 1 player when leaving the lobby without splitscreen players added 2023-06-24 12:42:57 +08:00
Benau
d5886cf2ef Update translation, AppData and Desktop file 2023-06-22 14:56:51 +08:00
Snoker101
747cd8f128
Update soccer_world.cpp (#4875)
* Update soccer_world.cpp

edited getRescueTransform function in soccer_world.cpp so that the rescue bird places the kart towards the ball in soccer, as requested by many players.
2023-06-20 08:50:44 +08:00
Benau
0d22d03104 Fix instruction for online options 2023-06-16 01:41:46 +08:00
Newow
41609ef69a
Add fflush(stdout) after writing to stdout with printf
fixes issues with backlog when server is running through a pipe
2023-06-11 14:55:53 +06:00
Benau
3d76bc0108 Keep server bookmarks in save order 2023-05-26 11:15:44 +08: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
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