supertux
supertux copied to clipboard
Improved Flame
Added colored flames, interaction with magic tiles, and flame particle trails.
First!
src/object/moving_sprite.cpp:260:19: style: Redundant assignment of 'angle' to itself. [selfAssignment]
float angle = angle;
^
src/object/moving_sprite.cpp:260:21: error: Uninitialized variable: angle [legacyUninitvar]
float angle = angle;
^
/Users/runner/work/supertux/supertux/src/badguy/flame.hpp:31:16: error: 'after_editor_set' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
virtual void after_editor_set();
^
/Users/runner/work/supertux/supertux/src/badguy/badguy.hpp:76:16: note: overridden virtual function is here
virtual void after_editor_set() override;
^
/Users/runner/work/supertux/supertux/src/badguy/flame.cpp:39:3: error: field 'lightcolor' will be initialized after field 'sound_source' [-Werror,-Wreorder-ctor]
lightcolor(1.0f, 1.0f, 1.0f),
I seem quite the party-pooper by only pointing out compiler errors. Sorry about that.