42 lines
658 B
C
42 lines
658 B
C
// this code is licenced under Wrathmark licence
|
|
// © 2026 wullie wulliestudio.com
|
|
// please see attached licence for full usage and rights
|
|
|
|
#ifndef MAIN_h
|
|
#define MAIN_h
|
|
|
|
|
|
// gay ass glibc shit why in the fuck does this exist like that
|
|
#undef NULL
|
|
#define NULL 0
|
|
|
|
#define bool _Bool
|
|
#define true 1
|
|
#define false 0
|
|
|
|
// import tree
|
|
#include "string.h"
|
|
#include "files.h"
|
|
|
|
// memory
|
|
void Wmalloc();
|
|
|
|
// error handling
|
|
void safeError(char *error);
|
|
void riskyError();
|
|
|
|
|
|
|
|
// math
|
|
int intParser(char *rawInt);
|
|
float invSqrt(float x);
|
|
float floatPow(float base, int exponant);
|
|
int intPow(int base, int exponant0);
|
|
|
|
|
|
// misc
|
|
void sleeper(long seconds);
|
|
|
|
#endif
|
|
|