mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-24 06:24:20 +02:00
reimplements PSX Doom fire animation; adds flame height control
This commit is contained in:
parent
1bcbb08202
commit
ab23631e66
4 changed files with 61 additions and 20 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue