aboutsummaryrefslogtreecommitdiff
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-01-02 10:45:51 +0100
committerraysan5 <raysan5@gmail.com>2016-01-02 10:45:51 +0100
commitfa057f512f6bcfb84a7f736d10c45da50793c8d9 (patch)
tree91703d9bb1078c9b135ab7bcbf853edf1333ed71 /src/raylib.h
parent55f0abbe991c9b1c6eed2cbb714cb3164519ca25 (diff)
downloadraylib-fa057f512f6bcfb84a7f736d10c45da50793c8d9.tar.gz
raylib-fa057f512f6bcfb84a7f736d10c45da50793c8d9.zip
Improved fonts support
Added LoadBMFont() to load AngelCode fonts (.fnt) Implemented LoadTTF() to load .ttf fonts (crappy packaging)
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 785ebebb..1113958d 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1,6 +1,6 @@
/**********************************************************************************************
*
-* raylib 1.3.0 (www.raylib.com)
+* raylib 1.4.0 (www.raylib.com)
*
* A simple and easy-to-use library to learn videogames programming
*
@@ -291,6 +291,8 @@ typedef struct SpriteFont {
int numChars; // Number of characters
int *charValues; // Characters values array
Rectangle *charRecs; // Characters rectangles within the texture
+ Vector2 *charOffsets; // Characters offsets (on drawing)
+ int *charAdvanceX; // Characters x advance (on drawing)
} SpriteFont;
// Camera type, defines a camera position/orientation in 3d space