umorna/source/render.h

28 lines
790 B
C
Raw Normal View History

#ifndef UMORNA_RENDER
#define UMORNA_RENDER
2023-12-21 23:08:09 -05:00
#define BASE_SIZE ( 16)
#define ICON_SIZE ( 32)
#define FONT_SIZE ( 24)
#define SIDE_SIZE (480)
enum {
neonui,
ui, traits, skills, values, orcs, humans, elves, ashlands,
base_1, base_2, model_1_1, model_1_2, model_2_1, model_2_2, model_2_4, model_3_2,
model_4_5,
render_texture_count
};
2023-12-21 20:19:30 -05:00
extern float render_zoom;
extern int render_width (void);
extern int render_height (void);
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);
#endif