Commit Graph

  • ae111d3cfb Fixed item rotation in network mode. hiker 2018-03-05 22:42:01 +11:00
  • d5c1ac30ab Fix signin leaking Benau 2018-03-05 16:34:15 +08:00
  • 4f9353e03f Reduce camera shaking (caused by camera being updated during rewind). hiker 2018-03-05 17:52:06 +11:00
  • eec166c90d Always clean up server id file in case client failed to connect Benau 2018-03-05 13:55:35 +08:00
  • 4ab04bc546 Don't overwrite user id and token if using client-server Benau 2018-03-05 13:52:04 +08:00
  • ebcaa2c1ad Fix auto connect Benau 2018-03-05 13:04:17 +08:00
  • aa027bd09c Fix GUI bug auria.mg 2018-03-04 18:38:58 -05:00
  • 2b56a97b08 Clean up Server, ServersManager and quick play Benau 2018-03-05 01:54:44 +08:00
  • 8f78d4e891 Add a popup on first run on android, so that user can choose if accelerometer should be enabled Deve 2018-03-04 00:08:24 +01:00
  • 975fc8f84a Don't show screen keyboard when hardware keyboard is available Deve 2018-03-03 21:06:59 +01:00
  • 58757c2927 Hide create server buttons for android Benau 2018-03-03 14:31:38 +08:00
  • 594780a758 Don't use setVisible for IconButtonWidget in beforeAddingWidget Benau 2018-03-03 14:22:44 +08:00
  • 89596af654 UI bugfix auria.mg 2018-03-02 20:44:00 -05:00
  • 0cd5b5672e Fix assert failure auria.mg 2018-03-02 19:46:43 -05:00
  • 41ba4395d9 Don't spam with old drivers popup on android Deve 2018-03-02 22:34:20 +01:00
  • 729e508027 Disable accelerometer in options if it's not available Deve 2018-03-02 22:30:22 +01:00
  • 4157eef894 Get device orientation only if accelerometer is used Deve 2018-03-02 21:38:15 +01:00
  • 402b2ffb7a Fixed compilation Deve 2018-03-02 20:29:25 +01:00
  • 4e2863294d Use stun servers that return XOR mapped address Benau 2018-03-02 22:38:04 +08:00
  • 4f9af9d438 Don't use getifaddrs as it crashes android Benau 2018-03-02 20:03:04 +08:00
  • 43cf29af86 Merge remote-tracking branch 'origin/network_improvements' Benau 2018-03-02 17:39:16 +08:00
  • efa294d4f4 Clean up lan and wan server code Benau 2018-03-02 15:21:27 +08:00
  • 80a9cc5c48 Auto shutdown the child STK server in windows Benau 2018-03-02 13:25:14 +08:00
  • a27512f515 Use ostringstream to add server option Benau 2018-03-01 12:50:51 +08:00
  • d76bd49eee Fix one more non-exist GL call in no graphics Benau 2018-03-01 12:19:25 +08:00
  • 9d93e0112c Try to fix OSX no-graphics STK Benau 2018-03-01 10:10:08 +08:00
  • a00c1cadc8 Simplify accelerometer selection in settings Deve 2018-02-28 21:59:08 +01:00
  • 0ee00ad1e5 Make accelerometer values relative to device orientation Deve 2018-02-28 21:40:02 +01:00
  • 3141b67f89 Use a signal handler to partially clean up STK when terminating Benau 2018-03-01 02:19:26 +08:00
  • 13d4cc50cf Use server id file to determine the status of no-graphics server Benau 2018-02-28 16:09:53 +08:00
  • e760642842 Use NetworkConfig to set user id and token Benau 2018-02-28 15:29:40 +08:00
  • 18eb0a613a Allow non-saved password user to create wan server Benau 2018-02-28 15:05:34 +08:00
  • 0c23e6063d Merge branch 'master' of https://github.com/supertuxkart/stk-code samuncle 2018-02-27 23:39:28 +01:00
  • 7db4ef8056 Add a shader to use the day/night cycle for lamps, etc samuncle 2018-02-27 23:38:28 +01:00
  • 6b4fb50876 Convert tabs to spaces Deve 2018-02-27 23:24:00 +01:00
  • 36c6ea52ae Allow to detect device rotation for better accelerometer support Deve 2018-02-27 23:22:03 +01:00
  • 39c50c838f Make access to the time of the track in the shader to react to day/night cycle samuncle 2018-02-27 23:20:49 +01:00
  • cd5cb5ef6d Use STKHost to determine graphics-client-server Benau 2018-02-27 14:10:44 +08:00
  • 6536a311b3 Allow logging save only to a file Benau 2018-02-27 13:22:58 +08:00
  • 4ac34fac76 Don't register LAN server Benau 2018-02-27 12:50:41 +08:00
  • 4cc56aec1b Detect system language on android Deve 2018-02-26 21:25:08 +01:00
  • 0e2d5ab460 Allow server and client together in graphics Benau 2018-02-27 02:40:50 +08:00
  • 92b5f69220 Move hiker's SSM to a SeparateProcess class for graphics + client server Benau 2018-02-27 01:40:36 +08:00
  • d8007c4518 Update server for new xml code Benau 2018-02-26 14:23:34 +08:00
  • 78bb9e78ac Fixed version number for nvidia gles. Deve 2018-02-25 22:40:15 +01:00
  • 34f0f8c239 Fixed a bug with red light in thunderbird model on android Deve 2018-02-25 22:17:53 +01:00
  • 6c18664967 Make sure protocol manager exists when requesting Benau 2018-02-25 15:24:46 +08:00
  • c5cf87071c Use xmlEncode for proper unicode handling Benau 2018-02-25 14:32:38 +08:00
  • 2fcaeabf1c Increase timeout in case of busy network Benau 2018-02-25 13:45:43 +08:00
  • 571a524f59 Update lobby for new gui engine code Benau 2018-02-25 13:31:45 +08:00
  • 7b903a09ba Add text_valign="top" support to GUI engine auria.mg 2018-02-24 21:49:49 -05:00
  • 8d565fba11 Unicode fix auria.mg 2018-02-24 21:38:31 -05:00
  • 34caab24fe Update networking lobbdy for better display info Benau 2018-02-25 02:09:07 +08:00
  • 2a117d8e44 Don't lock in async update in protocol manager Benau 2018-02-25 02:07:24 +08:00
  • b26b784b6a Various improvements to WAN and LAN connection Benau 2018-02-24 15:48:30 +08:00
  • b782af2949 Remove "Final lap!" message in one-lap races (#3127) Ethan Uzarowski 2018-02-23 20:43:46 -05:00
  • 95f0bf9e3b Used functions in stk_config to convert between ticks and times. hiker 2018-02-23 23:22:49 +11:00
  • d586ab9011 Allow auto-fallback to another unused port if needed Benau 2018-02-23 16:16:43 +08:00
  • a93182740e Reset NetworkConfig when exiting WAN game screen Benau 2018-02-23 15:46:03 +08:00
  • 7d14954012 Simpify network console Benau 2018-02-23 14:57:59 +08:00
  • 1023e6580e Unregister STK server when exiting Benau 2018-02-23 14:01:20 +08:00
  • cb712411e0 Converte some pararchute values to use ticks. hiker 2018-02-23 10:01:22 +11:00
  • 005454ba7b Use the recieved port to connect, also fix a possible crash Benau 2018-02-22 16:38:53 +08:00
  • 81342ddd00 Fixed several mixups of ticks and time. hiker 2018-02-22 19:25:11 +11:00
  • 7a53cf16fe Fixed compiler warnings. hiker 2018-02-22 19:19:04 +11:00
  • 33435de026 Fix lan game in localhost, also improve timer behaviour Benau 2018-02-22 16:03:54 +08:00
  • 4559fd6a2c Remove unused protocol Benau 2018-02-22 15:14:15 +08:00
  • 1458f3ef8e Fix wan connection, move get public address from stun to stk host Benau 2018-02-22 15:10:30 +08:00
  • 797e35c674 Bugfix, forgot to change the type from float to int. hiker 2018-02-22 09:23:45 +11:00
  • 1c3da88e77 Replaced more time with ticks. hiker 2018-02-22 09:22:57 +11:00
  • 09e7a5cc13 Converted more times to using ticks; fixed bug that in case of a race restart the fastest lap was not reset. hiker 2018-02-21 22:46:35 +11:00
  • 27b5409487 Use ticks (at the physics frame rate) for time measurement, which avoids potential floating point errors (in networking). hiker 2018-02-21 22:18:45 +11:00
  • 208c5eb6d8 Merge remote-tracking branch 'origin/master' into fix-timestep hiker 2018-02-21 08:35:58 +11:00
  • 8daebe06e1 Allow creating wan server in command line Benau 2018-02-20 15:11:58 +08:00
  • 22c755a328 Show protocol name when it is terminated (easier for debugging) Benau 2018-02-20 13:33:43 +08:00
  • 14b401b54e Use std atomic for server state Benau 2018-02-20 11:14:57 +08:00
  • 04a6f6d08b Warn user about multiple instance of STK server Benau 2018-02-20 10:11:09 +08:00
  • 3223d05c6c Merge remote-tracking branch 'origin/master' into network_improvements Benau 2018-02-20 00:14:29 +08:00
  • 4ab823cfbc Move lan network socket to thread main loop, fixed leaking of it too Benau 2018-02-19 11:36:32 +08:00
  • e393e3d4f0 With shared_ptr protocol is not leakable Benau 2018-02-18 14:50:06 +08:00
  • e52ab5888c Don't crash when close STK window directly Benau 2018-02-18 14:13:24 +08:00
  • c5b986e874 Allow going back to online menu if server connection is lost Benau 2018-02-18 14:06:17 +08:00
  • 6fd7fb0e0e Allow reconnecting to lan servers as many time as possible Benau 2018-02-18 13:24:29 +08:00
  • 0a5c1a69c7 Use shared_ptr for protocol to avoid leaking Benau 2018-02-18 12:39:05 +08:00
  • bcf8e4e5fe Allow shutdown STKHost from dialog Benau 2018-02-17 16:25:53 +08:00
  • 4c1cc50955 Don't pause timer in network as it breaks rewind Benau 2018-02-17 15:21:26 +08:00
  • 372753f505 Use atomic flag to start / stop listening thread Benau 2018-02-17 11:40:48 +08:00
  • cfeadf335c Move some code to header Benau 2018-02-17 10:51:33 +08:00
  • c5788a2c90 Move the cleaning of events to destructor of protocol manager Benau 2018-02-16 00:48:27 +08:00
  • 05f7c014dd Create a prototype for thread-safe protocol manager Benau 2018-02-15 16:47:04 +08:00
  • 3d8efcdfa1 Use >= for counter in case of some peer disconnect in between for completing race end Benau 2018-02-15 15:33:18 +08:00
  • fa2a8bccd3 Reset available karts and tracks each selection Benau 2018-02-15 14:07:58 +08:00
  • 20a2bc3bbb Terminate controller and game event protocols when exit result screen Benau 2018-02-15 13:28:28 +08:00
  • e7d3658a53 Merge remote-tracking branch 'origin/network_improvements' into game_protocol Benau 2018-02-15 10:36:14 +08:00
  • c0333fe0f7 Bugfix: TimeInfo objects were missing for substeps, resulting in very stuttering game play. hiker 2018-02-15 10:06:13 +11:00
  • bfb862645d Print some debug info Deve 2018-02-14 22:20:31 +01:00
  • 959f33223e Enable multitouch gui only if touchscreen is available Deve 2018-02-14 22:11:41 +01:00
  • 469f7d2fc5 Drop player if he has incompatible karts / tracks Benau 2018-02-14 12:23:05 +08:00
  • e26239e364 Improve the input sensing text to be a bit clearer auria.mg 2018-02-13 20:35:07 -05:00
  • 4bd7848431 Removed duplicated update of the ProtocolManager, and only update it when STKHost exists (otherwise STK will crash since ProtocolManager can get called when it does not exist). hiker 2018-02-14 09:27:13 +11:00