Benau
c9dc68e578
Move item manager to track to allow copying easier later
2020-02-24 11:10:06 +08:00
Benau
f325a0fa14
Add code for copying check structures
2020-02-24 10:58:17 +08:00
Benau
3d13686af7
Move check manager to track to allow copying easier later
2020-02-24 10:57:57 +08:00
Deve
11cac8f631
Fixed bad accelerometer icon proportion
2020-02-23 18:24:41 +01:00
Benau
325cc243c5
Remove more hit effects for no graphics STK
2020-02-23 01:26:59 +08:00
Benau
2872706317
Use separated fixed body for multiple physics instances later
2020-02-23 01:14:20 +08:00
Benau
5e32ab8d07
Remove hit effect in physics for no graphics STK
2020-02-23 01:13:59 +08:00
Benau
96541cf8af
Remove irrlicht item node in no graphics STK
2020-02-20 11:00:49 +08:00
Benau
c0a350fe6e
Don't create hit effect for no graphics STK
2020-02-20 10:09:29 +08:00
Benau
3bbca7849d
Remove irrlicht node for flyable in no graphics STK
2020-02-20 09:46:34 +08:00
Benau
13df4ee83a
Don't create collision particles in no graphics STK
2020-02-20 08:57:29 +08:00
Benau
e01381c508
Don't create irrlicht kart node in no graphics STK
2020-02-20 08:52:33 +08:00
Benau
beba4fd4c3
Don't create stars in no graphics
2020-02-20 08:22:35 +08:00
Benau
b799d6454b
Don't create particle node with no graphics for kart gfx
2020-02-20 08:07:44 +08:00
Benau
373562bb3c
Remove irrlicht node usage from world with no graphics STK
2020-02-19 16:38:28 +08:00
Benau
970fa4a0b5
Allow reverting default configuration name with empty input
2020-02-19 01:42:07 +08:00
Benau
09cc3a47f0
Avoid handling of camera in no graphics STK
2020-02-19 01:31:53 +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
riso
740d57a2c4
Show kart direction by an arrow in soccer ( #4230 )
...
* Show kart direction by an arrow in soccer
* bug fix
* bug fix
* correct grammar
2020-02-16 16:31:30 +08:00
Benau
3df7feb654
Fix android compilation
2020-02-15 16:41:20 +08:00
Benau
4a9135c8c0
Avoid pushing and using screen in no graphics
2020-02-15 16:38:49 +08:00
Benau
88bbdbdc92
Move no graphics setting to guiengine which is a better place
2020-02-15 14:00:48 +08:00
Benau
0912ca041b
Don't create race gui for no graphics
2020-02-14 13:23:32 +08:00
Benau
45825918d9
Some changes for server in same process
2020-02-12 15:47:30 +08:00
Benau
acdf77baf9
Fix local game crash
2020-02-11 12:58:12 +08:00
Benau
e0f494abcd
Allow server AI starting in a same process with client
2020-02-10 16:39:47 +08:00
Benau
92a11c075a
Rename NetworkAITester to NetworkAIInstance for a proper name
2020-02-10 09:38:23 +08:00
David Carlier
c9c4149139
slighty less C code proposal
2020-02-08 16:59:25 +00:00
David Carlier
5e3881117d
FreeBSD thread name support.
2020-02-06 19:00:02 +00:00
Benau
43cf39bdef
Allow getting server port with DNS txt record (stk-server-port=)
2020-02-06 00:46:38 +08:00
David Carlier
21cf075e41
FreeBSD build fix proposal.
2020-02-05 15:16:12 +00:00
Benau
99a5675abe
Add UserDefinedServer class to allow saving the server name easier
2020-02-05 14:06:51 +08:00
Benau
746f09a6d0
Use single tap in mobile STK for list widget
2020-02-05 12:12:24 +08:00
Benau
56fa8156d2
Clear NAT64 prefix in better places
2020-02-05 12:07:42 +08:00
Benau
d73022b3ad
Set IP type manually in LAN refresh request
...
We don't need NAT64 address in LAN broadcast anyway
2020-02-05 11:37:05 +08:00
Benau
7c3b8adfc9
Fix convertForIPv6Socket regression since last commit
2020-02-05 11:16:25 +08:00
Benau
e9828b8ab3
Fix wrong IP detection in apple devices
2020-02-05 01:05:18 +08:00
Benau
f8bce05dd6
Fix crash caused by pop sorting with deleted message
2020-02-04 01:26:26 +08:00
Benau
d147291e2a
Clean temp files when starting STK instead of exiting
2020-02-03 16:52:45 +08:00
Benau
5683ff7494
Fix sticking quit menu of kart selection screen
2020-02-03 16:40:08 +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
db95d2f88f
Clean temp files manually in mobile STK
2020-02-03 09:39:43 +08:00
Benau
00c7bf561e
Fix news manager assert error when exit too early
2020-02-03 01:27:17 +08:00
Benau
35463a12da
Avoid possible infinite loop
2020-02-03 00:48:16 +08:00
Benau
26dbf67d53
Ask if user want to play tutorial when new profile is created
2020-02-02 16:32:57 +08:00
Benau
906dca1a94
Fix possible address family mismatch (found in android)
2020-02-02 10:52:19 +08:00
Benau
ecb31ad217
Use ipv4only.arpa to detect NAT64 prefix (RFC 7050)
2020-02-02 00:13:25 +08:00
Benau
4ad7e585f8
Remove duplicated code of getaddrinfo
2020-02-01 15:34:41 +08:00
Benau
ae2406d193
Don't print error message for IP detection in case of domain error
2020-02-01 14:48:58 +08:00
Benau
58f4579062
Use getMonoTimeMs() to avoid rand() return the same value in Windows
2020-02-01 14:15:44 +08:00
Benau
10a158db70
Use correct encoding for error message from getaddrinfo in Windows
2020-02-01 14:05:52 +08:00
Benau
33d228bb6d
Clean up header files and remove unused class
2020-02-01 10:45:15 +08:00
Benau
23ad6f09a6
Clean up direct connection code with full IPv6 support
2020-02-01 09:30:40 +08:00
Benau
1e9dab821c
Allow pre-set IP type in config.xml
2020-01-31 13:20:11 +08:00
Benau
ab315fab4e
Remove firewall restriction for IPv6 in server documentation
2020-01-31 00:44:26 +08:00
Benau
17bf24c6d1
Avoid player score being reset if connection to stk addons is broken
2020-01-30 16:55:40 +08:00
Benau
652bf5480a
Move port detection to Network class
2020-01-30 16:47:19 +08:00
Benau
e1188c5532
Fix non random client port (NetworkConfig initialized too early)
2020-01-30 11:30:54 +08:00
Benau
964757193b
Avoid using IPv6 socket address in IPv4 socket
...
Also make reload the lan broadcast addresses each time to catch network change
2020-01-30 11:25:03 +08:00
Benau
86dae991e6
Fix SandboxViolation in iOS for IPv6 socket
2020-01-29 11:04:02 +08:00
Benau
0cb62803b2
Port stun address resolve to use SocketAddress
2020-01-29 01:24:38 +08:00
Benau
2c78625ef6
Allow print NAT64 address in IPv4 form for better debugging
2020-01-28 15:15:20 +08:00
Benau
40b0a6371e
Allow port specified inside str for SocketAddress
2020-01-28 13:03:37 +08:00
Benau
61109f4aad
Remove TransportAddress in most server code
2020-01-28 11:47:08 +08:00
Benau
05732c2e7d
Only register server with a valid address
2020-01-28 01:26:12 +08:00
Benau
3d0ef44014
Fix android crash for inet_ntop
2020-01-27 15:48:49 +08:00
Benau
055ed23e10
Remove TransportAddress in STKPeer
2020-01-27 14:32:18 +08:00
Benau
e18bcd62e6
Add IPv6 LAN server discovery
...
Broadcasting to windows doesn't work as the windows firewall seems
to block all IPv6 multicast
2020-01-27 13:48:57 +08:00
Benau
9132fba714
Add firewall penetration for IPv6 client
2020-01-27 12:07:28 +08:00
Benau
6abd3bbf69
Add socket address to support both IPv4 and IPv6
2020-01-27 11:50:15 +08:00
Benau
9928cf726f
Add auto handling of IPv6 only server depends on network type
2020-01-26 00:41:03 +08:00
Benau
d2f2c6cf1f
Allow setting a zero address as long as there is an IPv6 address
2020-01-25 11:15:34 +08:00
Benau
6d2e060bf2
Disable IPv6 socket in server for IPv4 only network
2020-01-24 10:28:23 +08:00
Benau
58a2010d0f
Fix intercept callback for IPv6
2020-01-24 10:26:44 +08:00
Benau
8d94f973cc
Allow NAT64 client to connect to firewalled IPv4 server
2020-01-23 16:50:47 +08:00
Benau
63c7c711d5
Fix IPv4 only server in dual stack network
2020-01-23 16:43:46 +08:00
Benau
8486b11da6
Allow setting public address for IPv6 client
2020-01-23 01:16:02 +08:00
Benau
aed64dfd1f
Rename function to make it clearer
2020-01-22 15:56:47 +08:00
Benau
2ca1c5555c
Allow connect to IPv4 only server with NAT64 for all platforms
2020-01-20 16:49:27 +08:00
Benau
50944bb8c3
Add debug logging for iOS device
2020-01-20 14:58:03 +08:00
David Carlier
b3e76e082e
FreeBSD online linker URL support
2020-01-19 12:15:16 +00:00
Benau
f83f74598d
Fix valgrind warning
2020-01-19 11:46:03 +08:00
Benau
1e53f67354
Fix no graphics crashing
2020-01-19 10:50:12 +08:00
Benau
726a40ae2d
Use IP detect code in server screen for more info to user
2020-01-19 10:20:25 +08:00
Benau
fcdec55bc1
Add tools for advanced IPv4 and IPv6 detection
2020-01-19 10:13:17 +08:00
Benau
7b3559ba69
Add IPv4 only stun for later usage
2020-01-19 01:00:48 +08:00
David Carlier
d97a1ce1ef
removing compilation warning explicitly showing enum origin
...
to avoid confusions even though they have same values.
FreeBSD recognised as os in stats point of view.
2020-01-18 13:32:50 +00:00
Benau
9085658653
Add ipv6 geolocation table
2020-01-16 11:28:52 +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
David Carlier
7951d1a92d
Reducing significantly build warning on MacOS
...
OpenGL deprecated APIs, gl/gl3 inclusion, OpenAL deprecated API.
Implementing process path for the crash reporter.
2020-01-12 07:28:15 +00:00
Benau
5ce95ba5e7
Fix clang warning
2020-01-12 12:59:02 +08:00
David Carlier
a6aa0aa9eb
crash reporter, getting process path in native way on FreeBSD.
2020-01-11 21:23:45 +00:00
Benau
1e4b0ccb4e
Add resetGlobalVariables for message queue
2020-01-11 00:21:22 +08:00
CodedOre
13fca9a0eb
Adapting MessageQueue for Tutorial ( #4204 )
...
* Make Script-Message more adaptable
* Highly WIP-TriggerMessage
This is commited for discussion, so it is far away from complete or good or anything else.
* One Place for the static Message!
* Fixing that clear() dont clear the static message.
* Discard Static Messages when Race is closed.
In Order to not leave StaticMessages if an Race is quit, now closing the race discard StaticMessages.
* Allow for co-existence of static and normal message
* Fix indentation and Enum Order
* Clean up used StaticMessages.
* Clean StaticMessages up Round 2
2020-01-11 00:12:56 +08:00
Fouks0
cb236e9674
Always show times in ms ( #4177 )
...
* Always have the time(r)s showing milliseconds
* Format time in mm:ss.mmm in the Ghosts List/Dialog
2020-01-09 17:12:38 +01:00
Bilka
8ce0def43d
Removed StringUtils::notEmpty ( #4208 )
2020-01-09 17:06:39 +01:00
Benau
b09aec6b3f
Remove Dmitry Marakasov changes for his disagreement
2020-01-07 00:08:09 +08:00
CodedOre
4ce88158c8
Enabling MessageQueue for Scripting ( #4201 )
...
As @Benau suggested to use MessageQueue for *making the Game Flow of the Tutorial smoother* (#4187 ), this Pull Request enable MessageQueue for Track-Scripts.
For me it works well with MessageQueue, however i think we could make the Font of a Message a little bit bigger, since it is quite small, especially on mobile.
2020-01-06 01:11:46 +08:00
David Carlier
331fe8b5b6
Missing header for network struct, vital for FreeBSD.
2020-01-04 11:42:35 +00:00
Benau
7b3a543ae5
Use utf8 encoding for mcpp
2020-01-03 22:22:14 +08:00
Benau
82ed737b34
Expose STK version conversion utils to scripting
2020-01-03 13:53:14 +08:00
Benau
792a86da60
Use mcpp to preprocessing scripting (for now STK_VERSION)
2020-01-03 13:43:26 +08:00
Deve
40af912312
Add a possibility to use auto acceleration on android
2019-12-30 03:47:34 +01:00
Deve
487647df85
Don't show touch controls icon in spectator mode
2019-12-29 21:03:25 +01:00
Bart Ribbers
8cd8b7c26e
Define VALIST as va_list rather than char* on non-glibc systems ( #4185 )
2019-12-29 12:29:09 +08:00
Benau
44d2127800
Always use default name Player in mobile STK
2019-12-29 10:44:13 +08:00
Deve
8e19e96a9e
Add easier way to change touch controls type
2019-12-29 00:04:45 +01:00
Benau
f89933bb46
Exit the loop earlier if protocol manager is exiting
2019-12-28 12:46:17 +08:00
Benau
3944d81cfc
Fix writing of server id file for unicode folder
2019-12-28 12:45:56 +08:00
Benau
10c0515c88
Fix create process with executable with space in path
2019-12-28 12:42:40 +08:00
Deve
8df28b07b1
Restore function for hardware keyboard on android
2019-12-27 23:49:29 +01:00
Benau
cecf5cffac
Fix missing checking if 3 arguments
2019-12-28 02:12:59 +08:00
Benau
3708d81815
Require at least 3 characters for search addon in server
...
This will prevent sending too many data if server has all addons
2019-12-26 15:18:31 +08:00
Bart Ribbers
f6ee1ebab1
Include linux/sysctl.h rather than sys/sysctl.h on non-glibc systems ( #4174 )
2019-12-26 11:52:46 +08:00
riso
d00ffe72b9
make /liststkaddon, /listlocaladdon, /listserveraddon more friendly ( #4181 )
...
* make /liststkaddon, /listlocaladdon, /listserveraddon more friendly
* remove debug code
2019-12-26 11:14:09 +08:00
Jeff
de33244ae7
Expose getKartType(int kartId) to scripting
...
This change attempts to expose the KartType (local player, networked player, AI, etc.) to scripting.
This is useful if a track creator wants an action to only occur if triggered by a real player, or only if triggered by a non-networked player (e.g. alternate route music in Frozen Drive unofficial add-on).
I have rushed this in to try and get it added in STK 1.1 and I have not yet been able to configure and build STK from source, so this change is currently untested!
I have placed this in the Track section because it uses the race manager. Please let me know if the Kart section is more appropriate.
2019-12-25 21:49:00 +11:00
Benau
7f32842e76
Use Tip: %s in translation instead
2019-12-25 15:22:45 +08:00
Benau
f5f647c7ce
Save players.xml to avoid achievements gone when pressing home button in mobile stk
2019-12-25 14:38:00 +08:00
Benau
b2dd555117
Fix screen keyboard with iPhone padding
2019-12-25 12:20:18 +08:00
QwertyChouskie
594cfefeed
Fix CMD flags in main.cpp ( #4180 )
...
Came across these when working in my branch.
2019-12-25 10:44:28 +08:00
Benau
a46f82420f
Bigger confirm internet dialog size for small iPhone screen
2019-12-23 09:15:01 +08:00
Benau
8c5759821e
Allow RES_CHANGE_SAME without recreating device
2019-12-22 16:31:59 +08:00
Benau
29c79abc22
Fix possible exit crash
2019-12-22 11:13:18 +08:00
Benau
01c57fa483
Add link helper for iOS
2019-12-21 01:30:01 +08:00
Benau
31562ba067
Add padding to some gui elements for iPhone X
2019-12-20 14:08:01 +08:00
Benau
fe0cb90769
Make sure icon handling of addons is thread safe
2019-12-20 09:55:12 +08:00
Benau
dce9bf1e63
Save addons xml when going into background for mobile stk
...
So the icons don't need to be redownloaded again after it's killed
by OS in the background
2019-12-20 08:59:02 +08:00
Benau
801aa12743
Update full assets size for mobile stk
2019-12-19 01:46:06 +08:00
Benau
13bfb902db
Improve showing of tips
...
1. Disable in track loading as for most tracks it too short to be seen
2. Show race tips only when human loses
2019-12-19 00:33:22 +08:00
Benau
1e99d8cbbb
Improve addons screen layout
2019-12-18 14:29:27 +08:00
Benau
f1e0548d0e
Update tips for new translation
2019-12-18 14:28:51 +08:00
Benau
8b50536aae
Show tips in result screen only for local games
2019-12-18 12:54:34 +08:00
Benau
4d0952c716
Clear up tips manager
2019-12-18 12:52:45 +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
杜茂森
1ade00462d
Simple tips manager ( #4146 )
2019-12-18 02:23:06 +01:00
Benau
e9b2f40d04
Fix server only build
2019-12-17 09:18:29 +08:00
Benau
344079deda
Remove previous addon directory after uninstall
2019-12-17 07:37:50 +08:00
Benau
4a2def8df1
Fix crash when using addon command in dialog
2019-12-17 01:38:22 +08:00
Benau
5989221305
Improve error logging
2019-12-17 01:32:53 +08:00
Benau
7d60855a7f
Don't show install addon command for invalid addon id
2019-12-17 01:01:11 +08:00
Benau
29e4500ce6
Prevent soccer ai crash if 1 team has no player
2019-12-16 09:22:57 +08:00
Benau
49651cca4f
Allow connect to server with domain in IPv4, fixed #3969
2019-12-14 09:52:04 +08:00
Benau
b9af85442b
Take parent library into account for animator checking
2019-12-14 00:21:47 +08:00
Benau
1ee2f01fbc
Allow moving library object with physical body
2019-12-13 23:52:39 +08:00
Benau
725d587566
Add configurable chat consecutive interval value
2019-12-13 18:24:17 +08:00
GuillaumeBft
5d399f1203
add message freguency limit in chat ( #4168 )
2019-12-13 17:52:40 +08:00
Benau
e40ab453a6
Fix possible NAN on some extreme tracks
2019-12-12 09:16:10 +08:00
GuillaumeBft
edfd638cc4
fix #4123 ( #4161 )
...
* fix #4123
* Formatting
2019-12-10 21:54:08 +01: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
Benau
0b480e7a71
Restore linear and angular velocities of 3d animation physical objects
2019-12-10 13:35:43 +08:00
Benau
c09585eaf7
Remove old addon folder before install new addon
2019-12-10 09:44:52 +08:00
Benau
5e5026ea68
Adjust soccer result screen for new data
2019-12-09 14:05:50 +08:00
Benau
2cbd18ef7e
Add country code and handicap to scorer data
2019-12-09 13:57:13 +08:00
Benau
891fd57053
Move message queue when on screen keyboard opened
2019-12-09 12:40:39 +08:00
Benau
5e016e88df
Display the addon command explicitly
2019-12-09 11:35:24 +08:00
Benau
32cccb358b
Refactor AddonsPack::uninstall to allow remove addon by name later
...
Also save addons installed xml when necessary
2019-12-09 10:51:47 +08:00
Benau
1a23580648
Try to fix track object loading empty lod node crash
2019-12-07 13:48:36 +08:00
Benau
b095438681
Extract addons zip file recursively (for canyon42 in the future)
2019-12-06 22:11:35 +08:00
Benau
0728722f37
Stop download too if dismiss dialog
...
This can happen if other place calls dismiss dialog
For example screen pushing by network protocols
2019-12-06 20:53:43 +08:00
Benau
a45d4fe9f2
Show download size for addons pack
2019-12-06 19:34:26 +08:00
Benau
1a423e11e7
Add sha256 for string in scripting
2019-12-06 15:49:47 +08:00
Benau
b29a42719c
Expose item manager random seed (synchronized in online too) in scripting
2019-12-06 14:10:45 +08:00
Benau
06b11056c8
Add kick player command
2019-12-06 12:35:45 +08:00
Benau
2cbf6b732e
Make the live join ticks more correct
2019-12-06 12:11:28 +08:00
Benau
d60b087c25
Exit server stk process if STKHost no longer exists
2019-12-06 12:03:18 +08:00
Benau
11b9897f88
Add non-blocking thread network console for linux
2019-12-06 11:58:51 +08:00
Quipyowert2
46b833f11d
Use unsigned int with %x format string
2019-12-04 21:23:15 -08:00
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
Benau
3927c2d78c
Save network permission configuration when leaving dialog
2019-10-11 23:05:08 +08:00
Benau
bb27cb17fb
Fix missing auto login for saved session
...
setWasOnlineLastTime(true) before saving, before it was run in
BaseUserScreen::loginSuccessful which is after writing players.xml
2019-10-11 22:55:14 +08:00
Benau
ed376d329c
Try to fix a rare crash
2019-10-11 22:44:08 +08:00
Benau
f56cf03b6a
Fix AL_INVALID_NAME when exit pause menu with fast music on
2019-10-11 21:40:00 +08:00
Benau
a1e4bbc3c1
Fix fading in and out when switching to fast music
2019-10-11 19:21:58 +08:00
riso
3c4479b63a
Rescale the time font if icon is small (solve issue #4089 ) ( #4090 )
...
* rescale the time font if icon is small
* no need for equal
2019-10-11 13:30:45 +08:00
Benau
edb338da88
Fix #4088
2019-10-10 15:56:18 +08:00
Benau
57bd4d9a91
Add timeout and error message for server login handling
2019-10-10 10:15:58 +08:00
Benau
5b3380a43b
Add server password for server AI if exists
2019-10-09 15:51:44 +08:00
Benau
396e55a39d
Show android robot icon for bots in lobby
2019-10-09 15:28:09 +08:00
Benau
2a40606be7
Allow auto end if all players finished with AI in network race
2019-10-09 14:36:49 +08:00
Benau
a26f67bf16
Allow using AI in lan racing game
2019-10-09 14:08:22 +08:00
Benau
9e0da6a283
Update translation source
2019-10-08 09:15:01 +08:00
Benau
4a3631ded3
Fix #3858
2019-10-08 09:06:02 +08:00
Benau
b472639da0
Fix left / right toggle in race result gui
2019-10-07 16:30:09 +08:00
Deve
72e364a38d
Some GUI tweaks
2019-10-05 23:48:44 +02:00
riso
657e02efe4
Clean icon name (Improve PR#4073) ( #4081 )
...
* fix icon names
* add file mode_weapon.png
2019-10-06 01:14:09 +08:00
Benau
4a3dfd975f
Make text translatable
2019-10-05 10:11:57 +08:00
Deve
6ba5cc888f
Tweak previous commit
2019-10-05 01:20:06 +02:00
Deve
564601fafe
Open debug menu more easily on high resolution android device
2019-10-05 00:08:48 +02:00
123survesh
94ef5124d0
Fix for #3444 : Changing the title text for key bindings dialog box
2019-10-04 12:14:16 +05:30
Du maosen
71fec6780c
Icon button for race result ( #4071 )
...
* Icons for race result
* Fix bugs && improvements
* Tabs to spaces
* Fix bugs && improvements
2019-09-30 15:33:07 +08:00
Deve
98d8aca91a
Add half vsync to gui
2019-09-28 22:19:03 +02:00
Deve
fc8f6a218e
Add possibility to use half vsync
2019-09-28 01:43:26 +02:00
Du maosen
8316d91469
Some improvements for soccer AI spinner ( #4069 )
...
* Improve code
* Bigger space in track info
* Bug fix && improvements
* Bug fix && improvements
* Bug fix && improvements
2019-09-26 10:12:24 +08:00
riso
351a6ed6c0
forgot to fix this bug in previous pr4063
2019-09-23 20:10:58 -05:00
riso
0547e1e469
Add options to control the number of red/blue AI in soccer mode ( #4063 )
...
* Add options to control the number of red/blue AI in soccer mode (offline)
* fix a bug related to the upper bound when AI num=0 and trying to lower the number
* forgot to fix this
* remove the Balanced/Custom spinner
* improve the AI number spinner's behavior at lower bound
* Hide blue ai number setting if not soccer
* move getting red/blue players number to function TrackInfoScreen::getRedBluePlayerNumber()
* Tab to Space
* rename local variable m_xxx to num_xxx
* bug fix
* improve the default AI number: try the previously used one, if cannot use the previous, recalculate the AI number using balanced
2019-09-23 21:59:17 +08:00
Benau
1553d7b70f
Use copyTo for same size glyph
2019-09-22 09:00:26 +08:00
Benau
9154aeda58
Add support for CPAL / COLR tables color emoji
...
Require freetype 2.10, emoji can be Windows 10 Segoe UI Emoji for
example
2019-09-21 16:08:12 +08:00
Benau
f4cf63572d
Clear some global variables for android
2019-09-21 13:05:42 +08:00
Benau
25aca4328b
Add font configuration to skin
2019-09-21 11:48:22 +08:00
Benau
1d74efcd08
Clear message queue when destroying GUIEngine
...
So it won't call font which could already been reset
2019-09-21 11:42:35 +08:00