diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/main.h | 26 | ||||
| -rw-r--r-- | include/text.h | 1 | ||||
| -rw-r--r-- | include/textures.h | 2 |
3 files changed, 5 insertions, 24 deletions
diff --git a/include/main.h b/include/main.h index 64b2578..def4e15 100644 --- a/include/main.h +++ b/include/main.h @@ -4,21 +4,7 @@ #define VERSION_MAJOR 0 #define VERSION_MINOR 1 - -// #define WIN32_LEAN_AND_MEAN -// #if defined(_WIN32) -// #define WIN32 -// #endif -// #if defined(_WIN64) -// #define WIN64 -// #define _AMD64_ -// #undef _X86_ -// #else -// #undef _AMD64_ -// #define _X86_ -// #endif - -// #include <minwindef.h> +#define VERSION_PATCH 0 #include <stdio.h> #include <stdlib.h> @@ -33,12 +19,4 @@ #include <lualib.h> #include <lauxlib.h> -#include <stdint.h> - -// #ifdef _WIN32 -// // #include <windows.h> -// #include <windef.h> -// #include <mmsystem.h> -// // #include <winbase.h> -// // #define APIENTRY WINAPI -// #endif +// #include <stdint.h> diff --git a/include/text.h b/include/text.h index 6e53c70..e9cced8 100644 --- a/include/text.h +++ b/include/text.h @@ -5,4 +5,5 @@ bool validFont( size_t id ); /* Loading. */ int lmodelsLoadFont( lua_State *L ); /* Drawing. */ +int ltextDrawFPS( lua_State *L ); int ltextDrawText( lua_State *L ); diff --git a/include/textures.h b/include/textures.h index 1a56614..c759904 100644 --- a/include/textures.h +++ b/include/textures.h @@ -42,3 +42,5 @@ int ltexturesGenTextureMipmaps( lua_State *L ); int ltexturesSetTextureFilter( lua_State *L ); int ltexturesSetTextureWrap( lua_State *L ); int ltexturesGetTextureSize( lua_State *L ); +/* Color/pixel */ +int ltexturesColorFromHSV( lua_State *L ); |
