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:
+6
-1
@@ -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
|
||||
Reference in New Issue
Block a user