Commit Graph

157 Commits

Author SHA1 Message Date
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
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
035a761b30 Fix text overlapped with long translation 2021-02-22 10:14:06 +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
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
ce13648721 camera settings 2020-12-23 21:39:30 -06: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
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
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
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
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
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
Benau
5feed3186a Hide the anonymous hardware statistics button because server is down 2020-06-16 14:07:49 +08:00
Benau
d2474f79aa Update strings for iOS STK 2020-06-13 16:16:27 +08:00
Benau
980bc0903a Use a better english source for clearer translation 2020-05-01 12:21:32 +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
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
Benau
7174bcb741 Change help for touch device 2020-03-15 13:55:40 +08:00
Benau
1ea75b5f0e Update translation string 2020-03-07 11:53:43 +08:00
Benau
bd513646ac Show a better change team text for multitouch device 2020-03-01 10:17:00 +08:00
GuillaumeBft
2ff79baf26
Add rename config option (#4233)
* Add rename config option

* xmlDe/Encode to deal with " character

* m_config_name string -> stringw

* wcslen() -> empty() , remove useless c_str()
2020-02-19 00:37:26 +08:00
Benau
7ba8dfd0a0 Adjust size for some language 2020-02-03 16:11:09 +08:00
Benau
b816f94269 Add a continue button for multitouch device in kart selection 2020-02-03 15:31:25 +08:00
Benau
a079019bb2 Fix possible too long translation 2020-02-02 16:38:26 +08:00
QwertyChouskie
a68e652fa6 Skin padding implementation (#4195)
* Implement box model spacing for skin elements

* Account for padding when spacing out on-screen keyboard

* Fix padding for Tutorial button on Help screen

* Reduce spacing between tabs
(Also removed a couple duplicated files.)

* Change verticalTab margin as per Benau's request
Uses `vborder_out_portion`, which is how it was done before.

* Remove duplicate files

* Adjust spacings after PNGs were adjusted in a previous commit

* Improve spacing of verticalTabs

* Slightly increase the tabbar width in the Options screens

* Slightly increase the tabbar width in the help screens
2020-01-13 13:02:50 +08:00
Benau
82cbf3b09f Fix not enough space for uninstall full game assets button 2019-12-25 13:29:56 +08:00
Benau
fb6bedc101 Enable word wrap in screens where text could be too long 2019-12-25 12:21:27 +08:00
Benau
1e99d8cbbb Improve addons screen layout 2019-12-18 14:29:27 +08:00
Alayan
ad8ef2df11 Fix #3376
The UI layout should be improved, but functionality and translatable strings are there as needed.
2019-12-18 04:25:18 +01:00
DoggoOfSpeed
5273dac899 Fix #4149 (#4171) 2019-12-14 08:48:50 +08:00
Benau
0c10389333 Fix overflowed list in addons screen 2019-12-11 01:13:16 +08:00
GuillaumeBft
1115118a13 Show only possessed checkbox in addons screen #3376 (#4162)
* Show only possessed checkbox in addons screen

* add var w_show_possessed

* Update addons_screen.stkgui
2019-12-11 00:12:45 +08:00
杜茂森
340ec706b0 UI fix bundle XIII (#4138)
* UI fixes && Icon support for powerups

* Better loading icon size

* Fix #4145

* Fix a small bug

* Add alternative icon support & avoid duplicating icons
2019-11-28 16:13:00 +08:00
Benau
10a125c407 Fix string after icon name update 2019-11-27 12:23:47 +08:00
Deve
426be8f3c1 Add continue button to cutscenes 2019-11-24 00:55:57 +01:00
Alayan
325f19d30b Improve the layout of the GP info screen 2019-11-10 23:17:50 +01:00
Deve
fb4ecf6a00 Better fix for icon button alignment 2019-11-10 10:25:19 +01:00
Benau
f4da9718c5 Fix gui warnings 2019-11-08 16:24:58 +08:00
Deve
435e8c3747 Revert "Allow to use "extremely large" font size."
This reverts commit 4f9070ee53.
2019-11-07 22:57:13 +01:00