Commit Graph

3938 Commits

Author SHA1 Message Date
Benau
4ad30fa2bf Update to latest noto color emoji 2022-10-31 12:26:37 +08:00
Benau
0e142e645c Handle vertex color in render info for COGLES2FixedPipelineRenderer 2022-10-19 09:29:06 +08:00
Benau
1b604666c3 Fix sky particles rendering in modern gl3 too, see #2779 2022-10-17 09:33:51 +08:00
Benau
b2404aadd2 Reduce instance data size
MoltenVK has no DrawIndex support yet
2022-10-02 16:41:09 +08:00
Benau
51496cf5ef Fix moltenvk without binding all mesh textures 2022-09-28 08:56:15 +08:00
Benau
5424d4fe77 Fix typo in ge shaders 2022-09-27 15:21:08 +08:00
Benau
40f218e6c8 Update translation source 2022-09-20 11:30:44 +08:00
Benau
0b405a8642 Update translation and AppData file 2022-09-19 10:35:12 +08:00
Benau
4d79ccdea5 Add different texture per draw call for billboard 2022-09-18 10:54:22 +08:00
Benau
a36276811e Fix missing vertex color in gles2 driver
Also make sure all vertex colors are applied after colorization is done
2022-09-16 10:58:17 +08:00
Benau
b77160527c Fix texture matrix for gles2 driver 2022-09-15 09:01:55 +08:00
Benau
16173207ee Add colorization support for gles2 driver 2022-09-15 08:30:24 +08:00
Benau
23470bbde2 Add custom vertex color to instance data 2022-09-12 11:07:22 +08:00
Benau
76c39afd8b Add colorization for vulkan 2022-09-11 11:05:33 +08:00
Benau
ebd380c0bc Allow using real addon karts in networking 2022-09-10 15:49:21 +08:00
Benau
e52a9dce59 Fix particle xml after code change 2022-09-09 10:08:54 +08:00
Benau
dcad21b830 Use uniform rendering code for particle rendering
1. Remove pow in shader and do srgb conversion in code

2. Fix setGreen and setBlue order

3. Multiply particle color first like vertex color in the other shaders

4. Fix incorrect smoothstep
2022-09-09 09:41:32 +08:00
Benau
155b73d452 Remove unneeded pow in transparent.frag
It's only used in 2d rendering so no srgb sampling is needed
2022-09-08 15:24:40 +08:00
Benau
90453e6128 Update AppData file game screenshots url 2022-09-04 08:35:32 +08:00
Benau
0b4bf178d7 Add texture matrix support in vulkan 2022-09-02 09:07:43 +08:00
Benau
1703e829eb Keep fullscreen checkbox focus when toggling it 2022-08-30 09:27:54 +08:00
Benau
97e5064535 Use location, rotation and scale instead of model matrix in vulkan 2022-08-26 09:36:30 +08:00
Benau
adedc7e80f Update translation, AppData and Desktop file 2022-08-24 11:56:49 +08:00
Benau
4f9d40f3b2 Add GEVulkanSkyBoxRenderer 2022-08-21 14:09:56 +08:00
Benau
2696ef2567 Add shader to render ghost kart 2022-07-30 09:03:56 +08:00
Benau
1a953b8a6c Add grass shader 2022-07-29 10:51:14 +08:00
Benau
e9d3152c1a Add more shaders 2022-07-28 13:37:09 +08:00
Benau
3f99e63a3c Don't use sampler array for non-single texture descriptor
Devices like Apple A8 don't support it
2022-07-27 13:54:22 +08:00
Benau
d4b2b03174 Add animated mesh rendering 2022-07-26 12:47:31 +08:00
Benau
3d0d666e09 Add texture mapping 2022-07-21 12:26:06 +08:00
Benau
f768badee0 Add initial 3d rendering 2022-07-19 15:56:08 +08:00
Benau
8affae4861 Update translation, add Macedonian 2022-05-28 15:38:22 +08:00
Benau
364e380dfd Update translation source, AppData and Desktop file 2022-05-25 09:03:57 +08:00
Benau
090d2e8038 Add new things to Appdata generation script 2022-05-25 09:01:04 +08:00
Benau
4c97bcbae5 Update translation file from transifex 2022-05-25 08:58:54 +08:00
Benau
0dbbf1a6e6 Fix bluetooth mouse in iOS
See 19c129faba
2022-04-15 17:37:08 +08:00
Benau
ea1733ed08 Add drawing code for devices with low sampler images 2022-03-20 13:35:22 +08:00
Benau
1cf2c0c5bf Add initial 2D vulkan rendering 2022-03-19 15:14:55 +08:00
Benau
cb607a16ff Add GEVulkanShaderManager 2022-03-18 16:24:33 +08:00
Benau
854c31be9d Update CREDITS 2022-03-05 08:57:39 +08:00
luffah
bd1b20ad35 Minimap and powerup icon settings in user settings
- add size and display settings for powerup icon in user settings
 - move minimap display settings in user settings
 - fix some comments in stk_config.xml
2022-02-13 22:36:20 +01:00
Benau
b286ee9195 Fix #4687 2021-12-03 10:23:31 +08:00
Benau
d1c0acac83 Fix #4653 2021-12-03 10:16:30 +08:00
Benau
38425305a5 Remove useless translation po files 2021-11-15 11:16:53 +08:00
Benau
33e6110737 Update localized language names and use tsv file for them 2021-11-15 10:58:48 +08:00
Benau
d064f8d96e Update translation source 2021-11-14 16:20:08 +08:00
Benau
dfd1912c33 Add track searching to network track screen 2021-11-14 16:11:21 +08:00
Benau
4d08ea2335 Update Noto Emoji to support Unicode 14 2021-11-11 17:07:51 +08:00
Kuba
3623fa8f5f
Add Lap Trial mode (#4663) 2021-11-02 03:02:16 +08:00
QwertyChouskie
8b5b68585c Allow specifying a base skin
Anything not provided or defined by a skin will be used from the defined base skin, if specified.

For example, if a skin provides a base_theme of "cartoon", any icons/buttons/etc. not provided by the skin will be pulled from "cartoon".
2021-11-01 00:11:31 +08:00
Heuchi
e110948eb5 add configuration for item return times in stk_config.xml 2021-10-24 10:02:05 +02:00
Benau
6809c9585d Add don't show again button to driver dialogs, fix #4645 2021-10-10 16:43:49 +08:00
Benau
1c983f7090 Remove 1.3-rc1 in AppData
Also update translation source
2021-10-08 11:36:05 +08:00
Benau
9b25557e6e Remove restriction for android screen keyboard after using SDL2 2021-10-04 20:17:27 +08:00
Benau
9bf537ab35 Update cacert.pem and remove expired DST Root CA X3 certificate 2021-10-03 01:39:50 +08:00
Richard Qian
d5f8496abc
Enable grand prix races in high score dialog (#4626) 2021-09-30 09:57:59 +08:00
Benau
fd7564d508 Update translation and AppData 2021-09-28 15:04:56 +08:00
BryanQuigley
781273b472
Add releases bit to appstream xml. (#4624)
Noticed this was added to the flatpak here: https://github.com/flathub/net.supertuxkart.SuperTuxKart/blob/master/fix-AppData-file.patch
2021-09-27 10:11:34 +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
Benau
a4015beb29 Update URLs to allow clicking 2021-09-08 13:48:20 +08:00
Benau
f9fa9a764b Update CREDITS 2021-08-30 16:53:37 +08:00
QwertyChouskie
efbd8eb75e
Screen-space refection: many fixes + optimization (#4575) 2021-08-30 16:34:02 +08:00
Benau
25301f9cc6 Update translation source 2021-08-30 16:10:01 +08:00
Benau
bd3fd0957a Update translation and AppData 2021-08-26 01:22:22 +08:00
riso
2251663c1e
Tooltip background for Coal skin (#4584)
* small file size of tooltip.png
2021-08-24 12:04:01 +08:00
riso
a5f0c71a34 put gaugefill_rainbow in the correct place 2021-08-19 17:14:19 -05:00
riso
b1980bc461 color slider for Cartoon 2021-08-15 11:26:52 -05: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
Benau
bc667d3b36 Update translation source 2021-08-06 09:36:00 +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
6e8ede289c Update translation and credits 2021-07-17 13:30:16 +08:00
Benau
a62c355e91 Add code to generate official karts list 2021-07-17 10:59:13 +08:00
Benau
dc7eb1e76c Update translation source 2021-07-14 10:49:17 +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
Benau
097ed56626 Update translation and source 2021-06-20 12:50:57 +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
Benau
a3e1732ac7 Update translation and AppData file 2021-05-21 23:17:09 +08:00
Benau
38bcb92d53 Fix #4533 2021-05-21 23:13:55 +08:00
Benau
32e489b88e Update translation source, AppData and Desktop file 2021-05-08 11:13:41 +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
Benau
008884bd72 Update translation 2021-05-02 14:10:04 +08:00
Benau
8819e633f8 Update translation 2021-03-22 08:14:53 +08:00
Benau
cf6bbfae05 Update translation and AppData 2021-03-13 00:52:30 +08:00
Benau
723b13e9c7 Update translation source 2021-03-13 00:52:15 +08:00
Mary
0dd3c62a43
Discord rich presence (#4500)
* WIP RPC support

* Might have windows support now, don't peek

* Windows support

* RichPresence: __SWITCH__ => DISABLE_RPC (for MOBILE_STK support)

* RichPresence: Handle JSON strings according to spec, support for addons icon

* RichPresence: use translated difficulty name

* RichPresence: disable when client_id=-1

* RichPresence: thread connection, show server name on RPC

* RichPresence: destroy on close

* RichPresence: don't compile methods at all if DISABLE_RPC

* RichPresence: fix windows compile (untested)

* RichPresence: fix for mac

* RichPresence: Linux needs MSG_NOSIGNAL still

* RichPresence: fix memory leaks, don't spam update while not connected

* RichPresence: free thread on terminate

* RichPresence: handle initial registration

* RichPresence: fix compiler warning
2021-03-10 10:47:33 +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