summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2014-11-24 16:05:41 +0100
committerRay <[email protected]>2014-11-24 16:05:41 +0100
commitd16519f5de1d20dd2c2a3dc187666819479a5a11 (patch)
treecd5368e64893d3a557df9ddd7c32c0720984069b /src/raylib.h
parent45b214d83e7469a64793ac4dcebaa0ab963668ef (diff)
parentfcff83e65cebb0c9767f076e8ccfaf6b6bfb8d95 (diff)
downloadraylib-d16519f5de1d20dd2c2a3dc187666819479a5a11.tar.gz
raylib-d16519f5de1d20dd2c2a3dc187666819479a5a11.zip
Merge pull request #9 from raysan5/master
Populate master changes to develop branch
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h12
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 {