Update include/stdWullie.h

This commit is contained in:
2026-02-20 15:25:49 +00:00
parent a266144047
commit d5a98aaf31

45
include/stdWullie.h Normal file
View File

@@ -0,0 +1,45 @@
// this code is licenced under Wrathmark licence
// © 2026 wullie wulliestudio.com
// please see attached licence for full usage and rights
#ifndef MIAN_h
#define MAIN_h
// ANSI colors
// foreground
#define BLACK "\x1b[30m"
#define RED "\x1b[31m"
#define GREEN "\x1b[32m"
#define YELLOW "\x1b[33m"
#define BLUE "\x1b[34m"
#define MAGENTA "\x1b[35m"
#define CYAN "\x1b[36m"
#define WHITE "\x1b[37m"
#define NORMAL "\x1b[m"
// background
#define BBLACK "\x1b[40m"
#define BRED "\x1b[41m"
#define BGREEN "\x1b[42m"
#define BYELLOW "\x1b[43m"
#define BBLUE "\x1b[44m"
#define BMAGENTA "\x1b[45m"
#define BCYAN "\x1b[46m"
#define BWHITE "\x1b[47m"
// SYS calls
#define SYS_write 1
#define SYS_exit 60
// funcs
void ColorPrint(char *string, const char *color);
void BackgroundPrint(char *string, const char *Bcolor);
// basic funcs
void exit(int code);
long unsigned strlen(char *string);
void print(char *string);
#endif