Benau
0a7f9cd314
Add race gui resizing
2020-06-09 11:05:56 +08:00
Benau
83a49068e4
Add text billboard resizing
2020-06-09 10:56:19 +08:00
Benau
81def6cb65
Add in game screen resizing
2020-06-07 16:03:16 +08:00
Benau
d4cd6d6fc9
Add minimum window size
2020-06-06 01:02:01 +08:00
Benau
2f1acc8139
Enable screen resizing in some places
2020-06-04 15:51:54 +08:00
Benau
da1d41bf85
Add resizing of GUIEngine (only works with some screen)
2020-06-04 15:49:34 +08:00
Benau
d7695cb0a7
Fix crash when render loading polling joystick event
2020-06-02 15:14:09 +08:00
Benau
7d16f2456a
Add unicode text input with SDL2
2020-06-02 10:58:39 +08:00
Benau
cc13d32951
Use SDL2 clipboard for edit box
2020-06-02 10:46:20 +08:00
Benau
2eaca2091e
Use SDL2 to handle window creation
2020-06-02 10:36:06 +08:00
Benau
03fd9f1639
Fix broken translation generation
2020-05-31 12:00:21 +08:00
riso
661688db2d
Show a message once a goal is made in soccer ( #4304 )
...
* log the goal on server once a player scored in soccer
* show a message once a player made a goal in soccer
* bug fix, add comments
* remove server log
2020-05-30 13:28:27 +08:00
Benau
7829cb3928
Avoid possible crash
2020-05-24 23:59:41 +08:00
riso
b22c09e345
Os emoji in lobby ( #4298 )
...
* first version, not work with old version server
* fix bug of sending extra byte
* delete the extra line
2020-05-24 23:56:25 +08:00
Benau
f316a83c63
Limit max user name length for offline account in server
2020-05-23 13:35:05 +08:00
Benau
92b40a986f
Remove duplicated code
2020-05-23 13:12:10 +08:00
Benau
cbb3863180
Use std::unique_ptr for message queue memory management
2020-05-23 13:02:04 +08:00
Benau
acf862903d
Allow message queue changing size with font
2020-05-23 12:52:00 +08:00
Benau
30e39b5a7a
Fix crash during encoding when exiting race
2020-05-23 12:13:09 +08:00
3risian
712854b33a
Expose getDifficulty() to scripting
2020-05-23 11:40:58 +10:00
Benau
4a8306fca5
Initialize global variables in android device before android_app->running
2020-05-14 10:49:49 +08:00
Benau
1795495bde
Allow picking tracks from addon category now
2020-05-14 09:40:28 +08:00
Benau
6b43af33fa
Add Silesian language support to tinygettext
2020-05-13 15:47:22 +08:00
Benau
53bf93f2df
Allow always spectating with /spectate [0 or 1]
2020-05-13 11:27:27 +08:00
Benau
b122572a0c
Handle invisibility of team chat button depends on settings
2020-05-13 08:53:02 +08:00
Benau
8f40f49506
Fix missing initialization of variables
2020-05-13 08:48:50 +08:00
Benau
e802b21d15
Fix missing country names translation when system language is used
2020-05-13 08:44:28 +08:00
Benau
5d3ccb54b0
Move server refresh list storage to class user
...
This fixes possible duplicated servers when refreshing too quickly
2020-05-09 13:24:07 +08:00
Benau
0fc9e8dba8
Use std::stable_sort to avoid destroying order when toggling IPv6
2020-05-08 10:13:28 +08:00
Benau
3d74dfea34
Add team chat for online team game
2020-05-08 09:21:37 +08:00
Benau
c77a695f35
Add back the default stun servers list to user config
...
Now we can remove stun server in c8d9383d6a
2020-05-07 15:23:12 +08:00
Benau
c8d9383d6a
Allow erasing stun server by using zero weight in dns record
2020-05-07 09:19:41 +08:00
Benau
80d1ba6b10
Revert "Allow music title to be translatable, fix #4281 "
...
Some translator and stk fans think it is confusing
2020-05-06 14:28:46 +08:00
Benau
d03a821e53
Allow music title to be translatable, fix #4281
2020-05-05 10:22:21 +08:00
Karl Ove Hufthammer
1d9e6f8135
Make formatting of song title translatable
...
Different languages use different quotation marks and spacing
(e.g., « Song title » in French), so the formatting needs
to be translatable.
2020-05-02 13:32:57 +02:00
QwertyChouskie
3359862b2b
Update shoulder-less controller mapping
...
Although there's not much we can do about accel on the shoulder-less config, we can at least make the menu keys and pause/rescue consistent with the shouldered config.
2020-05-01 20:39:01 -07:00
Benau
cf24157358
Fix #2438 with SDL2 gamecontroller mapping
2020-05-01 12:17:14 +08:00
Benau
3bb910099d
Update buttons translation
2020-05-01 11:40:21 +08:00
Benau
9f217ccf62
Add some text drawing batching in race gui
2020-05-01 09:55:29 +08:00
Benau
e892b43d0e
Remove unneeded setShadow because black border is always used
2020-05-01 09:51:24 +08:00
Benau
5c77e641e9
Add batch drawing for list box widget
2020-05-01 09:45:22 +08:00
Benau
4d72b118e3
Batch glyph for quicker text rendering
2020-05-01 09:34:04 +08:00
Benau
719af8c54b
Add the missing checking for wrong password
2020-05-01 08:36:53 +08:00
Benau
b1bcfd94a1
Fix crash when widget is cleared and old spinner widget received callback
2020-04-30 16:34:44 +08:00
Benau
10af6f7a80
Allow updating kart color when slider moves with mouse
2020-04-30 16:10:41 +08:00
Benau
cc9980f2a4
Allow re-enter password instantly for failed private server joining
2020-04-30 07:43:14 +08:00
Benau
1bd34e338e
Allow showing or hiding soccer player list with F7 in artist debug mode
2020-04-29 01:09:33 +08:00
Benau
5dffc8cfa1
Allow exit splitscreen multiplayer with gamepad only
2020-04-28 12:37:40 +08:00
Benau
11757a557a
Update gui strings and hide some button for mobile stk (with gamepad)
2020-04-28 10:20:24 +08:00
Benau
e7e702ad39
Fix crashes if broken mesh is loaded (found in google play)
2020-04-28 09:27:25 +08:00
Benau
720ed698ce
Use bitset for easier code and fix more than 1 possible hat
2020-04-28 01:12:05 +08:00
Benau
cd8848ad53
Use timer only for analog axis
2020-04-27 01:12:06 +08:00
Benau
957fe41f3d
Remove unneeded axis checking after SDL2 is used
2020-04-21 20:05:50 +08:00
Benau
0e023cae78
Use sdl mapping to determine if axes are analog
2020-04-21 19:57:04 +08:00
Benau
32e3e4a504
Make gamepad visualization work with SDL2
2020-04-21 19:40:30 +08:00
Benau
6a875e04b6
Remove user id from XInput devices name to allow hotplugging with same config
2020-04-21 18:47:16 +08:00
Benau
96ec4d9c3d
Try to fix duplicated event produced by button
2020-04-21 18:33:56 +08:00
Benau
8c412ee840
Push desktop kart selection depends on device available in mobile STK
2020-04-21 18:26:45 +08:00
Benau
abfb9e535c
Allow gamepad without mapped buttons to use scan code directly in android
2020-04-21 18:07:43 +08:00
Benau
8f9fc8f7fe
Handle all input events in java
2020-04-21 15:47:04 +08:00
Benau
bae2262bd9
Add SDL2 to android
2020-04-21 15:28:02 +08:00
Benau
5eb7b023b3
Add SDL2 to iOS
2020-04-21 10:11:41 +08:00
Benau
6db8906adb
Add default mapping from sdl controller
...
Also adjust default non-sdl mapping, maybe now 4 actions in 1 stick
works better...
2020-04-21 09:46:00 +08:00
Benau
2405a3a00c
Add sdl controller mapping parser
2020-04-21 09:07:29 +08:00
Benau
d3f45e84a3
Add default setting for binding which STICKBUTTON uses
2020-04-21 00:54:20 +08:00
Benau
130be12a64
Fix input sensing with SDL2
2020-04-21 00:30:03 +08:00
Benau
189938e179
Make gamepad auto added or removed in option screen
2020-04-21 00:19:51 +08:00
Benau
00cb6c2d48
Use SDL2 for better gamepad support and hotplug
2020-04-21 00:14:32 +08:00
luffah
cd7aa2c90c
replace split screen horizontal checkbox by a spinner vertical/horizontal
2020-04-19 15:56:49 +02:00
Deve
e6464fff9e
Don't spam in server logs
2020-04-16 22:38:47 +02:00
luffah
914f1a6a77
add user option (config.xml) to substitute look back camera by a camera that follows the ball in soccer mode
2020-04-16 18:50:35 +02:00
luffah
2ca815ace4
add top view for spectator mode & remove gui item view for this camera mode
2020-04-16 16:24:56 +02:00
Benau
aec3790a19
Use a better type for replacement of ssize_t
2020-04-14 12:48:50 +08:00
Benau
8aca832441
Fix msvc build
2020-04-14 11:53:03 +08:00
Benau
93cf4bab52
Fix crash in case system doesn't support IPv4 or IPv6
2020-04-14 11:35:43 +08:00
Benau
8e64433c3a
Add inet_pton for Windows XP support
2020-04-14 11:00:59 +08:00
Benau
359e2ff84f
Add llvm mingw for pdb generation
...
It uses visual studio dependencies
2020-04-11 16:25:58 +08:00
Benau
9157fb43f0
Use std::thread, std::mutex and std::condition_variable everywhere
2020-04-11 11:01:18 +08:00
Benau
b6e9fcd801
Use std::thread for wiimote manager
2020-04-11 00:48:11 +08:00
Benau
f6be14d157
Add proper cleaning of thread for news manager
2020-04-11 00:33:29 +08:00
Benau
ccc4bc793d
Fix possbile conflict with SearchPathW
2020-04-10 10:02:53 +08:00
Benau
5aafb42b28
Use thread local for thread id mapping in profiler
2020-04-10 09:58:45 +08:00
wb9688
b7342a9774
Use smoothed position for kart sounds ( #4264 )
...
* Use smoothed position for kart sounds
* Don't use smoothed position for explosion
Co-authored-by: wb9688 <wb9688@users.noreply.github.com>
2020-04-10 00:14:10 +08:00
QwertyChouskie
694d169ef4
Fix more textures paths
2020-04-08 18:14:10 -07:00
QwertyChouskie
e614f9f384
Remove old code
...
It's never reached as it's impossible to build STK with stock Irrlicht
2020-04-08 17:44:15 -07:00
QwertyChouskie
7c287676a5
Fix display of anchor icon
2020-04-08 17:41:36 -07:00
Benau
a0e4835602
Fix wrong prediction of powerup in online soccer
2020-04-06 15:00:47 +08:00
Benau
f55331cf65
Fix duplicated event for joining in splitscreen screen
2020-04-06 10:24:10 +08:00
David Carlier
12afc23e4e
NetBSD build few updates.
2020-04-05 16:10:34 +01:00
Benau
bffca4f812
Fix sticking of pause button in spectate mode
2020-04-04 01:10:16 +08:00
Benau
ec93746513
Fix #4257
2020-04-03 14:28:21 +08:00
Benau
84d38cd221
Sort kart with position for soccer spectate with icons code updated
2020-04-03 14:19:20 +08:00
Benau
0d0da15a62
Use std::vector for ai profiles so the order is preserved
2020-04-03 14:10:52 +08:00
Benau
22ff215d15
Allow using pause action in spectate for gamepad only controlling
2020-04-03 13:35:47 +08: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
f9f5d3ebb1
Fix broken IPv4 direct connection after LAN server creation
2020-03-29 11:41:11 +08:00
Benau
76c78b82d8
Fix broken backward spectate camera after switching to soccer one
2020-03-29 10:34:06 +08:00
Benau
da4b985b8f
Fix broken map fire to select which lead to duplicated events
2020-03-29 09:32:01 +08:00
QwertyChouskie
da5cbee577
Fix missing track icon on track info screen not being themed
...
Also fixes the aspect ratio and increases the resolution.
2020-03-28 18:19:51 -07:00
Benau
6991305b71
Remove unused field in class
2020-03-27 12:46:23 +08:00
Benau
20bcd1ae05
Use the same order as team side for drawing soccer kart list
2020-03-27 12:41:34 +08:00
Benau
2f4f0ea560
Fix missing control when gamepad has no axis at all
2020-03-27 12:29:25 +08:00
Benau
b2c741a4b5
Fixed wrong icon frame with arrow used in kart list
2020-03-24 01:02:19 +08:00
Benau
f47b410d92
Add soccer support to show karts held powerups
2020-03-24 00:46:20 +08:00
QwertyChouskie
3c627170ee
Increase size of Loading icon
...
Also center the whole icon+text to the center of screen, rather than
centering the icon and putting the text below
2020-03-20 12:10:35 -07:00
Benau
4170628d23
Rewrite some code for updated kart characteristics
2020-03-16 11:48:02 +08:00
Benau
a589ab4a10
Update kart characteristics with python script
2020-03-16 11:27:21 +08:00
luffah
8449bf2714
add camera parameter forward-smoothing (bool to set smoothing) and implement forward-up-angle in smoothing case
2020-03-15 19:32:15 +01:00
Benau
1b3cc83235
Avoid using android robot icon
2020-03-15 14:05:41 +08:00
Benau
7174bcb741
Change help for touch device
2020-03-15 13:55:40 +08:00
Benau
840a8cbb2d
Add tablet icon for touch device icon
2020-03-15 13:54:28 +08:00
Benau
2cf36570c4
Fix missing initialization of confirmed item ticks in child server
2020-03-15 10:14:29 +08:00
Benau
846ee94247
Try to fix STKPeer destructor crash
2020-03-15 10:13:21 +08:00
Benau
a1fa1749d1
Make sure the correct socket type is used
2020-03-15 10:10:59 +08:00
Benau
9860191409
Rename IPv6 server option to allow old config to use as default
2020-03-15 10:10:05 +08:00
Benau
364936e37b
Allow getting stun server list using SRV records
2020-03-15 10:05:13 +08:00
Benau
7598dc7b37
Use minidns for android to fix starting crash
2020-03-13 21:31:33 +08:00
Luffah
cf6225e3ae
add a camera mode to spectate soccer in large isometric view (switchable with accel/brake keys) ( #4245 )
...
Co-authored-by: luffah <luffah@runbox.com>
2020-03-13 13:08:40 +08:00
Benau
fbb1889faa
Pause request in iOS STK to avoid crash when pressing home button
2020-03-12 23:48:29 +08:00
Benau
dccbe675fc
Quick fix for weird "triangle selection" in touch screen for dynamic ribbon widget
2020-03-11 15:45:28 +08:00
Benau
80dd4732f3
Disable unsupported setter from kart for network ai
2020-03-11 15:44:59 +08:00
Benau
65cd28f767
Always enable crash checking for network ai
2020-03-11 15:44:45 +08:00
Benau
fd4cac7c9d
Fix non-updating slip stream texture after kart finished race
2020-03-11 15:42:14 +08:00
Benau
afa60c4537
Disable scripting engine in child process
2020-03-11 15:35:02 +08:00
riso
1d855ccfd7
allow 0 player number if there is AI ( #4240 )
...
* allow 0 player number if there is AI
* space
2020-03-11 12:05:29 +08:00
Benau
da561b7081
Update child process addons newly installed in lobby
2020-03-09 23:44:36 +08:00
Benau
d4c9b16c28
Don't kick in game GUI server host so he can idle in game
...
Fixed #4237
2020-03-09 16:19:54 +08:00
Benau
07e471c8ba
Avoid calling gui and music related functions in child process
2020-03-09 16:14:12 +08:00
Benau
1ea75b5f0e
Update translation string
2020-03-07 11:53:43 +08:00
Benau
c542feaf4d
Include all tracks by default using android app bundle
2020-03-06 10:37:01 +08:00
Benau
122d2cf737
Fix string grammar
2020-03-01 10:18:34 +08:00
Benau
bd513646ac
Show a better change team text for multitouch device
2020-03-01 10:17:00 +08:00
Benau
ed0a2b49e7
Add soccer tips set
2020-03-01 01:16:37 +08:00
Benau
8b8f03ad75
Tell the main process network type
2020-03-01 00:40:29 +08:00
Benau
e584bced0e
Enable iOS server creation
2020-02-29 01:26:01 +08:00
Benau
8b119201dc
Use request manager to handle server recovery and registration
2020-02-29 01:16:20 +08:00
Benau
e31bd30f1f
Avoid exit hang in wan server for GUI server
2020-02-28 22:49:21 +08:00
Benau
ee22c0f714
Stop STKHost if cannot register public address
2020-02-28 22:49:06 +08:00
Benau
eff00140f1
Remove unneeded previous unjoin because request is executed one by one
2020-02-28 20:27:26 +08:00
Benau
9a7dcf8d8b
Fix global variable of rubber ball id
2020-02-28 19:53:18 +08:00
Benau
e6deaabcf1
Use std::atomic enum for SFXStatus
2020-02-28 19:53:13 +08:00
Benau
a2f72a0d13
Avoid including sfx_manager.hpp inside kart properties header
2020-02-28 19:53:08 +08:00
Benau
f590280431
Fix mobile STK server logging
2020-02-28 19:53:01 +08:00
Benau
f37a5ee5d3
Only use sound and music in main process
2020-02-28 19:52:54 +08:00
Benau
885aec8020
Add 3d animation ipo copying to child track objects
2020-02-28 19:52:23 +08:00
Benau
607c6932f0
Add track object copying to child process
2020-02-28 19:52:17 +08:00
Benau
f3b5938b8e
Use a new way to identify server owner in graphical server
2020-02-28 19:52:12 +08:00
Benau
4322f47413
Reset graphical client server if its owner quited the game
2020-02-28 19:52:07 +08:00
Benau
97ad138763
Fix child process invalid usage at different places
2020-02-28 19:52:00 +08:00
Benau
d41594ea5b
Initial working of starting game if no physical object exists
2020-02-28 19:51:40 +08:00
Benau
6b08a873a2
Allow world to have 2 process instances
...
Also add specific process type handling to world
2020-02-28 09:43:25 +08:00
Benau
1958e5940c
Allow rewind manager to have 2 process instances
2020-02-28 09:43:19 +08:00
Benau
ca0749cf6b
Allow game protocol to have 2 process instances
2020-02-28 09:43:13 +08:00
Benau
6a635e1a56
Turn physics into a singleton get for 2 processes
2020-02-28 09:43:05 +08:00
Benau
63bad92765
Turn race event manager into a singleton get for 2 processes
2020-02-28 09:43:00 +08:00
Benau
ccdca532b5
Turn projectile manager into a singleton get for 2 processes
2020-02-28 09:42:52 +08:00
Benau
6a3e606c2d
Turn race manager into a singleton get for 2 processes
2020-02-28 09:42:44 +08:00
Benau
c8ea01d264
Initial work on client server within same process
2020-02-28 09:41:07 +08:00
Benau
b7f2a9614d
Add tool for server creation in the same process
...
For iOS or Android App Bundle (or other platform) where create process
or fork is not possible or can not be easily done
2020-02-28 09:35:25 +08:00
Benau
d63c68af78
Add thread safe log prefix assignment
2020-02-28 09:35:11 +08:00
Benau
56fb1b9cba
Add header helper for thread local storage
2020-02-28 09:35:07 +08:00
Benau
015530e1eb
Don't dismiss dialog in no graphics world of STK
2020-02-28 09:32:22 +08:00
Benau
fa0da462fb
Update ENetAddress to use 5 uint32_t to store IP
...
ENetAddress ea = {} will allow to listen to any IPv4 or IPv6 address
when using system or bundled enet
The last uint32_t is for IPv6 scope id (required for IPv6 only lan
servers)
2020-02-28 00:59:37 +08:00
Benau
6d85a03423
Remove unneeded checking of client lobby peer connection
2020-02-27 11:02:15 +08:00
Benau
2ddc26ef9c
Move disconnected peer checking to STKHost loop to avoid race condition
2020-02-27 11:00:41 +08:00
Benau
f935c68d20
Don't discard static message in no graphics STK
2020-02-25 12:22:35 +08:00
Benau
a418302d9f
Add thread safe function for server time logging prefix
2020-02-25 12:17:27 +08:00
Benau
40c57e8115
Don't check dialog for enterGameState in no graphics STK
2020-02-25 09:55:59 +08:00
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