Commit Graph

26 Commits

Author SHA1 Message Date
Alayan
7d4e8433c1
Require Cmake 3.6 or higher
This gets rid of deprecation warnings. Cmake 3.6 has been out for almost 8 years by now, so this requirement should not cause undue trouble to people trying to compile the game.
2024-05-21 14:06:16 +02:00
Mary
d9b8b7acad
Support for Nintendo Switch (#4491)
* WIP support for Nintendo Switch

* OpenAL is usable

* Remove some debug code, add manual crash when DEBUG_NXLINK is on

* Remove more debug logs

* Support touch, account name detection, language detection. Remove resolution settings

* Stylistic changes

* SFXManager: update on main thread

* Add build script, remove crypto.hpp changes, disable opengl recorder on switch

* make: use sudo where needed, libs=>lib, portlib=>portlibs

* make: build harfbuzz with freetype

* main: remove DEBUG_NXLINK

* socket_address: this comment is no longer relevant

* Fix indentation in SDL, remove extra debug logs from InputManager

* InputManager: make log debug, not info

* CMakeLists: add mbedtls include dirs on switch

* main: deinitialize stuff

* main_loop: fix format
2021-03-04 09:23:23 +08:00
David CARLIER
2899cf8977 Mac M1 build fix proposal avoiding mixing up with homwbrew for Rosetta
as well.
2021-01-09 22:33:42 +00: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
8995491eb6 Update enet to 1.3.14 (remove all IPv6 changes first) 2020-02-28 00:55:10 +08:00
Benau
aed64dfd1f Rename function to make it clearer 2020-01-22 15:56:47 +08:00
riso
0e4f875443 Clean IPV4/ipv4 to IPv4, IPV6/ipv6 to IPv6 2019-09-03 14:24:03 -05:00
Benau
02f8f6fadd Allow windows using IPV6 2019-08-21 09:19:05 +08:00
Benau
a92b9abf54 Remove expired mapped address using last activity 2019-08-20 13:10:18 +08:00
Benau
c2c5c20d92 Initial work on IPV6 game server 2019-08-19 00:05:34 +08:00
Benau
c9656d4410 Allow IPV6 only in iOS to connect to game server not behind a firewall 2019-07-27 15:48:21 +08:00
Benau
0b1da5a1d0 Checking for IPV6 only before connecting to game server in iOS 2019-07-27 02:12:35 +08:00
Benau
c7308b82b0 Add iOS flags handling in cmake 2019-07-12 14:53:55 +08:00
Deve
bcd856d7b2 Avoid not needed enet modification.
Link needed libraries in cmake file in the same way as mingw build.
2018-05-21 21:23:45 +02:00
Deve
50ad5eed33 Try to fix VS build 2018-01-30 23:44:55 +01:00
Deve
4529189048 Upgrade enet 2018-01-30 23:10:30 +01:00
leper
47dc4bdbaa Remove enet modifications. Fixes #21. 2018-01-30 22:06:07 +01:00
Marianne Gagnon
33defa44b7 Merge most modifications by egirsova to build 64-bits on OS X 2016-03-21 20:16:59 -04:00
Flakebi
f386f05749 Silence even more warnings 2015-02-05 20:13:33 +01:00
Deve
d0f96a7673 Allow to cross-compile Windows build under Linux using MinGW.
It works fine on Ubuntu. You only need to use:
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw.cmake
2015-01-08 21:46:59 +01:00
deve
e57b927c96 Allow to compile STK on Windows using MinGW compiler.
It needs vorbis dll's as additional dependencies.

TODO: add an alternative to inet_ntop function.
TODO: link wiimote library
2014-09-03 14:08:23 +02:00
hilnius
ea2b52a663 merging hilnius's branch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-31 18:03:11 +00:00
auria
2da4e7b1f6 Apply patch to make sure CMake builds static binaries of libraries
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-19 22:39:43 +00:00
auria
cab6469443 Complete Cmake OSX 10.7 support. Hopefully Cmake is now ready to take over the manually maintained Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-14 23:10:20 +00:00
hikerstk
5da47c8202 Applied bug fix by Xeno for building on solaris.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-16 22:18:07 +00:00
auria
011d6c98f0 Move libs to a new directory
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-18 23:09:12 +00:00