umorna/source/render.h

22 lines
546 B
C

#include <string.h>
#include <stdlib.h>
#include <raylib.h>
#define BASE_SIZE (16)
#define ICON_SIZE (32)
#define FONT_SIZE (24)
enum {
ui, traits, skills, values, units, blocks,
render_texture_count
};
extern float render_zoom;
extern Texture2D render_texture [render_texture_count];
extern void render_sprite (int sprite, int x, int y, int u, int v, int width, int height);
extern void render_string (char * string, int x, int y);
extern void render_configure (void);