Commit Graph

357 Commits

Author SHA1 Message Date
CodingJellyfish
118cde2498 Revert #5047 2024-06-25 20:53:27 +08:00
CodingJellyfish
d9789726a2
Merge pull request #5047 from ognevny/improve-mingw-build
improve MinGW build
2024-06-25 20:35:41 +08:00
kimden
f0af5ed992 Add an option for -fsanitize=undefined 2024-06-25 13:44:48 +04:00
Alayan
c086a6774d
Misc. improvements
- Fix MSVC compilation
- Improve some repetitive code
2024-05-22 23:24:50 +02:00
Alayan
2923a86cd6
Minor fixes
- The code starting a tutorial race was duplicated in three places. Consolidate it in one place.
- When launching the tutorial from the overworld, use the last used input device instead of the keyboard
- Restore the old cmake policy. The new way to replace that code suggested by the cmake manual fails CI, and debugging MSVC fantasies without a local install is a nightmare.
- Restrict this policy setting to MSVC as that's the only compile path that needs it, avoiding the warning for non-MSVC builds.
- Add missing define guards
- Remove some extraneous includes
2024-05-21 21:35:41 +02:00
Alayan
5bfb9aa054
Fix an error detected by CI
- Update MSVC cmakelist to properly add DEBUG
2024-05-21 15:12:59 +02:00
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
ognevnydemon
e232bcf25c improve MinGW build 2024-04-08 16:40:32 +03:00
Benau
12a8b1da1d Update haiku file_manager handling code 2023-03-12 08:26:20 +08:00
Benau
292bafcf9a Check for libshaderc.so (used by debian) 2023-01-08 08:15:06 +08:00
Benau
99bd8a338a Remove bundled shaderc 2023-01-03 10:01:41 +08:00
Benau
dd6768911d Build for armv7 windows
No installer as armv7 windows has no x86 emulation
2022-09-18 23:54:44 +08:00
Benau
694c1b6c29 Fix xcode build 2022-08-19 23:28:54 +08:00
Benau
b4b0ddc620 Add GECompressorS3TCBC3 2022-08-06 09:48:11 +08:00
Benau
593f78a230 Move MiniGLM to graphics engine folder 2022-07-24 12:22:06 +08:00
Deve
78f871d7f2 Use OpenGL ES by default for RISC-V 2022-05-26 10:06:46 +02:00
Benau
d6a3e48d03 Fix compiler warnings in MinGW 2022-04-09 12:53:20 +08:00
David Carlier
4f4fb01ed7 upstreaming change for settings paths for haiku.
original author @threedeyes slighty adapted.
2022-03-29 22:28:23 +00:00
David Carlier
37a57d0011 Fix build for Haiku and a handful of other oses with the spirv-tools dependency. 2022-03-26 15:05:08 +00:00
Benau
bc1d885bd1 Add shaderc v2022.1 for GLSL to SPIR-V shaders
Ran ./utils/git-sync-deps already, removed some unneeded files
2022-03-17 12:21:20 +08:00
David CARLIER
1f0ea77f80
illumos port. (#4732)
overcoming sun constant defined in this platform.
forcing 64 bits build as angelscript assembly is incorrect for 32 bits.
2022-02-13 00:31:14 +08:00
Benau
73064a341a Fix missing dSYMs in Xcode archive 2021-09-28 13:49:46 +08:00
Benau
31ce998cda Fix error during Xcode archive 2021-09-28 13:00:25 +08:00
Mary
feb0118b94
Fix Switch OpenAL (#4560) 2021-07-21 00:39:36 +08:00
Mary Strodl
abdad11a71
switch: mojoal on switch by default 2021-07-15 17:55:36 -04:00
Benau
17d26338f8 Add MoltenVK support
SDL_Vulkan_LoadLibrary is used for macOS to keep 10.9 compatibility
2021-06-10 13:21:11 +08:00
Benau
d5c848c4c2 Add basic vulkan driver 2021-06-10 01:02:24 +08:00
Pino Toscano
cf80fbfca7
Stop installing app icon in pixmaps location (#4534)
The /usr/share/pixmaps location is considered a legacy location for
application icons; since the application icons are already installed in
the global XDG hicolor theme, then simply stop installing the 512px one
in the legacy pixmaps location.
2021-05-20 16:52:27 +08:00
Benau
35b57a7dbb Add cctools CMake toolchain for cross-compiling all Apple targets 2021-05-20 11:27:18 +08:00
Benau
33459e852c Use libsamplerate to handle pitch for MojoAL 2021-05-19 11:29:48 +08:00
Benau
ec02331c73 Use MojoAL instead of OpenAL for Apple
Because OpenAL in iOS is broken at the moment
2021-05-14 23:51:24 +08:00
Dave Murphy
f938ef38b1
Fix switch hacks (#4530) 2021-05-14 23:45:52 +08:00
Benau
9a20cda1e7 Use weak_framework for CoreHaptics 2021-05-05 13:57:55 +08:00
Benau
836de13a91 Update Windows building instruction 2021-04-29 12:17:37 +08:00
Benau
2a50137966 Disable Wiiuse for MSVC build
We have too many reports about WinHID not found, and it's broken
at the moment for ARM64
2021-04-27 16:26:00 +08:00
Benau
0e9d45665b Update LLVM MinGW toolchain and CMake scripts for ARM64 Windows support 2021-04-27 16:19:17 +08:00
Benau
b9b5ac2fec Add DirectX 9 driver 2021-04-21 16:33:52 +08:00
Mary
7f3de8ff5a
Add Switch to Github actions (#4514) 2021-04-09 10:36:49 +08:00
Benau
f1aa29634b Add dns c library 2021-03-12 09:07:14 +08: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
Benau
d753393f4d Use MbedTLS instead of Nettle 2021-02-21 01:06:22 +08:00
Benau
4aecc8988d Fix iOS build 2021-02-09 01:41:03 +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
dbee027949 Remove references to unused library dependencies 2020-12-04 12:02:27 +08:00
Benau
3f0eb215f7 Replace glew with glad with vulkan support 2020-12-04 09:39:06 +08:00
dulsi
e2d4936056
Add gamerzilla support to achievements. (#4386)
* Add gamerzilla support to achievements.

* Move all gamerzilla code into one file. Should we want to support another achievement system like Steam, it can be isolated to the WebAchievementsStatus class.

* Add WebAchievementsStatus files.

* Add version number to achievements file. Update graphics. Generate achievement list from internal system.
2020-10-31 11:32:40 +08:00
Newbyte
f5d4475efc Fix build when SDL2 is built with DirectFB support 2020-10-23 12:23:43 +02:00
David Carlier
eace0982a2 DragonFlyBSD support, mainly FreeBSD codepath. 2020-10-10 14:14:49 +01:00
Dmitry Marakasov
4d97c5156c Fix include path order for all bundled libraries
...to avoid picking system includes when bundled libraries are used

Issue: #4372
2020-10-02 13:05:36 +02:00
Benau
842278ffd9 Update bundled tinygettext
Remove unneeded files like gitignore and test and keep a simplified CMakeLists.txt
2020-09-09 13:27:10 +08:00