Added proof of concept code to render some text to the screen. Split up the two 'screens' that'll be using to keep the code clean.

This commit is contained in:
2021-12-16 16:46:51 +00:00
parent 5bda17331c
commit 7ebc28199f
6 changed files with 110 additions and 19 deletions
+6 -1
View File
@@ -1,13 +1,18 @@
#ifndef _VSCREEN_H
#define _VSCREEN_H
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_rect.h>
#include <SDL2/SDL_render.h>
#define VSCREEN_WIDTH 640
#define VSCREEN_HEIGHT 480
#define VSCREEN_COLUMN_COUNT 20
#define VSCREEN_COLUMN_COUNT 40
#define VSCREEN_ROW_COUNT 20
void renderClientScreen(SDL_Renderer *);
#endif