From 612ede6da40550fc0b14c1370f616fc6e83df550 Mon Sep 17 00:00:00 2001 From: jussi Date: Mon, 21 Feb 2022 19:05:05 +0200 Subject: Documentation. waving_cubes example and RL_DrawFPS and RL_ColorFromHSV. --- include/main.h | 26 ++------------------------ include/text.h | 1 + include/textures.h | 2 ++ 3 files changed, 5 insertions(+), 24 deletions(-) (limited to 'include') 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 +#define VERSION_PATCH 0 #include #include @@ -33,12 +19,4 @@ #include #include -#include - -// #ifdef _WIN32 -// // #include -// #include -// #include -// // #include -// // #define APIENTRY WINAPI -// #endif +// #include 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 ); -- cgit v1.2.3