Commit graph

169 commits

Author SHA1 Message Date
luccie
4383c0e13e [MODS/VM]: Add all i32 and i64 comparators 2025-08-12 00:49:28 +02:00
luccie
6e3bc89fcc [MODS/VM]: More load and store instructions 2025-08-12 00:24:08 +02:00
luccie
efbe4d8320 [MODS/VM]: Added ref instructions 2025-08-12 00:16:52 +02:00
luccie
799e07e0fd [MODS/VM]: Changed calls to external functions to also be in Runtime.call 2025-08-11 23:52:27 +02:00
luccie
a2d6688180 Fixed a bug that made the folder still exist 2025-08-11 23:49:02 +02:00
luccie
3b8ea60141 [MODS/VM]: Get calls to deinit working and call deinit on sideros_cleanup 2025-08-11 23:07:52 +02:00
luccie
120da3e3cd [MAIN]: Rewrote init_mods to load tar archives and run main.wasm 2025-08-11 18:36:00 +02:00
Lorenzo Torres
f0af9b9955 Added run target to build.zig 2025-08-11 13:14:55 +02:00
Lorenzo Torres
1e652006b0 Implemented platform support for MacOS 2025-08-11 11:23:23 +02:00
luccie
7836ebfcd3 [MODS]: Make sure only runtime and parser need to be defer freed 2025-08-10 23:28:57 +02:00
luccie
caed24d178 [MAIN]: Change file to be core.wasm instead of test.wasm 2025-08-10 22:55:38 +02:00
luccie
e0fe639f0e [MODS/VM]: Remove debugging message 2025-08-10 22:53:01 +02:00
luccie
d8642bfe0a [MODS/IR]: Fix a bug in fix_branches_for_block 2025-08-10 22:52:04 +02:00
luccie
a1ab2659a3 Fixed sideros.zig to match the vm name 2025-08-10 22:11:45 +02:00
luccie
b39fb34942 Added support for parsing tables 2025-08-10 22:10:23 +02:00
Lorenzo Torres
a15e0c06ca Removed ecs dependency from rendering 2025-08-10 20:35:04 +02:00
Lorenzo Torres
4d5da504fb Fixed dynamic buffer 2025-08-10 20:18:11 +02:00
Lorenzo Torres
1c2f118aa8 Fixed input handling on Xorg 2025-08-10 20:08:32 +02:00
Lorenzo Torres
b6d50a781d Implemented keyboard input 2025-08-10 20:01:31 +02:00
Lorenzo Torres
4eed1778a6 Pick the highest possible msaa sample count 2025-08-10 15:59:53 +02:00
Lorenzo Torres
83af358d30 Implemented MSAA 2025-08-10 15:53:26 +02:00
Lorenzo Torres
444a4586ea Implemented depth buffering 2025-08-10 14:40:23 +02:00
Lorenzo Torres
09799eaa9b Testing multiple transformations 2025-08-09 20:55:53 +02:00
Lorenzo Torres
d010954abb Rransforms are all sent to the gpu with one buffer 2025-08-09 18:51:11 +02:00
Lorenzo Torres
9a5ffc70a5 Implemented dynamic storage buffers 2025-08-09 18:33:26 +02:00
Lorenzo Torres
5f07c593b3 Correctly renamed texture samplers 2025-08-09 15:17:26 +02:00
Lorenzo Torres
93e91d7902 Fixed alignment issue of point lights buffer
Instead of using an array of descriptors for storing the lights, now
only one descriptor maps the entire array.
2025-08-09 15:02:53 +02:00
Lorenzo Torres
503ed33aec Fully implemented lighting
Two types of light sources are currently supported: directional lights
and point lights. A scene can have only one directional light and up to
1024 point lights.
2025-08-08 03:18:08 +02:00
Lorenzo Torres
214317e0bf Implemented mesh batching at startup 2025-08-07 19:48:40 +02:00
Lorenzo Torres
1ed403dc9e Fixed MAINTAINERS 2025-08-07 14:25:24 +02:00
Lorenzo Torres
748e394939 Refactored create/destroy to init/deinit 2025-08-07 14:04:41 +02:00
Lorenzo Torres
90cfe4d96e Refactor of vulkan structures 2025-08-07 13:17:47 +02:00
Lorenzo Torres
3199697470 Fixed rendering module in documentation 2025-08-07 04:18:52 +02:00
Lorenzo Torres
68b1367bdf Enabled mods in sideros.zig 2025-08-07 04:13:53 +02:00
Lorenzo Torres
162800ac83 fixed formatting in mods/ir.zig 2025-08-07 04:08:45 +02:00
Lorenzo Torres
b1d092b6e3 Cleaned up rendering module 2025-08-07 03:57:53 +02:00
luccie-cmd
473c4aeffb [MODS/VM]: Actually respect the difference between signed and unsigned 2025-08-06 18:55:34 +02:00
luccie-cmd
8282a299b1 Rename preinit to init and add more instructions 2025-08-06 18:51:48 +02:00
luccie-cmd
8c740f3793 [MODS]: Added documentation page 2025-08-06 18:49:58 +02:00
Lorenzo Torres
8b5f33ee3f Fixed normal transformation 2025-08-06 17:51:03 +02:00
Lorenzo Torres
defdf051ec Implemented rotations 2025-08-06 16:35:29 +02:00
Lorenzo Torres
7a634d53b5 Added transformation in the vertex shader 2025-08-06 16:12:02 +02:00
Lorenzo Torres
9a69989e46 Merge branch 'master' of ssh://git.sideros.org/git/sideros 2025-08-06 16:08:49 +02:00
Lorenzo Torres
c3a85ce50f Inverted view matrix 2025-08-06 16:08:36 +02:00
luccie-cmd
85c33ec204 Remove assets/core.wasm 2025-08-06 15:56:25 +02:00
luccie-cmd
3c105c235e [ASSETS] create a seperate assets/mods directory 2025-08-06 15:55:21 +02:00
luccie-cmd
4fa1df1281 [MODS] Move modding/log.zig to modding/zig/log.zig 2025-08-06 15:55:21 +02:00
Lorenzo Torres
fb031e8a66 Fixed face culling 2025-08-06 15:50:05 +02:00
Lorenzo Torres
8a56f94b7f Merge branch 'master' of ssh://git.sideros.org/git/sideros 2025-08-06 15:32:41 +02:00
Lorenzo Torres
6b948f6718 Implemented transformations 2025-08-06 15:32:32 +02:00