Benau
5aad3f1775
Don't assume command line values are always ascii
...
In case someone put unicode folder inside addons
2019-12-04 09:10:01 +08:00
Benau
d6654637bc
Fix typo
2019-12-04 08:51:33 +08:00
Benau
5dd208fdca
Show addon identity for live installation
2019-12-04 00:47:54 +08:00
Benau
97be595725
Add player addons scores info
2019-12-03 16:40:48 +08:00
Benau
01ec6e3c4d
Add server addon checker
2019-12-03 16:02:51 +08:00
Benau
f470ab7f44
Add player addon checker
2019-12-03 15:32:06 +08:00
Benau
ddbdf2d244
Add function to find STKPeer by player name
2019-12-03 14:10:38 +08:00
Benau
a3c6c63be8
Rename listclientaddon to listlocaladdon
2019-12-03 14:04:33 +08:00
Benau
1c82f5fd7e
Rewrite addon loading in ServerLobby for addons directory
...
So as long as they are in addons/karts or addons/tracks, they can be
used no matter what group they belong
2019-12-03 13:46:30 +08:00
Benau
9ea77528ef
Allow listing client installed addon
2019-12-03 13:24:34 +08:00
Benau
7c83a4f9f3
Reserve language info for translation
2019-12-03 12:55:41 +08:00
Benau
a9684f31e6
Allow reload skin list for addon (un)installation
2019-12-03 12:50:25 +08:00
Benau
e2505d0416
Allow remove unofficial addon (including skin)
2019-12-03 12:21:06 +08:00
Benau
6951a5e088
Add result for addon (un)installation
2019-12-03 11:35:39 +08:00
Benau
6062d3f169
Allow listing STK addons (available online officially)
2019-12-03 10:38:05 +08:00
Benau
6d3bb566be
Allow listing server addons
2019-12-03 10:26:01 +08:00
Benau
68d549e697
Add music volume command control in lobby
2019-12-03 01:57:58 +08:00
Benau
fe34619652
Rewrite RankingCallback for std::shared_ptr Request
2019-12-01 01:53:44 +08:00
Benau
4cb3383c4a
Remove the unneeded manage memory option in request
2019-12-01 01:19:51 +08:00
Benau
89d35f09fa
Replace observeExistence with std::weak_ptr of Request
2019-11-30 16:25:21 +08:00
Benau
13975cc5db
Use std::shared_ptr for Request to avoid leaking
2019-11-30 16:01:31 +08:00
Benau
77d563d082
Print unzip files only when debug printing
2019-11-30 13:54:35 +08:00
Benau
e450968bef
Fix race condition when user installs addons live in lobby
2019-11-30 13:10:33 +08:00
Benau
b2d496798f
Always clear the downloaded (part) files
2019-11-30 02:19:52 +08:00
Benau
a962954c5e
Allow install addons live in lobby
2019-11-30 02:03:56 +08:00
Benau
19d008d0f8
Add support for installing addons pack
2019-11-30 00:36:35 +08:00
Benau
07a43e0ca3
Fix download request leak if it failed
2019-11-29 22:31:53 +08:00
Benau
9103a66651
Allow remove directory recursively if it's inside addons folder
2019-11-29 21:25:25 +08:00
Benau
45e4175ba6
Add moveDirectoryInto function
2019-11-29 19:49:00 +08:00
Benau
81ca14d549
Fix #4148
2019-11-29 10:26:23 +08:00
Deve
771f37138c
Fixed speedrun timer checkbox visibility.
...
Using both setActive() and setVisible() together doesn't have much sense.
Especially that in init function the checkbox was made invisible, but in
eventCallback it was only made active, but still kept invisible.
2019-11-28 22:16:28 +01:00
Benau
a07ca7f365
Fix valgrind warning
2019-11-29 02:09:38 +08:00
Benau
04e552994d
Remove empty texture warning
2019-11-29 01:54:43 +08:00
Benau
8799369066
Rename config name which is not compatible with 1.0
2019-11-28 16:44:01 +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
13da9bb9c7
Load database with full path for installed stk
2019-11-26 12:01:11 +08:00
Deve
f60583542e
Fixed plural forms in most languages
2019-11-24 22:23:51 +01:00
Benau
520f1c7d3a
Fix broken kart animation for countdown timer in result screen
2019-11-24 12:14:29 +08:00
Benau
fe028b4534
Fix skidding ai crash
2019-11-24 11:37:02 +08:00
Benau
8c223cd2c2
Hide error message for hole drop arena
2019-11-24 11:08:08 +08:00
Deve
426be8f3c1
Add continue button to cutscenes
2019-11-24 00:55:57 +01:00
Benau
1a2beedb68
Use a smaller default wheel size for iPad
2019-11-23 13:18:06 +08:00
Benau
20ea7fe2ff
Improve rubber banding effects of rewinders when going back to phone
2019-11-23 12:52:38 +08:00
Benau
84a7c282ee
Fix android network ai crash
2019-11-23 12:49:00 +08:00
Benau
dd9c91be0c
Fix #4141
2019-11-23 12:31:55 +08:00
Benau
2c22dadddf
Apply deve fix for story mode timer
2019-11-23 11:41:53 +08:00
Benau
af2e609fff
Disable story mode timer for old profile
2019-11-23 08:58:32 +08:00
Deve
f0dd933ef6
Fixed a crash when starting cutscene using debug menu
2019-11-22 21:01:54 +01:00
Benau
65bb31b56f
Fix missing handicapped player names in soccer screen result
2019-11-21 01:36:45 +08:00
Alistair Findlay
10b2713093
Some small fixes ( #4140 )
...
* Some small fixes
* Some small fixes
added more fixes
* more wording improvements
* Fixed compilation failure
* More grammar and spelling
2019-11-17 01:33:15 +08:00
Benau
05f634228e
Fix invalid read of boolean after dialog dismissed
2019-11-15 16:32:49 +08:00
Alayan
c2e599f91e
Fix the reload button carrying over to the continue GP option
2019-11-10 23:23:03 +01:00
Deve
fb4ecf6a00
Better fix for icon button alignment
2019-11-10 10:25:19 +01:00
Benau
60d5233782
Fix #4133
2019-11-09 00:52:19 +08:00
杜茂森
69729e3e83
Fix #4011 ( #4130 )
...
Support setting the flip direction of tabs explicitly.
2019-11-08 16:31:49 +01:00
Benau
f4da9718c5
Fix gui warnings
2019-11-08 16:24:58 +08:00
Benau
bbbfe43120
Save number of ai karts per game mode when leaving track screen
2019-11-08 15:01:38 +08:00
Benau
1eec3bdfde
Fix valgrind warning
2019-11-08 13:57:11 +08:00
Benau
949752451c
Revert layout manager changes as it breaks addon screen
2019-11-08 13:27:50 +08:00
Benau
8582258cae
Fix several crashes after add or remove tracks from various places
2019-11-08 12:48:04 +08:00
Deve
435e8c3747
Revert "Allow to use "extremely large" font size."
...
This reverts commit 4f9070ee53
.
2019-11-07 22:57:13 +01:00
Alayan
658345c9ff
Improve in-race chat
...
* Limit in-race chat to 3 lines instead of 5
* Add an option to disable in-race chat (while keeping lobby chat)
2019-11-07 22:25:04 +01:00
Alayan
9647dea346
Fix #3714
2019-11-07 22:24:13 +01:00
Deve
4f9070ee53
Allow to use "extremely large" font size.
...
It looks fine in most places.
2019-11-07 22:01:25 +01:00
杜茂森
f169ed82a3
UI fix bundle XII ( #4114 )
...
* Change arena addon icon
* Categorize UI
* Give small margin
* Better icon size in help
* Several screen fix
* Fix bug
* Better GP line size
* Give more space to texts
* Better size
2019-11-07 19:01:28 +01:00
Benau
42d341a925
Split stk version and os string to 2 columns for better statistic purpose
2019-11-08 01:17:27 +08:00
Benau
4b23552ea8
Add function to extract stk version and OS from user agent
2019-11-08 01:02:53 +08:00
Benau
9d75b706d5
Remove warnings
2019-11-07 14:40:10 +08:00
Benau
0f9688f5da
Disable possible blocking writing to log and console for starting timer
2019-11-07 12:20:37 +08:00
Benau
148dc49817
Don't poll irrlicht device without graphics
...
It fixed crashes for joystick event which does XResetScreenSaver
2019-11-07 09:40:52 +08:00
Benau
310caebc34
Disable smoothing network body for local kart
...
This should improve collision handling and remove into ground kart
2019-11-07 01:48:05 +08:00
Benau
1d384961dd
Implement keyboard sorting list widget
2019-11-04 16:41:23 +08:00
Benau
5f32b81ab8
Fix stk server crash
2019-11-03 02:43:31 +08:00
Benau
2650ec2f3e
Disable showing story mode timer if starting stk with old players.xml
2019-11-02 00:38:30 +08:00
Benau
5c9df8d9a2
Fix profiling mode of stk
2019-11-02 00:07:10 +08:00
Benau
2700162d1f
Use getMonoTimeMs to avoid system clock changes
2019-11-01 22:52:11 +08:00
Alayan-stk-2
770d02b19b
Compute and display a story mode timer ( #4121 )
...
This is the result of my previous work, with a port of the timer version that was developed for a 1.0 mod. It has been used by several players so no major issue should exist, though UI and other elements may require adjustment to smooth some rough edges.
It features both a casual story mode timer storing the total time to complete the story mode (on by default) and a "speedrun" timer (off by default). The casual timer is paused whenever the player exits story mode, and supports play over multiple sessions. It is only displayed in the overworld and during challenges ; while the speedrun timer is permanently displayed.
Fix #2907
2019-11-01 13:25:27 +01:00
Benau
48f4088894
Clear all widgets pointer when unloading track screen
...
This fixed crash after changing resolution and then spectate the game,
which m_timer is previous value
2019-11-01 19:16:23 +08:00
Benau
033933d3a2
Hide ipv6 button in LAN server selection
2019-11-01 10:49:31 +08:00
Benau
e5de8f764c
Fix #3902
2019-11-01 08:13:41 +08:00
Benau
2837f54688
Reset high digit font scale to 1.0f after drawing
2019-11-01 01:34:00 +08:00
Benau
63cb55acb6
Clear previous assets version to free space
2019-10-31 12:53:55 +08:00
Benau
a8fdd98a0e
Add a high ping workaround in server
...
This will allow around ping with 400ms to have a playable game with
the default values of max-ping and jitter-tolerance, as long as the
internet connection is stable (no packet loss)
2019-10-31 11:36:03 +08:00
Alayan
41880fe815
Fix #4051
...
This solution is hackish, but it's more resilient and easier than trying to get the update order right.
2019-10-31 00:28:48 +01:00
Du maosen
6dd5800701
Fix#4117 ( #4119 )
...
* Fix #4117
2019-10-29 16:14:12 +01:00
Alayan
0d44b8e7dd
Fix #4097
2019-10-28 19:51:41 +01:00
Benau
ac7310602e
Hide donation button until there is a gift package
2019-10-28 16:58:44 +08:00
Benau
ab3d8ef415
Implement link helper for android
2019-10-28 16:47:05 +08:00
Benau
8cd095bf34
Add scripting functions to know current race gui type
2019-10-28 01:51:16 +08:00
Benau
1904e37ff1
Add mean packet loss info of peers to database
2019-10-27 23:43:51 +08:00
Benau
e9b5fb2c81
Fix server config help strings
2019-10-27 13:11:25 +08:00
Benau
249f715c87
Fix unselected ruby skin
2019-10-27 12:50:17 +08:00
Benau
adaaeb0e8e
Fix #3432
2019-10-27 12:39:49 +08:00
Du maosen
84d99ac690
Bigger kart stat ( #4113 )
2019-10-26 18:21:42 +02:00
Alayan
50988c6c60
Fix #3687
2019-10-26 02:28:42 +02:00
Alayan
fc769c48a7
Fix #4110 and some clean-up
2019-10-25 22:02:41 +02:00
Alayan
ff2ccdbde3
Minor mode checks clean-up
2019-10-25 20:26:18 +02:00
Alayan
39363291a4
Fix #4109
2019-10-25 16:51:21 +02:00
Benau
04dd5a8bfb
Add IPv6 ban table
2019-10-25 12:44:50 +08:00
Benau
0217eaf173
Add sqlite function for ipv6 cidr testing
2019-10-25 09:20:36 +08:00
Deve
b5b3ca7be0
Fixed icon button position when using x="value" or left/right align
2019-10-24 22:25:49 +02:00
Alayan
d6ed40d3d3
Fix #4105
2019-10-24 20:06:32 +02:00
Alayan
ae8b6a0252
Minor simplifications
2019-10-24 16:54:26 +02:00
Alayan
102498f130
Separate DoF and motion blur from the main graphics preset
2019-10-24 15:56:42 +02:00
Alayan
c7df5114e7
Track info screen partial clean-up
2019-10-23 23:52:17 +02:00
Alayan
2e41f675cc
Fix #4106
2019-10-23 21:42:04 +02:00
Benau
958868526f
Allow live kicking from ban list
2019-10-23 14:42:22 +08:00
Benau
6c22a3b210
Ignore error message for network ai
2019-10-23 13:37:27 +08:00
Benau
a5e5b20a19
Fix #3875
2019-10-23 13:34:52 +08:00
Benau
914621251c
Try to fix a crash when searching friend
2019-10-23 09:47:53 +08:00
Alayan
a3a7b5f8fd
Fix #3596
2019-10-23 00:30:43 +02:00
Benau
349fe30747
Move spectate checking code to race gui
2019-10-23 02:43:29 +08:00
Alayan
f3a59b5649
More kart.cpp clean up
2019-10-22 19:49:01 +02:00
Alayan
b4fe68b53d
Improve leaning
2019-10-22 18:31:09 +02:00
Alayan
be0df77be9
Improve kart.cpp/hpp code organization.
...
No functional change
2019-10-22 16:09:04 +02:00
Alayan
80c2bb1eaa
Make old green valley and blackhill mansion replays playable if the addons are there
2019-10-22 13:45:00 +02:00
Alayan
b4b346e7a6
Fix #4103
2019-10-21 22:49:54 +02:00
Deve
2adeb7334e
Make widget glow size proportional to resolution
2019-10-21 22:00:34 +02:00
Alayan
d7053ca2e5
Fix #3876
2019-10-21 21:59:01 +02:00
kxxvii
816cd3f3bf
Additional trivial type/word fixes for man page and '-h' ( #4102 )
...
* Command-line help typo, fix
modified: src/main.cpp
* Typo fix, GNU/Linux manual
new file: doc/supertuxkart.1
modified: src/main.cpp
* More word and typo fixes in man/'-h'
modified: doc/supertuxkart.1
modified: src/main.cpp
2019-10-22 01:54:54 +08:00
Benau
62d8a17152
Allow setting default config value inside stk-code
...
Share the restore code with android and iOS
2019-10-22 01:43:09 +08:00
Alayan
17305a6cd8
Improve kart stats code readability
2019-10-21 18:46:43 +02:00
kxxvii
f55a206271
GNU/Linux manual page. ( #4100 )
...
* Command-line help typo, fix
modified: src/main.cpp
* Typo fix, GNU/Linux manual
new file: doc/supertuxkart.1
modified: src/main.cpp
2019-10-21 16:26:40 +08:00
Benau
c577383573
Fix #2536
2019-10-20 00:54:12 +08:00
Benau
42d9e8967f
Add default config for iOS devices
2019-10-18 22:22:32 +08:00
Benau
3437fa5edf
Fix iOS crashing when going to background
2019-10-18 19:08:21 +08:00
Benau
34b2e074bb
Fix #4096
2019-10-18 12:51:42 +08:00
Benau
1a7a8bdc14
Make karts powerup in gui an option
2019-10-18 12:03:36 +08:00
Fouks0
6beefb829c
Show everyone's items with the left characters icons ( #4027 )
2019-10-17 21:07:52 +02:00
Luffah
aa9b2e7008
Add an option to put the minimap on the center of screen. ( #4087 )
...
* Add an option to put the minimap in the center of screen.
2019-10-17 21:03:46 +02:00
chozo
d4d34498ad
Command-line help typo, fix
...
modified: src/main.cpp
2019-10-17 20:29:10 +02:00
Benau
1625d55de5
Reset AI peer for empty server
2019-10-17 12:18:11 +08:00
Benau
f4e7ccccfd
Implement half sync in iOS manually
2019-10-16 16:46:40 +08:00
Benau
3a007fd8af
Fix iOS build
2019-10-16 16:38:03 +08:00
Benau
b639efd8ed
Use lower frequency for network ai
2019-10-16 11:48:58 +08:00
Benau
3b75740163
Check peer first to avoid crash
2019-10-16 10:43:36 +08:00
Benau
11897da80c
Don't kick ai peer for idling
2019-10-16 01:16:45 +08:00
Benau
843ca083d5
Fix empty player count when resetting server
2019-10-15 19:15:22 +08:00
Benau
cb70036cb1
Fix bot name in server only build
2019-10-15 16:44:56 +08:00
Benau
cf412c947c
Show player count with AI in server browser
2019-10-15 16:28:48 +08:00
Benau
1614868b5d
Add AI handling for online racing games
2019-10-15 16:19:30 +08:00
Deve
170e4be0ca
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2019-10-15 06:13:08 +02:00
Deve
377dd80a05
Fixed cygwin build
2019-10-15 06:12:50 +02:00
Alexander Mennborg
fc9aff80dd
Randomizing spawn points for battle mode #3620 ( #4093 )
...
* Changed to randomize spawns for battle modes
* Changed to randomize spawns for battle modes
* Randomizing spawns only considers offline play
* Code cleanup, removed unused spawn_id from RemoteKartInfo
* Changed to shuffle the start transforms instead of randomizing spawn ids
* Removed unused function randomizeSpawn()
* Updated offline check for shuffle start transforms
* Cleanup removed newlines in race_manager.cpp
2019-10-15 01:19:31 +08:00
Benau
76871a3f24
Fix crash when fresh stk lan game with AI
2019-10-14 16:34:28 +08:00
Deve
6b26737cd2
Fixed AI in lan multiplayer on android
2019-10-12 22:52:47 +02:00
Deve
c2a20e1526
Avoid a crash when global android app is null in separate process
2019-10-12 22:07:56 +02:00
Deve
1e3313068f
Delete libchildprocess_ai when updating apk
2019-10-12 00:49:25 +02:00
Deve
674cfff070
Remove/extract new data only if apk has assets
2019-10-12 00:22:55 +02:00
Benau
6d7d580fa3
Save players.xml when closing kart color slider dialog
2019-10-11 23:08:11 +08:00