summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjussi2022-02-21 19:05:05 +0200
committerjussi2022-02-21 19:05:05 +0200
commit612ede6da40550fc0b14c1370f616fc6e83df550 (patch)
tree788e0d00820ee85209506c78ec76d397a617cd03 /include
parent8182a5f1b6c61bdf95d32a4ad102e1762f0d0924 (diff)
downloadreilua-enhanced-612ede6da40550fc0b14c1370f616fc6e83df550.tar.gz
reilua-enhanced-612ede6da40550fc0b14c1370f616fc6e83df550.tar.bz2
reilua-enhanced-612ede6da40550fc0b14c1370f616fc6e83df550.zip
Documentation. waving_cubes example and RL_DrawFPS and RL_ColorFromHSV.
Diffstat (limited to 'include')
-rw-r--r--include/main.h26
-rw-r--r--include/text.h1
-rw-r--r--include/textures.h2
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 );