Commit Graph

22491 Commits

Author SHA1 Message Date
QwertyChouskie
559a72aab5
Fix english
Minor fix.
2021-02-15 15:38:48 -08:00
Benau
262c8f2f07 Fix #4488 2021-02-13 10:33:26 +08:00
Benau
cde382bcff Update translation source, appdata and desktop file 2021-02-12 12:47:57 +08:00
samuncle
5cb36e38cf
Feature/enable lod autocompute (#3970)
* Enable LoD autocompute

* bring back the autocompute lod function

* Add the area as main function to compute the lod level

* Bring back the area based auto lod computation

Co-authored-by: samuncle <samuncle06@gmail.com>
2021-02-12 11:16:38 +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
ee91cf31e2 Fix missing space in fatal error for non-parent armature bone detection 2021-02-11 12:11:25 -06:00
Richard Qian
9fdec3067e Fix a minor issue for the comment with difficulty not showing SuperTux mode 2021-02-11 12:06:33 -06: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
4aecc8988d Fix iOS build 2021-02-09 01:41:03 +08:00
Benau
1b062279c6 Update translation 2021-02-08 10:42:28 +08:00
Benau
85cea43077 Allow starting offline CTF from command line 2021-02-08 10:32:10 +08:00
Benau
41bbe3df20 Fix #4477 2021-02-08 08:54:28 +08:00
Benau
d2b98456a7 Fix #4475 2021-02-08 08:25:48 +08:00
jean
89acc4e6a0 Removing sky dome (not used anywhere + deprecated even in irrlicht) 2021-02-07 21:56:58 +01: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
ab2e35579f Remove old unused properties 2021-02-07 20:33:29 +01:00
jean
6e64ce70df Remove compositing from supported features (it is replaced by shaders now and was deprecated anyway) 2021-02-07 19:29:30 +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
jean
279cfe2754 This removes transparency=yes a xml property not used with the newest exporter 2021-02-07 19:07:33 +01:00
Benau
6e3744157d Add /mute, /unmute and /listmute to mute certain player chat message 2021-02-07 01:33:37 +08: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
d9d665f45f Fix the icon size in vertical split screen 2021-02-06 08:59:08 +08:00
Benau
a97e65d068 Add smooth transition for soccer goal animation 2021-02-05 20:49:44 +08:00
Benau
5ccbb97046 Fix #4353 2021-02-05 14:58:19 +08:00
Benau
fa4318b6ad Implement smooth frame transition for animated mesh 2021-02-05 14:41:39 +08:00
Benau
01de29670a Fix overworld trophy points not being displayed in mobile STK 2021-02-03 09:46:28 +08:00
Benau
06500e18ca Make init android dialog header more visible 2021-02-03 01:24:58 +08:00
Benau
64b58e5790 Fix #4473 2021-01-30 11:01:46 +08:00
Benau
08f402c825 Replace travis with github action 2021-01-29 09:47:33 +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
Semphriss
d5ae0f60d4
GitHub Actions workflow can now be triggered manually (#4474)
Co-authored-by: Semphris <semphris@protonmail.com>
2021-01-29 01:38:37 +08:00
Benau
feb0b0a68c Add warning when low battery level for joysticks 2021-01-28 12:23:21 +08:00
Benau
e05c0b095d Update translation 2021-01-28 11:32:16 +08:00
Semphriss
7d366acd42
Added GitHub actions worlkflow file for Linux (#4472)
* Added GitHub actions worlkflow file for Linux

Also includes content needed for macOS, but macOS builds are disabled because harfbuzz can't seem to install properly

* Change license of GitHub Actions workflow file to CC0

Co-authored-by: Semphris <semphris@protonmail.com>
2021-01-27 23:59:19 +08:00
Benau
d1c2688510 Fix outdated new addon arrow if stk is killed in background 2021-01-26 16:33:19 +08:00
Benau
65f23987f1 Fix inconsistent kart size with server 2021-01-26 14:52:22 +08:00
David CARLIER
eb5bb253f3 debugging current thread id on apple too 2021-01-22 20:44:57 +00:00
Joshua Samenfink
011b2cecf2
Change Ubuntu to Debian-based Distributions (#4468)
Ubuntu is based on Debian :)
2021-01-22 17:05:31 +08:00
Deve
b064c38f09 Disable light scattering on android by default 2021-01-21 23:04:36 +01:00
Deve
3b02643db3 Try to enable advanced lighting on newer android phones.
We can see what is the feedback if it's fast enough for users. It still looks much better than without advanced lighting even when resolution is lower.
2021-01-20 00:12:12 +01: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
David CARLIER
2899cf8977 Mac M1 build fix proposal avoiding mixing up with homwbrew for Rosetta
as well.
2021-01-09 22:33:42 +00:00
Omer I.S
b77bd9816d
Update Noto Sans Hebrew (#4462)
* Delete NotoSansHebrew-Regular.ttf

* Update Noto Sans Hebrew

* Delete NotoSansHebrew-Black.ttf

* Update Noto Sans Hebrew
2021-01-06 00:47:09 +08:00
Julian Schönbächler
c799fedf45 Fixing minor ambient lighting bug
Spherical harmonics: if no ambient map assigned, use specified color (but correctly)
2021-01-03 02:07:43 +01:00
riso
3a2632dd62
Small fix of icon size on race result ui and space size on race gui (#4455)
* fix team icon size on race result UI (scale based on text size)

* solve issue of too large space between score and score limit for monospace font
2020-12-27 10:23:43 +08:00