Commit Graph

3830 Commits

Author SHA1 Message Date
Benau
cde382bcff Update translation source, appdata and desktop file 2021-02-12 12:47:57 +08:00
Richard Qian
f136c6fe36
In-game high scores management (#4483)
* Add in-game high score selection screens, based on the ghost replay screens

Its functionality is basic for now, mainly to let players have a central place to view
their high scores

Other things to improve:
* Allow sorting the high score entries by criteria
* Allow deleting high score nodes and possibly entries
* Use better icons

* The string for the high scores title in the track info screen can now be translated

* Refine in-game high score selection screens

Includes:
* High score info dialog now shows track and setup information
* A race can be started with the displayed setup, using the current player and kart
* Icon to access the screen now placed between the tutorial and achievements buttons
* It is possible to delete a specific high score group or all of the high score groups
* Change the order of some columns to make them easier to hide for non-linear modes
* The list will now filter out enpty high score groups

* Replace bomb icon (as used in the help menu) with the full object version from STK 0.8

It has been edited to remove most of the transparency in the object itself

* Implement column clicking in the high score selection screen, and minor GUI fixes

Note that high score entry sorting is not yet working properly

Includes:
* Top right buttons replaced by button bar containing them; fixes unreliable clicking
* High score manager has some one-line functions moved into its header file
* High scores can be sorted by some criteria
* Sorting is done before every time high scores are saved

* Fix header define names for the high score info dialog

* Fix high score sorting, reorganize its associated code

* More refinements to the high score selection screen

Includes:
* Clearing high scores no longer causes memory leaks
* The manual refresh button has been removed, as it has been deemed useless

* Remove unused header files for the high scores information dialog header

* The high scores box in the track information screen no longer has '='

* Fix pressing escape key in the high score information dialog crashing the game

Also remove unused widget variables and unnecessary function overrides

* Do not write high scores for races that have 0 laps and/or have no real karts

* Allow passing a parameter to prevent high scores from temporarily being written

This setting lasts only as long as the game runs; it is useful during track and
kart animation testing, where unwanted high score entries should not be written

* Force update sources.cmake, as new source files are being added for high scores screens

* Fix memory leak and strings

Co-authored-by: Benau <Benau@users.noreply.github.com>
2021-02-12 11:12:43 +08:00
Richard Qian
a3b34e6823
Several UI fixes (#4484)
* Open the confirm dialog if exiting the grand prix editor with changes by escape key

* When launching the tutorial, use the last used device instead of the first keyboard

* When launching story mode, use the last used device instead of the first keyboard

* Make the kart color selection dialog more consistent with other dialogs

Includes:
* Add an icon button bar with containing actions to apply changes or to cancel them
* The kart only shows its straight frame, without animation; it is slightly smaller
* Adjust the vertical space between widgets, to try keeping the kart size larger

* Use a button bar for the video settings and custom camera settings dialog
2021-02-12 02:01:11 +08:00
samuncle
b43b5c6201
Merge pull request #4478 from supertuxkart/feature/remove-old-code
A lot of old options for materials.xml format where flagged as deprecated. They are now removed. Addons will not break but might have a few visual artifacts. They should be upgraded by artists to the new structure.

The blender exporter was also cleaned.
2021-02-08 23:30:30 +01:00
Benau
1b062279c6 Update translation 2021-02-08 10:42:28 +08:00
jean
cee3cb79a5 Removed clouds feature. Should be done with custom shaders now. Could be in the future part of weather 2021-02-07 21:31:22 +01:00
jean
91980a2fdd compositing=coverage was not used and blend was replaced by shader 2021-02-07 19:20:19 +01:00
jean
60d3e6cc1c Port material to newest format 2021-02-07 19:12:13 +01:00
Benau
03a684e62e Update translation source 2021-02-06 10:00:28 +08:00
Benau
5d5f01b4b5 Add backward distance in camera setting gui 2021-02-06 09:13:36 +08:00
Benau
06500e18ca Make init android dialog header more visible 2021-02-03 01:24:58 +08:00
Benau
63ee2baf48 Add new fonts for Malayalam translation 2021-01-29 09:38:12 +08:00
Benau
9448f95475 Update translation 2021-01-29 09:36:34 +08:00
Benau
e05c0b095d Update translation 2021-01-28 11:32:16 +08:00
Deve
a7a1c8abca Some work with scale rtts.
IMO auto scale doesn't have much sense on desktop computers, because advanced lighting was enabled by default for a long time and graphics level 3 should be fast enough as it is. And still now rtts scale it's easily configurable in options.

I fixed deactivated "render resolution" spinner when you enter graphics options when advanced lighting is disabled.

I also added a function that reads dpi on android and it sets rtts scale based on this value. SDL is not initialized yet in this place, so getDisplayDPI() is not possible.
2021-01-19 23:58:51 +01:00
QwertyChouskie
6d3ee0ce31 Add Render resolution (scale_rtts) slider with auto-mode
Auto mode adjusts based on your display's DPI in order to hit a target DPI.  Currently it will default to Always Full for render resolution, but High Quality or even Quality might make a good default, community testing is needed.
2021-01-19 00:12:20 +01:00
riso
5f6eb5e440
Few improvements of spinner and option UI (#4453)
* few improvements of option UI

* small fix

* show the correct spinner text when not activated

* camera name for translation

* clean the code (loop camera spinner)
2020-12-26 03:29:56 +08:00
riso
0d10f11a7f reset camera settings 2020-12-23 23:23:27 -06:00
riso
ce13648721 camera settings 2020-12-23 21:39:30 -06:00
Richard Qian
0db8d50359
More configurable music (loop end support, different race result music) (#4445)
* Allow setting [again] track reverse mode via command line

* Make composer field in music information files optional

* Add support for loop end of music

* Remove print statements used for checking current music play time

* Support playing different music on race results screen

Also make them configurable in stk_config.xml

* Allow configuring grand prix win/lose and feature unlocked music in stk_config.xml

* Fix coding indentation style

* Fix warning when scrolling track screenshots in grand prix results

* Display the rank a player kart finishes in if not in 1st place
2020-12-21 02:14:52 +01:00
Benau
82b7ab0d17 Update translation 2020-12-08 09:27:54 +08:00
Benau
0e1732c45d Implement auto acceleration for steering wheel from mobile control 2020-12-08 08:51:30 +08:00
Benau
9f1ae2b761 Try to fix missing translation for korean 2020-12-04 13:53:46 +08:00
Benau
847e9ed417 Update translation, desktop file and appdata 2020-12-04 13:53:07 +08:00
Benau
ae077290bb Update translation source 2020-11-19 14:27:18 +08:00
Benau
60cb0a1ccd Remove duplicated strings 2020-11-19 14:26:45 +08:00
Benau
8eb318675d Allow saving custom camera settings 2020-11-19 12:17:01 +08:00
dulsi
e2d4936056
Add gamerzilla support to achievements. (#4386)
* Add gamerzilla support to achievements.

* Move all gamerzilla code into one file. Should we want to support another achievement system like Steam, it can be isolated to the WebAchievementsStatus class.

* Add WebAchievementsStatus files.

* Add version number to achievements file. Update graphics. Generate achievement list from internal system.
2020-10-31 11:32:40 +08:00
Benau
89256f6e30 Update translation 2020-10-24 09:25:49 +08:00
QwertyChouskie
1e90c734a3
Condense checkboxes in video options
With the font size set to "Very Large" and the theme set to "Cartoon", the Apply button went slightly outside of the main box.  This fixes that by putting the two checkboxes on the same row, which saves a bit of valuable horizontal space.
2020-09-25 20:35:58 -07:00
Benau
e97d33d6f5 Improve english in AppData 2020-09-21 09:33:35 +08:00
Adnan1091
995fdf8c81 Optimize images 2020-09-09 19:47:37 +03:00
Benau
3bb0f76726 Update translation, AppData and desktop file 2020-09-09 14:49:07 +08:00
Benau
b84f8dcbd3 Generate translation percentage in AppData 2020-09-07 13:01:48 +08:00
Benau
761876d685 Add script to auto update all google play store listings 2020-09-07 11:29:13 +08:00
Benau
6600d16790 Allow generating message for google play beta 2020-09-07 00:45:36 +08:00
Benau
9533cb9d2f Update script to extract message for google play 2020-09-07 00:08:44 +08:00
Benau
6b496f1892 Make AppData translatable and fix #2314 2020-09-04 21:54:02 +08:00
Benau
4ed6c3ce7a Add missing whitespace 2020-09-04 21:46:35 +08:00
Alayan
073e5a4314 Improve the GP editor's track picker layout and behavior
This improves things for #4378 but is not a comprehensive solution. It also includes unrelated improvements to this screen.

- Switch from 2 track rows to 3 track rows. This allows to show more tracks at once. Nonetheless amount of white space between track pictures is still significant. Showing the track name below each track is part of the issue, as it needs space on the bottom and margins on the side to avoid track names overflowing onto each other. Word-wrap for track title would incur a small vertical cost while gaining a lot of horizontal space. Alternatively, the track names could be hidden and only shown on hover (like the game's main track selection screeen).
- Select the standard set of tracks by default instead of all.
- Reduce the amount of vertical spacing for the buttons below the track picker.
- Group laps/reverse and ok/cancel vertically instead of horizontally. This creates clear visual blocks, as the reduced vertical spacing didn't work out well otherwise.
- Add a new selected track picture. The selected track's name is always shown as title, but some users may miss it or not know track names well enough. Now, which track is going to be added to the GP when clicking ok is obvious.
- When selecting a different track, change the lap number to the track's default.
2020-09-03 21:14:11 +02:00
Benau
a36c68542e Make supertuxkart.desktop translatable 2020-09-03 16:43:30 +08:00
Benau
90013b089e Update changelog and credits 2020-08-28 01:42:13 +08:00
Benau
96b065cadf Rename Modern skin to Cartoon to fix #4344 2020-08-27 01:21:42 +08:00
Benau
3c6127daab Update donors 2020-08-26 01:29:39 +08:00
Benau
138dbc7dc4 Update countries translation using tsv file 2020-08-24 22:44:28 +08:00
Benau
96541a2837 Update translation 2020-08-24 10:33:40 +08:00
Benau
369c346857 Use SheenBidi instead of FriBidi and libraqm 2020-08-24 00:55:10 +08:00
Benau
18d66db516 Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
Benau
a8572a7582 Update to emoji 13.0 2020-08-12 00:53:33 +08:00
Benau
2e12eeaa83 Add install addon button in lobby for missing current track 2020-07-29 01:30:47 +08:00
Benau
8b61197e21 Fix #4337 2020-07-28 09:48:39 +08:00
Benau
9599117c28 Add high dpi support to supported platforms 2020-07-22 09:41:15 +08:00
QwertyChouskie
4270533f07
Fix button spacing in grand_prix_win.stkgui 2020-07-20 00:57:16 -07:00
QwertyChouskie
247d1162ee
Fix button spacing in grand_prix_lose.stkgui
On HiDPI these buttons were too small.
2020-07-20 00:56:26 -07:00
QwertyChouskie
519708ad0c
Fix "Custom" button padding in UI Options screen
Also simplify the surrounding code a bit.
2020-07-19 13:19:36 -07:00
Benau
912e3037c0 Update translation 2020-07-19 14:25:13 +08:00
Benau
a3b0c4d240 Make android game data extraction ui translatable 2020-07-19 14:21:14 +08:00
Benau
32cc160630 Allow any addon karts in online with tux hitbox in physics
Live join and spectate are now possible too
2020-07-18 10:04:07 +08:00
Benau
296b38ea51 Allow track screen searching with name 2020-07-10 22:12:45 +08:00
Benau
e848713ed4 Improve english source 2020-07-10 13:07:27 +08:00
Benau
c487ad0166 Update translation source 2020-07-10 12:13:12 +08:00
Luffah
0a6a487b29
add camera settings in option screen (#4273)
* add camera settings in option screen

* Remove camera settings (distance, backward/forward angles, smoothing) from kart characteristics

Co-authored-by: luffah <luffah@runbox.com>
2020-07-10 11:39:19 +08:00
luffah
039a4ac233 update CREDITS 2020-07-09 15:30:58 +02:00
Deve
4e57642d7a Remove some DriverRecentEnough from graphical restrictions.
The graphics engine changed a lot since this warning was added and it's
quite possible that it works now. Also that warning causes issues for newer
drivers that have eg. version 4.3.xxx.
2020-07-03 23:41:02 +02:00
Benau
571cca90d6 Update translation 2020-06-16 14:24:04 +08:00
Benau
5feed3186a Hide the anonymous hardware statistics button because server is down 2020-06-16 14:07:49 +08:00
risostk
22987062d2 make red team color also configurable 2020-06-14 22:00:58 -05:00
Benau
d2474f79aa Update strings for iOS STK 2020-06-13 16:16:27 +08:00
Benau
9c0c7f62c9 Update translation source 2020-05-31 12:04:26 +08:00
Benau
3c80892b86 Allow specifying python version in update_pot.sh 2020-05-31 12:01:47 +08:00
Benau
68aa1c3346 Update translation 2020-05-18 00:01:43 +08:00
Benau
ed32329eb3 Update localized language name 2020-05-13 16:33:28 +08:00
Benau
54aac69f5e Update translation source 2020-05-13 15:18:39 +08:00
Benau
3d74dfea34 Add team chat for online team game 2020-05-08 09:21:37 +08:00
QwertyChouskie
a776650986
Modern skin (#4265)
* Modern skin
The culmination of years worth of work!  Thanks to all who helped make this as amazing as possible!
PNGs were ran through `pngquant` then `optimize_data.sh` for maximum smallness

* Shrink a multitude of icons
Ran through `optipng` then `optimize_data.sh`
2020-05-08 01:16:55 +08:00
Benau
80d1ba6b10 Revert "Allow music title to be translatable, fix #4281"
Some translator and stk fans think it is confusing
2020-05-06 14:28:46 +08:00
Benau
0db86f6d52 Update translation source 2020-05-05 10:47:22 +08:00
Benau
70a9aaf5a5 Rename Exit Race to Quit Server to avoid confusion 2020-05-05 10:40:31 +08:00
Benau
d03a821e53 Allow music title to be translatable, fix #4281 2020-05-05 10:22:21 +08:00
QwertyChouskie
28b9d3aea8
Add PrefersNonDefaultGPU=true to .desktop
See http://www.hadess.net/2020/05/dual-gpu-support-launch-on-discrete-gpu.html for details.
2020-05-04 17:56:43 -07:00
Benau
980bc0903a Use a better english source for clearer translation 2020-05-01 12:21:32 +08:00
Benau
4d72b118e3 Batch glyph for quicker text rendering 2020-05-01 09:34:04 +08:00
Benau
ea6115273d Update translation source 2020-04-28 10:34:42 +08:00
Benau
11757a557a Update gui strings and hide some button for mobile stk (with gamepad) 2020-04-28 10:20:24 +08:00
luffah
cd7aa2c90c replace split screen horizontal checkbox by a spinner vertical/horizontal 2020-04-19 15:56:49 +02:00
QwertyChouskie
c840b2b2c9 Use better icon for adding friend 2020-04-08 18:17:07 -07:00
Benau
211249211b Update translation 2020-04-03 14:29:57 +08:00
Benau
b7adc72cb9 Fix missing icon swap-icon.png 2020-04-03 13:32:03 +08:00
QwertyChouskie
ea4d3c03a9
Allow theming of powerup/attachment icons (#4258)
* Allow theming of powerup/attachment icons
Icons were optimized with `pngquant` then `optimize_data.sh`

* Change help screens to use icons from icons folder rather than `models`
2020-04-03 13:18:50 +08:00
QwertyChouskie
da5cbee577 Fix missing track icon on track info screen not being themed
Also fixes the aspect ratio and increases the resolution.
2020-03-28 18:19:51 -07:00
QwertyChouskie
3c627170ee Increase size of Loading icon
Also center the whole icon+text to the center of screen, rather than
centering the icon and putting the text below
2020-03-20 12:10:35 -07:00
luffah
8449bf2714 add camera parameter forward-smoothing (bool to set smoothing) and implement forward-up-angle in smoothing case 2020-03-15 19:32:15 +01:00
Benau
bb3e54fd88 Update translation source 2020-03-15 15:56:56 +08:00
Benau
1b3cc83235 Avoid using android robot icon 2020-03-15 14:05:41 +08:00
Benau
7174bcb741 Change help for touch device 2020-03-15 13:55:40 +08:00
Benau
840a8cbb2d Add tablet icon for touch device icon 2020-03-15 13:54:28 +08:00
Benau
89685bd101 Update translation 2020-03-15 10:33:50 +08:00
Benau
364936e37b Allow getting stun server list using SRV records 2020-03-15 10:05:13 +08:00
Benau
490bb88cb0 Fix wrong size of accelerator icon in init dialog 2020-03-13 00:20:27 +08:00
Benau
1ea75b5f0e Update translation string 2020-03-07 11:53:43 +08:00