chore: initial commit

This commit is contained in:
fallenoak 2023-01-02 13:17:18 -06:00
commit 70b00c5c38
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
965 changed files with 264882 additions and 0 deletions

23
src/util/CStatus.cpp Normal file
View file

@ -0,0 +1,23 @@
#include "util/CStatus.hpp"
#include <cstdarg>
#include <cstdio>
CStatus CStatus::s_errorList;
void CStatus::Add(const CStatus& status) {
// TODO
}
void CStatus::Add(STATUS_TYPE severity, const char* format, ...) {
// TODO
// Remove temporary console debug logging
va_list args;
va_start(args, format);
vprintf(format, args);
printf("\n");
va_end(args);
}
CStatus& GetGlobalStatusObj() {
return CStatus::s_errorList;
}