From 7375d0460a8aaeadedf85c7d6313e2cc7d8ba9e9 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sun, 23 Nov 2014 21:58:17 +0100 Subject: Updated stb headers --- src/raylib.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/raylib.h') diff --git a/src/raylib.h b/src/raylib.h index 5257de58..9809d823 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -179,6 +179,9 @@ // Boolean type typedef enum { false, true } bool; +// byte type +typedef unsigned char byte; + // Vector2 type typedef struct Vector2 { float x; @@ -225,8 +228,13 @@ typedef struct Texture2D { } Texture2D; // Character type (one font glyph) -// NOTE: Defined in module: text -typedef struct Character Character; +typedef struct Character { + int value; //char value = ' '; (int)value = 32; + int x; + int y; + int w; + int h; +} Character; // SpriteFont type, includes texture and charSet array data typedef struct SpriteFont { -- cgit v1.2.3