Commit graph

37 commits

Author SHA1 Message Date
Lorenzo Torres
e99779fcbc first steps towards porting to 0.16 2026-04-17 13:54:38 +02:00
Ernesto Lanchares
939cdb5f09 Fixed macOS compilation and refactored mods/ir to use std.Io.Reader.
Signed-off-by: Lorenzo Torres <lorenzotorres@outlook.it>
2025-08-30 15:31:44 +02:00
luccie
c12e5ef485 [MODS/PARSING]: Moved over to std.Io.Reader interface for upcoming zig update 2025-08-26 01:15:06 +02:00
Lorenzo Torres
330d9b7711 Migrated to the new std.ArrayList implementation 2025-08-18 23:43:10 +02:00
Lorenzo Torres
74bf3f7ac3 Changed terrain texture UVs 2025-08-14 23:35:56 +02:00
Lorenzo Torres
9fdd47ea6e Implemented terrain texturing 2025-08-14 22:53:53 +02:00
Lorenzo Torres
1475fd2101 Made terrain its own struct 2025-08-14 14:52:48 +02:00
Lorenzo Torres
d537d89819 Implemented camera rotation and zooming 2025-08-13 03:44:25 +02:00
Lorenzo Torres
68ccaf8b68 Implemented a RTS-style camera 2025-08-12 23:00:42 +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
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
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
Lorenzo Torres
a15e0c06ca Removed ecs dependency from rendering 2025-08-10 20:35:04 +02:00
Lorenzo Torres
b6d50a781d Implemented keyboard input 2025-08-10 20:01:31 +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
68b1367bdf Enabled mods in sideros.zig 2025-08-07 04:13:53 +02:00
Lorenzo Torres
b1d092b6e3 Cleaned up rendering module 2025-08-07 03:57:53 +02:00
luccie-cmd
8282a299b1 Rename preinit to init and add more instructions 2025-08-06 18:51:48 +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
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
3c105c235e [ASSETS] create a seperate assets/mods directory 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
luccie-cmd
a295365993 [MODS/WASM]: Get tables, elems, data and more VM instructions working 2025-08-05 22:59:41 +02:00
Lorenzo Torres
00d51fc970 Fixed last commit 2025-08-05 20:59:58 +02:00
Ernesto Lanchares
b1bd949db5 Refactored compilation and startup. Now everything is orchestrated through a simple API described in sideros_api.h. Also refactored some of the code to get rid of global C imports.
Signed-off-by: Lorenzo Torres <torres@sideros.org>
2025-08-05 20:16:39 +02:00
Lorenzo Torres
097a6a9b5c Implemented Xorg initialization code 2025-08-04 02:46:36 +02:00
Lorenzo Torres
a143b838fd Moved all modules to the root module 2025-08-02 15:46:46 +02:00
Lorenzo Torres
536c927613 Made ECS a separate module and implemented basic input handling. 2025-03-28 19:53:56 +01:00
Lorenzo Torres
1730f1e298 Made Renderer a separate module 2025-03-27 21:42:46 +01:00