diff options
Diffstat (limited to 'demo/source')
-rw-r--r-- | demo/source/start.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/demo/source/start.c b/demo/source/start.c index eb4bb9d..e6c9a45 100644 --- a/demo/source/start.c +++ b/demo/source/start.c @@ -1,7 +1,8 @@ #include <ax-demo.h> -#include <ax/key.h> +#include <ax/algo.h> #include <ax/gfx.h> +#include <ax/key.h> #include <float.h> #include <iso646.h> @@ -42,7 +43,7 @@ 0x04u, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 0x04u, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 0x04u, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 0x04u, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 0x04u, };*/ -static ax_i8 const axd_logo[] = { +constexpr ax_i8 axd_logo[] = { 0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x03u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x03u,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x03u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x03u,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x03u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x03u, 0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,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eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x02u,0x04u,0x04u,0x01u,0x0Eu, @@ -90,7 +91,7 @@ static ax_i8 const axd_logo[] = { static_assert(sizeof (axd_logo) == axd_logow * axd_logoh); -static ax_i8 const axd_startmsg[] = { +constexpr ax_i8 axd_startmsg[] = { 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x0Eu, 0x0Eu, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x0Eu, 0x0Eu, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 0x0Eu, 0x0Eu,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 0x0Eu, 0x0Eu,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 0x0Eu, 0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu, 0x0Eu, 0x0Eu,0x04u,0x04u,0x04u,0x04u,0x04u,0x0Eu, 0x0Eu, 0x04u,0x04u,0x0Eu,0x0Eu,0x0Eu,0x04u,0x04u, 0x0Eu, 0x04u,0x04u,0x0Eu,0x0Eu,0x0Eu,0x04u,0x04u, 0x0Eu, 0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu,0x0Eu, 0x0Eu, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x0Eu, 0x0Eu, 0x04u,0x04u,0x0Eu,0x0Eu,0x0Eu,0x04u,0x04u, 0x0Eu, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 0x0Eu, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 0x0Eu, 0x0Eu,0x04u,0x04u,0x04u,0x04u,0x04u,0x0Eu, 0x0Eu, 0x04u,0x04u,0x0Eu,0x0Eu,0x0Eu,0x04u,0x04u, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 0x0Eu, 0x04u,0x04u,0x04u,0x04u,0x04u,0x04u,0x04u, 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