Commit Graph

16306 Commits

Author SHA1 Message Date
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