Commit Graph

777 Commits

Author SHA1 Message Date
Benau
ea0380ae16 Use SDL2 to create iOS device 2020-06-11 11:40:25 +08:00
Benau
d4cd6d6fc9 Add minimum window size 2020-06-06 01:02:01 +08:00
Benau
da1d41bf85 Add resizing of GUIEngine (only works with some screen) 2020-06-04 15:49:34 +08:00
Benau
2eaca2091e Use SDL2 to handle window creation 2020-06-02 10:36:06 +08:00
Benau
32e3e4a504 Make gamepad visualization work with SDL2 2020-04-21 19:40:30 +08:00
Benau
93cf4bab52 Fix crash in case system doesn't support IPv4 or IPv6 2020-04-14 11:35:43 +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
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
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
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
Benau
99a5675abe Add UserDefinedServer class to allow saving the server name easier 2020-02-05 14:06:51 +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
e1188c5532 Fix non random client port (NetworkConfig initialized too early) 2020-01-30 11:30:54 +08:00
Benau
6abd3bbf69 Add socket address to support both IPv4 and IPv6 2020-01-27 11:50:15 +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
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
4d0952c716 Clear up tips manager 2019-12-18 12:52:45 +08:00
杜茂森
1ade00462d Simple tips manager (#4146) 2019-12-18 02:23:06 +01:00
Benau
49651cca4f Allow connect to server with domain in IPv4, fixed #3969 2019-12-14 09:52:04 +08:00
Benau
5f32b81ab8 Fix stk server crash 2019-11-03 02:43:31 +08:00
Benau
5c9df8d9a2 Fix profiling mode of stk 2019-11-02 00:07:10 +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
Alayan
50988c6c60 Fix #3687 2019-10-26 02:28:42 +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
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
chozo
d4d34498ad Command-line help typo, fix
modified:   src/main.cpp
2019-10-17 20:29:10 +02:00
Benau
b639efd8ed Use lower frequency for network ai 2019-10-16 11:48:58 +08:00
Benau
1614868b5d Add AI handling for online racing games 2019-10-15 16:19:30 +08:00
Benau
76871a3f24 Fix crash when fresh stk lan game with AI 2019-10-14 16:34:28 +08:00
Benau
3927c2d78c Save network permission configuration when leaving dialog 2019-10-11 23:05:08 +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
a26f67bf16 Allow using AI in lan racing game 2019-10-09 14:08:22 +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
riso
0e4f875443 Clean IPV4/ipv4 to IPv4, IPV6/ipv6 to IPv6 2019-09-03 14:24:03 -05:00
Benau
1053c582fa Add --connect-now6 for ipv6 connection 2019-08-21 00:21:54 +08:00
Benau
bdf8c589de Allow using external full stk-assets 2019-08-08 09:39:01 +08:00
Benau
ef68f8377a Move creation of music information after downloading assets 2019-07-24 01:35:40 +08:00
Benau
3293196707 Move loading of SP shaders after downloading assets 2019-07-24 01:35:15 +08:00