diff options
| author | raysan5 <raysan5@gmail.com> | 2014-11-23 21:58:17 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2014-11-23 21:58:17 +0100 |
| commit | 7375d0460a8aaeadedf85c7d6313e2cc7d8ba9e9 (patch) | |
| tree | 5a74fb3746b7fd9f3537d77d60c20661814f2477 /src/raylib.h | |
| parent | 05ccc4fd42a9ff2dfd33f13be29734bb7531d65a (diff) | |
| download | raylib-7375d0460a8aaeadedf85c7d6313e2cc7d8ba9e9.tar.gz raylib-7375d0460a8aaeadedf85c7d6313e2cc7d8ba9e9.zip | |
Updated stb headers
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 12 |
1 files changed, 10 insertions, 2 deletions
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 { |
