2021-01-10 16:52:20 +00:00
|
|
|
#include "system.h"
|
2021-01-10 16:42:01 +00:00
|
|
|
#include "renderer.h"
|
|
|
|
#include "raylib.h"
|
|
|
|
|
2021-01-10 16:52:20 +00:00
|
|
|
const uint16_t screenWidth = 800;
|
|
|
|
const uint16_t screenHeight = 450;
|
2021-01-10 16:42:01 +00:00
|
|
|
|
|
|
|
void gfx_init() {
|
|
|
|
InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
|
|
|
|
SetTargetFPS(60);
|
|
|
|
}
|
|
|
|
|
|
|
|
void gfx_shutdown() {
|
|
|
|
CloseWindow();
|
|
|
|
}
|
|
|
|
|
|
|
|
void gfx_render() {
|
|
|
|
BeginDrawing();
|
|
|
|
ClearBackground(RAYWHITE);
|
|
|
|
DrawText("NOBODY EXPECTS SPANISH INQUISITION!", 190, 200, 20, RED);
|
|
|
|
EndDrawing();
|
|
|
|
}
|