import sdl, some tests, nothing work yet

This commit is contained in:
Ondřej Novák 2025-01-26 15:03:44 +01:00
parent a7278bac40
commit 378b5586ab
37 changed files with 721 additions and 167 deletions

9
platform/error.cpp Normal file
View file

@ -0,0 +1,9 @@
#include <iostream>
extern "C" {
#include "error.h"
}
void display_error(const char *text) {
std::cerr << "ERROR:" << text << std::endl;
}