Commit Graph

166 Commits

Author SHA1 Message Date
SirLynix
d29d7e3498 xmake: disable pedantic for now 2023-05-01 10:36:12 +02:00
SirLynix
97f1c2c56c Refactor xmake.lua and make some warnings as errors 2023-04-30 21:11:30 +02:00
SirLynix
a55560d1ca Update to Jolt Physics v3 2023-04-20 12:29:56 +02:00
SirLynix
396c0f73f3 Remove NAZARA_UNITY_BUILD define 2023-04-13 09:23:42 +02:00
SirLynix
0a2388a343 Move MinGW isystem fix to xmake.lua 2023-04-11 18:17:40 +02:00
SirLynix
83c2f3f735 Fix cross-compilation to arm64 on Windows 2023-04-11 13:51:33 +02:00
Jérôme Leclercq
16bd496253 Leave bullet in release mode 2023-04-10 17:12:23 +02:00
SirLynix
26b23ccce6 Rename Physics2D to ChipmunkPhysics2D 2023-04-10 17:12:23 +02:00
SirLynix
b1255ad2ad Build: Add options to enable/disable specifics modules and their dependencies 2023-04-10 17:12:23 +02:00
SirLynix
6a609055dc Replace ordered_map with unordered_map when ordering is not required 2023-04-10 17:12:23 +02:00
SirLynix
4f1f0c6418 JoltPhysics3D: Fix JoltConvexHullCollider3D::BuildDebugMesh 2023-04-10 17:12:23 +02:00
SirLynix
d610baf920 JoltPhysics3D: Rework RigidBody wrapper
- Add a clear way to setup dynamic/kinematic or static bodies
- Body registration to the world is batched (all bodies created before a physics step are added together, which is what Jolt is optimized for)
- Added support for empty shapes (= rigid bodies without collision) using a very small shape and tagging the body as sensor
2023-04-10 17:12:23 +02:00
SirLynix
021801f02e Continue Jolt integration 2023-04-10 17:12:23 +02:00
SirLynix
c5ac142888 Add JoltPhysics3D for a performance test 2023-04-10 17:12:23 +02:00
SirLynix
bd4c2d6ee7 Rename Physics3D to BulletPhysics3D 2023-04-10 17:12:23 +02:00
SirLynix
06ab3adb45 Re-enable Physics3D on web 2023-04-10 17:12:23 +02:00
SirLynix
795efae3a0 Physics3D: Switch from Newton Dynamics to Bullet3 2023-04-10 17:12:23 +02:00
SirLynix
507cd27eaf Start working on documentation generator 2023-03-21 13:21:00 +01:00
SirLynix
488f3ca6ef Minor fixes 2023-03-14 18:06:14 +01:00
SirLynix
ff16970542 Update xmake.lua 2023-02-26 14:19:43 +01:00
SirLynix
d1e5846f15 Refactor xmake.lua 2023-02-26 14:12:11 +01:00
SirLynix
f6154bb98b Build: Define NAZARA_UTILS_WINDOWS_NT6 on Windows only 2023-02-15 16:32:40 +01:00
Jérôme Leclercq
20f70533c0 Fix wasm ci (#391)
* Update wasm-build.yml

* Set embed_rendererbackends with wasm

* wasm fixes

* Fix CI

* Update wasm-build.yml

* More wasm fixes

* Final fixes
2023-02-05 15:03:48 +01:00
Lynix
a8b003224d (6666th commit 😈 ) Allow Assimp >=5.2.5 and xmake fix
5.2.4 had some bugs (see https://github.com/assimp/assimp/issues/4557)
Also fixes embed_plugins and link_openal options
2023-02-05 11:32:23 +01:00
Lynix
63429cba62 wasm CI fixes 2023-02-05 11:13:16 +01:00
Lynix
b6d565a097 Add WASM CI 2023-02-05 11:00:39 +01:00
Jérôme Leclercq
c3dddb883d Update xmake.lua 2023-02-03 14:38:42 +01:00
SirLynix
c7818073a4 Update xmake.lua 2023-02-03 09:34:57 +01:00
SirLynix
d1015cdc93 Compile Nazara statically only when targetting WASM 2023-02-03 09:07:56 +01:00
SirLynix
5a57aca66a Last changes 2023-02-02 20:34:25 +01:00
SirLynix
cee75dcc11 Merge fixes 2023-02-02 20:34:25 +01:00
SirLynix
292ca60592 WIP 2023-02-02 20:34:25 +01:00
SirLynix
ea5c5240fc Improve emscripten support 2023-02-02 20:34:25 +01:00
REMqb
7cb90782de ~ fix post rebase & dirty fix avoid deleting shaders before linking them 2023-02-02 20:34:25 +01:00
REMqb
f172330aaf ~ WIP port emscripen (WebGL) 2023-02-02 20:34:25 +01:00
SirLynix
896aeb2c4a xmake: Set libsdl minimal version 2023-01-29 11:38:26 +01:00
SirLynix
97fa4d98be Rework EnTT integration
- Update EnTT to 3.11.1
- Moved EnTT wrapper to EnTTWorld, inheriting EntityWorld
- AppEntitySystemComponent can now handles multiple EntityWorld
- Headers relying on EnTT are now automatically included if NAZARA_ENTT is defined
- Renamed SystemGraph to EnttSystemGraph (as it depends on it for now)
2023-01-28 19:28:43 +01:00
Jérôme Leclercq
dd421a6385 Replace float/UInt64 durations by a more precise Time class (#388)
Improve Clock class with atomic RestartIfOver method and allows to choose required precision
2022-12-29 21:31:46 +01:00
SirLynix
3d88746060 Move unit tests to the unittests asset folder 2022-12-29 12:07:52 +01:00
SirLynix
fe69cc0d27 Disable SDL main 2022-12-25 12:09:47 +01:00
SirLynix
b79718404c Fix OpenAL extensions functions 2022-12-06 12:54:22 +01:00
SirLynix
2dd0e7d9c8 Audio: Add an option to directly link OpenAL 2022-12-06 07:48:03 +01:00
SirLynix
e555b7ab73 Remove custom Python package 2022-11-19 22:21:19 +01:00
Jérôme Leclercq
082015a0c5 Fix macOS compilation (#384)
Disable X11 on macOS, I don't know why it's enabled
2022-11-19 13:37:42 +01:00
SirLynix
8b9b24521b Fix macOS compilation 2022-11-18 20:22:05 +01:00
CiotatSoft
a9408bdb7f Fix compilation error on Linux if libx11 is not installed (#383) 2022-11-16 12:09:04 +01:00
SirLynix
2d3d9d9526 Try to fix macOS CI 2022-11-15 13:18:54 +01:00
Lynix
71c5133c7a XMake: Use new syntax 2022-11-13 13:05:45 +01:00
SirLynix
0a8048809c XMake: simplifies option syntax 2022-10-10 08:49:52 +02:00
SirLynix
6d0b53b39e Core: Rework HardwareInfo 2022-09-24 15:52:29 +02:00