- First commit to gitea

This commit is contained in:
2026-02-12 10:51:02 +01:00
commit a16a5a4102
40 changed files with 10033 additions and 0 deletions

17
screen.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include "screen.h"
#include <SDL2/SDL_opengl.h>
#include "application.h"
float SCREEN_WIDTH = 1280;
float SCREEN_HEIGHT = 700;
namespace Screen
{
SDL_Window* gWindow = nullptr;
void Beep(unsigned char r, unsigned char g, unsigned char b){
glClearColor(float(r)/255.0f, float(g)/255.0f, float(b)/255.0f, 1.0f);
Application::NeedsUpdate(2);
}
}