From 7a759b45045686a7e30d6a699475e06fcae2a756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20R=C3=B3=C5=BCewski?= Date: Tue, 27 Aug 2024 00:28:17 +0200 Subject: [PATCH] chore: update colors and formatting in all projects --- CMakeLists.txt | 9 +++------ project/mdsanima-amarooke/main.c | 6 +++--- project/mdsanima-blizzard/main.c | 6 +++--- project/mdsanima-conquest/main.c | 6 +++--- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 68f7196..88d55a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,8 @@ -# Copyright (c) 2024 MDSANIMA LAB. All rights reserved. -# Licensed under the MIT license. - cmake_minimum_required(VERSION 3.22) -set(CMAKE_CXX_STANDARD 20) -set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(CMAKE_CXX_EXTENSIONS OFF) +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_EXTENSIONS OFF) project(mdsanima VERSION 0.2.2) diff --git a/project/mdsanima-amarooke/main.c b/project/mdsanima-amarooke/main.c index 79cc33c..9054ec2 100644 --- a/project/mdsanima-amarooke/main.c +++ b/project/mdsanima-amarooke/main.c @@ -8,10 +8,10 @@ int main(void) { const char *message = " MDSANIMA AMAROOKE "; - const int orange = 202; // Text color - const int red = 196; // Background color + const int fgColor = 38; // Text color + const int bgColor = 26; // Background color - cprint(message, orange, red); + cprint(message, fgColor, bgColor); return 0; } diff --git a/project/mdsanima-blizzard/main.c b/project/mdsanima-blizzard/main.c index d428c7a..982a90a 100644 --- a/project/mdsanima-blizzard/main.c +++ b/project/mdsanima-blizzard/main.c @@ -8,10 +8,10 @@ int main(void) { const char *message = " MDSANIMA BLIZZARD "; - const int teal = 36; // Text color - const int green = 46; // Background color + const int fgColor = 48; // Text color + const int bgColor = 36; // Background color - cprint(message, teal, green); + cprint(message, fgColor, bgColor); return 0; } diff --git a/project/mdsanima-conquest/main.c b/project/mdsanima-conquest/main.c index 2c88b3e..0fdae1e 100644 --- a/project/mdsanima-conquest/main.c +++ b/project/mdsanima-conquest/main.c @@ -8,10 +8,10 @@ int main(void) { const char *message = " MDSANIMA CONQUEST "; - const int sky = 45; // Text color - const int blue = 27; // Background color + const int fgColor = 74; // Text color + const int bgColor = 62; // Background color - cprint(message, sky, blue); + cprint(message, fgColor, bgColor); return 0; }