added command line, added basic character

This commit is contained in:
2025-06-12 00:17:59 +03:00
parent 64c0f41884
commit af4f0c3cad
65 changed files with 262985 additions and 304 deletions

View File

@@ -1,10 +1,19 @@
#ifndef TIER0_STDLIB_H
#define TIER0_STDLIB_H
#include "tier0/minmax.h"
#ifdef __APPLE__
#include "stdint.h"
#include "string.h"
#include "stdio.h"
#include "stdlib.h"
#else
#include "stdint.h"
#include "string.h"
#include "stdio.h"
#include "stdlib.h"
#endif
// TODO: bad stuff, reimplement it

8
public/tier0/minmax.h Normal file
View File

@@ -0,0 +1,8 @@
#ifdef min
#undef min
#undef max
#endif
#define max(x, y) (((x) > (y)) ? (x) : (y))
#define min(x, y) (((x) < (y)) ? (x) : (y))

View File

@@ -0,0 +1,4 @@
#ifdef min
#undef min
#undef max
#endif