reimplements PSX Doom fire animation; adds flame height control

This commit is contained in:
Matthew Rothlisberger
2025-06-18 09:59:20 -04:00
parent 1bcbb08202
commit ab23631e66
4 changed files with 61 additions and 20 deletions

View File

@@ -354,7 +354,7 @@ pub fn main() !void {
animation = dummy.animation();
},
.doom => {
var doom = try Doom.init(allocator, &buffer, config.doom_top_color, config.doom_middle_color, config.doom_bottom_color);
var doom = try Doom.init(allocator, &buffer, config.doom_fire_height, config.doom_default_colors, config.doom_top_color, config.doom_middle_color, config.doom_bottom_color);
animation = doom.animation();
},
.matrix => {