Commit graph

13 commits

Author SHA1 Message Date
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
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
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
59963cdec1 Add pre-commit-config, run pre-commit on all files 2025-09-23 21:11:09 +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
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
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
3458662cfc Rename crate folders to remove raidillon prefix 2025-08-17 21:14:59 +03:00