Commit graph

191 commits

Author SHA1 Message Date
e1b960da37 fixed LICENSE 2026-01-08 22:03:53 +01:00
28f4a98a33 fixed dynamic buffers 2026-01-07 09:43:32 +01:00
f4e76d8df4 Added github mirror to sourcehut builds 2025-08-30 15:53:53 +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
8f5c79eb01 Added window resizing to TODO 2025-08-14 23:37:18 +02:00
Lorenzo Torres
74bf3f7ac3 Changed terrain texture UVs 2025-08-14 23:35:56 +02:00
Lorenzo Torres
d6baada9ce Removed unecessary files 2025-08-14 22:54:29 +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
c0b8d021d4 Implemented simple terrain generation 2025-08-13 21:16:42 +02:00
Lorenzo Torres
fb9607b2b1 Removed .gitmodules 2025-08-13 03:45:46 +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
f2fd7a3f1b [MODS/VM]: Explain magic values in f32_abs and f64_abs 2025-08-12 14:34:51 +02:00
luccie
20ee18b85e [MODS/VM]: Implement full support for FP by implementing casts and store 2025-08-12 14:31:33 +02:00
luccie
b6d95bc217 [MODS/VM]: Added floating point operators 2025-08-12 13:52:58 +02:00
luccie
1478c9c5d3 [MODS/VM]: Fixed issues between @bitcast and @intcast 2025-08-12 13:12:54 +02:00
luccie
4cf7faa307 [MODS/VM]: Make sure i*.store* truncate the value 2025-08-12 01:34:27 +02:00
luccie
32fcc30608 [MODS/VM]: Make sure that operators return i32 instead of i64 2025-08-12 01:26:05 +02:00
luccie
e7ab854262 [MODS/VM]: Added i64 math instructions and extending/wrap instructions 2025-08-12 01:11:39 +02:00
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