Commit graph

41 commits

Author SHA1 Message Date
reo
db1b427e2a Physics Support
- NEW CRATE: raidillon_physics.
- Added new models to be able to test the physics support.
- Added a new system "PhysicsSystem" to apply physics calculations to the ECS world.
- NEW COMPONENT: RigidBodyComponent
2025-11-16 15:38:20 +00:00
reo
4b97bd98d2 Fix #9, add tests to typemap.rs 2025-11-16 18:22:09 +03:00
reo
d280a0b9a5 Merge pull request 'Replace Contexts with Resources' (#7) from 2025-10-15-resources into master 2025-10-19 14:24:22 +00:00
reo
5f3da6ab99 Add FPS counter to the debug UI 2025-10-17 23:18:18 +03:00
reo
54967067bd Enable InputState event handler in engine 2025-10-16 17:01:23 +03:00
reo
1a48e58a1c Implement get_many.
I believe the repeated code can be generated with procedural macros, but
I don't need that right now. I'll do it if I ever end up needing this.
Right now I need to start making the game itself more than anything.
2025-10-16 16:12:18 +03:00
reo
b86bbdd237 fix spacing 2025-10-16 16:11:53 +03:00
reo
ef055a1bda Replace contexts with resources
- Implements a new macro to generate code for a new structure: TypeMap
- TypeMaps are wrappers for HashMaps that use TypeIDs as keys.
- Refactor the entire codebase to use the new resource structures.
- This commit is the first step towards getting rid of "god context objects everywhere".
2025-10-15 22:33:04 +03:00
reo
6e42d94b44 Remove the older debug system, rename FPSDebugCameraSystem 2025-09-29 16:05:54 +03:00
reo
7732280229 Add WASD keys to FPSDebugCamera system, rename to FPSDebugCameraSystem 2025-09-29 16:04:40 +03:00
reo
46c8c32819 Huge input update, FPS Camera controls system
Long day. I now store winit:🪟:Window in a mutex.
2025-09-28 01:31:14 +03:00
reo
1e9b997aeb Implement HDRI skybox support 2025-09-26 22:44:43 +03:00
reo
44489f9fe3 Move models to git LFS 2025-09-26 16:52:14 +03:00
reo
f34a9b01a0 Add imgui slider command to the debug ui buffer implementation 2025-09-25 13:01:02 +03:00
reo
84ab3a26b1 Timing Module Update
- Implement a new timing module
- Utilize the new timing module in glium platform implementation for frame limiting and fixed engine updates timing.
2025-09-24 23:20:51 +03:00
reo
5e8897c271 Optimize imports 2025-09-23 21:16:06 +03:00
reo
59963cdec1 Add pre-commit-config, run pre-commit on all files 2025-09-23 21:11:09 +03:00
reo
50d07ffea5 Optimize imports 2025-09-23 21:06:24 +03:00
reo
369bbd19c7 Move PlatformContext to the raidillon_platform crate 2025-09-22 19:45:30 +03:00
reo
9905ffd26b Add event handler methods to the engine structure 2025-09-18 00:32:12 +03:00
c32a452f17
Merge pull request #3 from reo6/codex/refactor-system-id-to-typeids 2025-09-10 15:22:50 +03:00
75fd59a504 Refactor system registration to use TypeIds 2025-09-10 13:21:35 +03:00
reo
0c0d5cdb2a Fix imgui renderer once and for all
Finally solved the problems with the imgui renderer after a long chat with clankers. Fixed some other stuff as well.

Reminder to keep the rendered_this_frame check as that's what solved it. Probably a deeper issue down there that caused us to render twice, but whatever.
2025-09-10 01:31:43 +03:00
reo
15122b8ebd wip: Changes of the week
- Move engine to a different crate
- Add engine trait
- Refactor the rest of the codebase to work with these changes
- Add debug ui buffer, use it to finish imgui support
2025-09-07 17:00:04 +03:00
reo
3fd5b09a94 Initial implementation of imgui support 2025-09-06 11:52:49 +03:00
reo
1a200e62ef Clone the context instead of repeating the same code 2025-09-05 16:07:48 +03:00
reo
b3b69756e6 Use static string literals instead of String for scene IDs 2025-08-31 12:56:05 +03:00
reo
3692736a61 wip 2025-08-30 12:55:42 +03:00
reo
cc7921a5fe wip: engine enhancements and fixes 2025-08-24 18:49:41 +03:00
reo
9816f14f53 Rename assets crate to asset 2025-08-17 21:23:11 +03:00
reo
3458662cfc Rename crate folders to remove raidillon prefix 2025-08-17 21:14:59 +03:00
reo
176ea52ab0 wip: week of changes 2025-08-16 21:24:10 +03:00
reo
03e8f34dba Add indexmap to raidillon_core 2025-08-10 13:37:58 +03:00
reo
ec04d921e8 Add indexmap to raidillon_glium 2025-08-10 13:37:45 +03:00
reo
84f8a495b7 Implement core "system" system 2025-08-10 13:37:13 +03:00
reo
379d54b048 Use IndexMap in glium rendering systems
- Improve RenderingContext
- Improve RenderingSystem trait
2025-08-10 13:36:25 +03:00
reo
147a9d3a85 Improve Scene & SceneManager system
- Implement AsRef and AsMut for Scene
- Add "new" method to SceneManager
2025-08-10 13:35:16 +03:00
reo
8ffa01ad48 Implement the core engine methods 2025-08-10 13:34:02 +03:00
reo
1cc63a0dab Implement Engine, add compile_shader to rendering systems
- Implement the initial version of the run method of the glium platform
- Add asset manager to the context of the renderer. I will probably move that to either the engine or somewhere else later.
- Other unimportant stuff that I'm too lazy to include here. Early stage commit messages don't really matter anyways.
2025-08-07 20:07:29 +03:00
reo
e817abf8ab Continue new platform/glium implementations
- Assets, asset manager system
- Rendering system trait
- Kick off glium platform implementation
- And more
2025-08-07 17:56:35 +03:00
reo
f7d5c14caf Kickstart a new rewrite of the raidillon engine
Endless refactors, refactor everyday, refactor relentlessly, refactor
every morning, every day, every hour.
2025-08-06 11:43:04 +03:00