Converted all ints to floats for x coordinate purposes.

This commit is contained in:
Adam Harrison
2021-09-25 00:35:55 -04:00
parent d07d0e6d22
commit 806e4bc970
5 changed files with 21 additions and 19 deletions
+8 -8
View File
@@ -5,13 +5,13 @@
#include <lua.h>
#include "renderer.h"
void rencache_show_debug(bool enable);
void rencache_set_clip_rect(RenRect rect);
void rencache_draw_rect(RenRect rect, RenColor color);
int rencache_draw_text(lua_State *L, RenFont *font,
const char *text, int x, int y, RenColor color);
void rencache_invalidate(void);
void rencache_begin_frame(lua_State *L);
void rencache_end_frame(lua_State *L);
void rencache_show_debug(bool enable);
void rencache_set_clip_rect(RenRect rect);
void rencache_draw_rect(RenRect rect, RenColor color);
float rencache_draw_text(lua_State *L, RenFont *font,
const char *text, float x, int y, RenColor color);
void rencache_invalidate(void);
void rencache_begin_frame(lua_State *L);
void rencache_end_frame(lua_State *L);
#endif