Commit Graph

17259 Commits

Author SHA1 Message Date
Benau
e00a81a961 Fix broken ProgressBarMessage after 8f596e29b3 2023-08-15 10:48:21 +08:00
Benau
a47e69d74e Add animated by step texture matrix for kart model 2023-07-27 08:11:51 +08:00
CodingJellyfish
3b043b7f47
Fix #4876 (#4897) 2023-07-21 08:37:08 +08:00
CodingJellyfish
13f61d609c
Fix #4893 (#4894) 2023-07-16 09:53:40 +08:00
CodingJellyfish
8f596e29b3 Add multiple skin container & Fix #4891 2023-07-13 16:09:38 +08:00
kimden
1ed896bf9e Fix start positions for negative sidewards distance 2023-06-29 00:40:38 +03:00
Benau
c2840e972b Always add 1 player when leaving the lobby without splitscreen players added 2023-06-24 12:42:57 +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
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
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
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
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
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
Benau
94fa3c8a63 Remove some gcc compiler warnings 2023-04-15 11:55:15 +08:00
Benau
f9d10fe9ff Don't pause in network game for debug dialog 2023-03-30 08:14:47 +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
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
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
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
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
e798c1abee Remove rotation uniform in gl shaders 2023-01-08 08:08:35 +08:00
Benau
9dd9363ab4 Make draw2DImageCustomAlpha usable in legacy video drivers 2023-01-07 11:18:12 +08:00
Benau
65b2e2104a Avoid leaking widgets (model view especially) when closing STK
It crashes when vulkan validation is on if closing during kart
selection screen
2023-01-06 17:01:29 +08:00
Benau
7ecaf74dd3 Remove incorrect animation data in some b3d models, see #4829 2023-01-05 11:15:50 +08:00
Benau
8544f19b59 Fix #4834 2023-01-05 10:33:39 +08:00
Benau
93613d884e Compile SPIR-V shaders with multiple threads 2023-01-01 10:26:38 +08:00
Benau
bed2228ac8 Remove search textfield widget in non-network tracks screen 2022-12-30 11:05:24 +08:00
QwertyChouskie
3bad8d943a
Fix capitalization of categories, fixes #4622 (#4832)
- Fix capitalization of "Standard" in kart and track selection screens
 - Fix both "All" and "Standard" in random GP screen
 - Code style/documentation/consistency improvements
2022-12-28 01:27:55 +08:00
Benau
92a3035fb2 Fix #4830 2022-12-08 16:26:28 +08:00
Benau
ddc0b9d1ed Add setDirtyOffset for GEVulkanDynamicSPMBuffer 2022-12-05 16:32:00 +08:00
Benau
90a22a691a Use GEVulkanDynamicSPMBuffer on streaming buffers 2022-11-29 13:02:36 +08:00
Benau
fd579111e1 Add setNormal and setTCoords for IMeshBuffer 2022-11-27 09:07:07 +08:00
Benau
641dbcf9c0 Add support for 3-letter language code in android 2022-11-26 11:11:55 +08:00
Benau
0fbbd7bbaa Allow using fixed laps in server with --laps option 2022-11-21 12:30:17 +08:00
Benau
257c208a1d Use libsquish in stk-code for android 2022-11-19 16:52:08 +08:00
Benau
bc311a445e Use libsquish for skybox texture compression 2022-11-19 16:01:54 +08:00
Benau
9e70abb631 Remove IAnimatedMeshSceneNode.h in header files 2022-11-19 13:29:21 +08:00
Benau
c8a828aa00 Remove ISceneNode.h in check_line.hpp 2022-11-19 12:33:17 +08:00
Benau
b77333749c Remove irrlicht headers in referee.hpp 2022-11-18 10:36:13 +08:00
Benau
f522e4c72f Remove IMesh.h in header files 2022-11-18 10:18:19 +08:00
Benau
3ecc4ccdad Remove IFileSystem.h in file_manager.hpp 2022-11-18 09:24:31 +08:00
Benau
a688912872 Remove IrrlichtDevice.h and IVideoDriver.h in header files 2022-11-17 11:09:56 +08:00
Benau
d170f0f445 Remove irrlicht.h in remaining code if unneeded 2022-11-17 08:46:54 +08:00
Benau
6b9a34b767 Remove irrlicht.h in tracks code 2022-11-17 08:21:58 +08:00
Benau
ec76b29633 Fix android compilation 2022-11-17 08:14:41 +08:00
Benau
c4306186b1 Fix compilation 2022-11-16 21:21:33 +08:00
Benau
0a1e22451b Remove irrlicht.h in graphics code 2022-11-16 10:54:38 +08:00
Benau
8fb52db8f2 Remove irrlicht.h in font code 2022-11-16 09:26:30 +08:00
Benau
e6111a4084 Remove irrlicht.h in glwrap.hpp 2022-11-16 09:12:08 +08:00
Benau
0cd458cff4 Add skid marks rendering for legacy video drivers 2022-11-15 12:28:33 +08:00
Benau
86391e8b8e Add shadow rendering for legacy video drivers 2022-11-14 14:04:23 +08:00
Benau
58223928d8 Add rubber band rendering for legacy video drivers 2022-11-13 16:08:54 +08:00
Benau
013d604846 Update download assets size 2022-11-12 09:19:23 +08:00
Benau
b4fff82dc1 Add more options for frame rate 2022-11-10 11:17:23 +08:00
Benau
4e8744f047 Improve accuracy of frame rate limiter 2022-11-09 14:06:31 +08:00
Benau
4c7353a3a4 Add fullscreen desktop option for non-ge capable device 2022-11-08 12:08:27 +08:00
Benau
89337a6d11 Fix billboard text not disappearing after player disconnects 2022-11-05 09:05:13 +08:00
Benau
f79ffffc64 Hide slipstream for eliminated kart 2022-11-04 14:29:09 +08:00
Benau
0c2b81ac1f Fix missing rotation when lto is used, see #4811 2022-11-03 11:39:25 +08:00
Benau
412f30d2c1 Fix incorrect color emoji position after resizing window 2022-10-31 13:18:54 +08:00
Denis Kim
0546c1c91a
Avoid triggering other goal lines when the goal is already scored (#4802) 2022-10-31 11:38:05 +08:00
Jörn Eichler
538e03c514
fix parachute powerup (#4738)
only deshield karts ahead of the kart firing the parachute
2022-10-31 11:37:54 +08:00
Benau
54973d0174 Fix missing news text in main menu if loading is too fast 2022-10-31 10:39:54 +08:00
Benau
61bd2a6e70 Fix legacy device in switch homebrew
Allow setting it from config.xml
2022-10-31 09:31:44 +08:00
Benau
cab25432c2 Update download assets size 2022-10-30 16:50:27 +08:00
Benau
d2a1144cf4 Fix possible division by zero 2022-10-27 09:16:43 +08:00
Benau
b2d1f94adc Fix hovering ghost kart since 2696ef2 2022-10-26 12:55:03 +08:00
Benau
5beafdce8e Fix #4808 2022-10-25 09:48:22 +08:00
Benau
683f5ece7f Fix thunderbird traffic light in legacy video drivers 2022-10-24 13:39:01 +08:00
Benau
7109729010 Add slipstream meshes to irrlicht mesh cache
This enables instancing of them in vulkan engine
2022-10-23 10:02:54 +08:00
Benau
243f7f7008 Add slipstream rendering for all video drivers 2022-10-20 12:42:36 +08:00
Benau
1b604666c3 Fix sky particles rendering in modern gl3 too, see #2779 2022-10-17 09:33:51 +08:00
Benau
5ecdc11ffd Fix sky particles rendering in vulkan
Align them with the vertical axis
2022-10-16 12:08:02 +08:00
Benau
cfb10dbb1f Make sure sky particles always fall vertically 2022-10-15 14:31:07 +08:00
Benau
1fc460ff4e Add flips particle rendering for vulkan 2022-10-14 10:17:58 +08:00
Benau
e5318d8ea9 Fix crash when minimizing in windows 2022-10-04 13:55:51 +08:00
Benau
82218afc40 Reset video driver in GE when vulkan creation fails 2022-09-25 09:55:32 +08:00
Benau
dd9808fd05 Fix uninitialized m_current_ai 2022-09-22 16:32:54 +08:00
Benau
e4515e7454 Add AI number detection in server screen 2022-09-22 10:46:19 +08:00
Benau
cfd7fa662b Show a dialog and revert if device is not vulkan capable 2022-09-21 10:33:54 +08:00
Benau
4f0b9644a8 Update download assets size 2022-09-19 11:23:44 +08:00