mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
Fire: Replace #defines with constexprs
This commit is contained in:
parent
ebb35e03be
commit
934ea4faf1
Notes:
sideshowbarker
2024-07-17 11:07:59 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/934ea4faf1 Pull-request: https://github.com/SerenityOS/serenity/pull/13980
1 changed files with 3 additions and 3 deletions
|
@ -42,9 +42,9 @@
|
|||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define FIRE_WIDTH 320
|
||||
#define FIRE_HEIGHT 200
|
||||
#define FIRE_MAX 29
|
||||
static constexpr int FIRE_WIDTH = 320;
|
||||
static constexpr int FIRE_HEIGHT = 200;
|
||||
static constexpr int FIRE_MAX = 29;
|
||||
|
||||
static constexpr Array<Color, 30> s_palette = {
|
||||
Color(0x07, 0x07, 0x07), Color(0x1F, 0x07, 0x07), Color(0x2F, 0x0F, 0x07),
|
||||
|
|
Loading…
Reference in a new issue