Commit Graph

209 Commits

Author SHA1 Message Date
Kevin Bentley
4c0c6d3b5e
Merge pull request #28 from danra/mac_ci
Mac CI
2024-04-16 20:47:35 -06:00
Dan Raviv
d3c4fdddb1 Add macOS build CI 2024-04-16 19:36:49 -07:00
Dan Raviv
45473b3ee7 Add (almost empty) CMake configure preset for macOS 2024-04-16 19:14:03 -07:00
Dan Raviv
2cf2f6ff6c [CI] Use CMake windows preset 2024-04-16 19:14:03 -07:00
Dan Raviv
5f0961f998 Add CMake configure preset for windows 2024-04-16 19:14:03 -07:00
Kevin Bentley
3bc8b7ea80
Merge pull request #27 from InsanityBringer/rawinput
Add rawinput mouse support
2024-04-16 20:12:59 -06:00
InsanityBringer
9bf9866055
Merge branch 'kevinbentley:main' into rawinput 2024-04-16 20:45:02 -05:00
InsanityBringer
991fa75f16 Remove smoothing code that did nothing 2024-04-16 20:44:50 -05:00
InsanityBringer
21a5ff895b Raw input mouse handler 2024-04-16 20:40:15 -05:00
Kevin Bentley
ac41e9a11d
Merge pull request #26 from InsanityBringer/fix_registry_hive
Change main database registry hive to HKEY_CURRENT_USER
2024-04-16 19:16:36 -06:00
InsanityBringer
a2ecc2f542 Change main database registry hive to HKEY_CURRENT_USER 2024-04-16 20:04:20 -05:00
Kevin Bentley
6a7a14159a
Delete 2024-04-16 18:53:54 -06:00
Kevin Bentley
84024c0a53
Update README.md 2024-04-16 18:40:59 -06:00
Kevin Bentley
9a864dba4a
Update README.md 2024-04-16 18:26:53 -06:00
Thomas Otto
26266d625c Unix: set -std=c++17 explicitly
remove register keyword, add cstdint include
2024-04-17 01:38:18 +02:00
Thomas Otto
67d68f1f4d Unix: CMakeLists.txt compat fixes, suppress fewer warnings
`LIST(APPEND ..)` adds a `;` to the gcc command line, replaced with string
interpolation.

Only use "-Wno-address-of-temporary" on macOS (=clang),
on Linux/gcc use "-fpermissive" which still shows the compiler warning
so it can be fixed later.
2024-04-17 01:38:18 +02:00
Thomas Otto
b58d3585bd Remove unused osMutex code
It was never Acquire'd, only Created and Destroyed; and it was
a stub on Linux and macOS.
2024-04-17 01:20:51 +02:00
Thomas Otto
6a9b345acc Remove linux/ipx.h include
This header was removed with linux 5.15
2024-04-17 01:20:51 +02:00
Thomas Otto
7d2e1b5cba gcc: disable -Wnarrowing via pragma in snd8to16.h 2024-04-17 01:20:51 +02:00
Thomas Otto
9082d9807f Remove superfluous typedefs 2024-04-17 01:20:51 +02:00
Kevin Bentley
d931b77e2b
Update README.md 2024-04-16 16:50:23 -06:00
Kevin Bentley
0ebdee1022
Merge pull request #24 from Informeli/main
tool to autoformat the entire directory to LLVM when needed
2024-04-16 16:45:23 -06:00
Martin
e6ce2e0394 This beautifull commit will allow you to checkable auto format your code with clang-formatter-16 2024-04-17 00:25:58 +02:00
Kevin Bentley
9c7ce0eaf7
Merge pull request #14 from Arcnor/main
enable CI for building
2024-04-16 16:21:44 -06:00
Edu Garcia
0f1f1176a4 enable CI for building 2024-04-16 23:03:46 +01:00
Kevin Bentley
60d75acad5
Merge pull request #19 from winterheart/clang-format
Additional clang-format
2024-04-16 15:49:05 -06:00
Azamat H. Hackimov
38128ea134 Additional clang-format 2024-04-17 00:25:04 +03:00
Kevin Bentley
61be1317b2 More clanging 2024-04-16 14:46:12 -06:00
Kevin Bentley
e9435eaa1e ran clang on *.c files, which I missed earlier. 2024-04-16 14:44:22 -06:00
Kevin Bentley
cce1a49671
Merge pull request #13 from winterheart/clang-format
Formatting code with clang-format
2024-04-16 14:24:32 -06:00
Kevin Bentley
7399b5a2f2 Fix CRLF line endings. 2024-04-16 14:21:35 -06:00
Kevin Bentley
cf0b71e4e4
Merge pull request #17 from danra/mac_build
macOS builds successfully (x86_64)
2024-04-16 14:16:56 -06:00
Kevin Bentley
7a1479a5ae
Merge pull request #16 from danra/revert_breaking_format
Revert code broken by formatting in c6640cc631c03487d6d1ff839f87a63bc…
2024-04-16 14:10:47 -06:00
Dan Raviv
ec49dbdefa Temporarily(?) remove pre-compiled, 32-bit-only macOS hogutils
macOS no longer supports 32-bit. If this is needed, hopefully we can get the sources for hogutils?
2024-04-16 13:02:45 -07:00
Dan Raviv
031ab438c4 Avoid assuming 32-bit in another pointer-to-int conversion 2024-04-16 13:02:45 -07:00
Dan Raviv
3f11c5d78e Movie handles avoid assuming pointer size is 32 bits 2024-04-16 13:02:45 -07:00
Dan Raviv
9fdf9c63b7 Adjust rudimentary randomness to avoid assuming pointer size is 32 bits 2024-04-16 13:02:45 -07:00
Dan Raviv
e57251a4f4 Restrict i386-only inline assembly 2024-04-16 13:02:45 -07:00
Dan Raviv
116f3d6753 CMake avoid setting 32-bit arch on macOS which doesn't support it anymore 2024-04-16 13:02:45 -07:00
Dan Raviv
ffd5dadc04 Remove redundant CMAKE_CXX_FLAGS_DEBUG setting 2024-04-16 13:02:45 -07:00
Dan Raviv
60f9e4c52a Suppress -Waddress-of-temporary errors
At least temporarily. There are a lot of those
2024-04-16 13:00:23 -07:00
Dan Raviv
b03f9e0478 Limit macOS scope to x86_64 for now
Got some arm64-related errors, which is to be expected.
2024-04-16 13:00:23 -07:00
Dan Raviv
c6ffeb8ad4 Tweak var name to fix CMake errors on macOS
The tilde confuses CMake, maybe(?) due to CMP0053, though I would expect the OLD behavior to just keep working
2024-04-16 13:00:23 -07:00
Dan Raviv
b27418e9fd CMake works with brew-installed sdl2_image on macOS 2024-04-16 13:00:23 -07:00
Dan Raviv
9c85637677 Use default CMAKE_FIND_LIBRARY_SUFFIXES
On macOS, CMake now successfully finds Homebrew's sdl12-compat libSDL.dylib
2024-04-16 13:00:23 -07:00
Dan Raviv
313f34460f Revert code broken by formatting in c6640cc631 2024-04-16 13:00:14 -07:00
Kevin Bentley
5ae86bef38
Merge pull request #15 from jcoby/remove-angelscript
Removes AngelScript
2024-04-16 13:10:47 -06:00
Jacob Coby
25af8a75a4 Removes AngelScript
Unused and fixes compile errors on multiple platforms. #10 #12
2024-04-16 15:06:32 -04:00
Azamat H. Hackimov
78bb130bac GitHub Actions for clang-format check
First QoL check for code health. This action will be executed on each pull request including this one.
2024-04-16 22:04:41 +03:00
Azamat H. Hackimov
4470d664dd Add some IDEA related paths to .gitignore 2024-04-16 22:04:40 +03:00