Commit Graph

22498 Commits

Author SHA1 Message Date
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
riso
ad5ffc4900
small fix of kart color slider and kart icon in result screen (#4454)
* use default kart color instead of 100 in kart color slider

* scale kart icon in race results

* prevent using font->getDimension
2020-12-26 15:45:28 +08: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
David Carlier
edcf9cb624 OpenBSD utility build update. 2020-12-24 16:17:51 +00: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
922296f5eb Use correct calling method for jni functions 2020-12-08 09:03:47 +08:00
Benau
0e1732c45d Implement auto acceleration for steering wheel from mobile control 2020-12-08 08:51:30 +08:00
Benau
7f9f4dc182 Fix compilation with latest sdl2 2020-12-05 14:22:59 +08:00
Nathan Mills
ff2d4a950e
Fix access out of bounds warning with Cppcheck 2.2 (#4438) 2020-12-05 14:15:44 +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
5596a800f1 Add link to preview release binaries 2020-12-04 12:04:43 +08:00
Benau
dbee027949 Remove references to unused library dependencies 2020-12-04 12:02:27 +08:00
Benau
5500b4dcc9 Avoid making filenames lower case in windows
It breaks fallback translation (zh_TW to zh_tw) which tinygettext
uses zh_TW to detect
2020-12-04 11:08:20 +08:00
Benau
ad7751f952 Allow android 4.1 build 2020-12-04 10:04:44 +08:00
Benau
3f0eb215f7 Replace glew with glad with vulkan support 2020-12-04 09:39:06 +08:00
Benau
85984d143a Only count approved addons for indicator 2020-12-01 16:17:47 +08:00
Benau
61833c9c26 Fix compilation with latest SDL 2020-11-29 12:42:11 +08:00
Benau
273c157b93 Add badge to indicate new addons for downloading 2020-11-28 00:57:40 +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
Benau
0a273d8882 Display race gui in 1 more spectating mode 2020-11-17 01:19:19 +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
David Carlier
a27737ef85 xdg-open NetBSD supports it too. 2020-10-24 23:01:10 +01:00
Deve
801675603c Some fixes for android build script 2020-10-24 23:46:45 +02:00
MrIceblock
af4cb91f47
Fix some more typos (#4414)
* Some more grammar fixes.

* Fix a typo.
2020-10-25 01:04:54 +08:00
MrIceblock
9d7c63803e
Typo (#4413) 2020-10-24 16:33:07 +08:00
Benau
9dbb8e2c8f Fix #4406 2020-10-24 10:11:44 +08:00
Benau
89256f6e30 Update translation 2020-10-24 09:25:49 +08:00
Benau
ccd3f8144c Update first time internet dialog string for removed hardware stats 2020-10-24 09:25:24 +08:00
RedstonekPL
e7557128dd
Fixed a typo in camera.cpp
There was a minor typo on line 71.
2020-10-23 20:05:30 +02:00
Newbyte
f5d4475efc Fix build when SDL2 is built with DirectFB support 2020-10-23 12:23:43 +02:00
David Carlier
eace0982a2 DragonFlyBSD support, mainly FreeBSD codepath. 2020-10-10 14:14:49 +01:00
Benau
23e4960fef Don't show kart team completely when spectate 1 in lobby 2020-10-06 07:00:57 +08:00
Dmitry Marakasov
4d97c5156c Fix include path order for all bundled libraries
...to avoid picking system includes when bundled libraries are used

Issue: #4372
2020-10-02 13:05:36 +02:00
riso
0274cd7bd8
Support theming for kart icons (#4395) 2020-10-01 19:11:11 +02:00
QwertyChouskie
4b47cf3f24 Remove separate menu FPS throttling
We should let VSync/m_max_fps (which defaults to 120) do their job.  If a monitor has a refresh rate even slightly higher than 60FPS (e.g. 60.0007FPS), throttling will introduce stutters, even more so at modern high refresh rates (75, 90, 120, etc.)

This also cleans up the code, e.g. the var name `m_throttle_fps` was also being used in the main loop for a different function, despite having the same var name.
2020-09-27 17:10:17 -07: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
Benau
2fc992ded9 Fix possible crash 2020-09-21 00:49:23 +08:00