diff options
| author | Ray <raysan5@gmail.com> | 2016-06-02 01:26:44 +0200 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2016-06-02 01:26:44 +0200 |
| commit | 17878550b1e2dde44fcd1e668c92ca2d96680a28 (patch) | |
| tree | 40811b7f15dc77d88ec80a7029691e034bb53cb8 /src/text.c | |
| parent | 7afa0b09ab00b610ad084026022df788fb787229 (diff) | |
| download | raylib-17878550b1e2dde44fcd1e668c92ca2d96680a28.tar.gz raylib-17878550b1e2dde44fcd1e668c92ca2d96680a28.zip | |
Review heades usage
This is a first step toward a bigger project. Some modules could be
ported to header-only to be used as standalone.
Diffstat (limited to 'src/text.c')
| -rw-r--r-- | src/text.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -25,16 +25,16 @@ #include "raylib.h" -#include <stdlib.h> // Declares malloc() and free() for memory management -#include <string.h> // String management functions (just strlen() is used) -#include <stdarg.h> // Used for functions with variable number of parameters (FormatText()) -#include <stdio.h> // Standard input / output lib +#include <stdlib.h> // Required for: malloc(), free() +#include <string.h> // Required for: strlen() +#include <stdarg.h> // Required for: va_list, va_start(), vfprintf(), va_end() +#include <stdio.h> // Required for: FILE, fopen(), fclose(), fscanf(), feof(), rewind(), fgets() -#include "utils.h" // Required for function GetExtension() +#include "utils.h" // Required for: GetExtension() // Following libs are used on LoadTTF() #define STB_TRUETYPE_IMPLEMENTATION -#include "stb_truetype.h" +#include "stb_truetype.h" // Required for: stbtt_BakeFontBitmap() // Rectangle packing functions (not used at the moment) //#define STB_RECT_PACK_IMPLEMENTATION |
