CLuaInstance: Use CLuaVideo for video, CLuaMisc for misc functions

- The old version of the video and misc functions is deprecated
 but still valid


Origin commit data
------------------
Commit: 83176835e3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)

Origin message was:
------------------
CLuaInstance: Use CLuaVideo for video, CLuaMisc for misc functions

 - The old version of the video and misc functions is deprecated
  but still valid
This commit is contained in:
Michael Liebmann
2015-12-12 10:25:27 +01:00
parent 80f8c79d74
commit 3e1f7eb408
7 changed files with 275 additions and 83 deletions

View File

@@ -25,7 +25,12 @@
//#define LUA_DEBUG printf
#define LUA_DEBUG(...)
#define LUA_CLASSNAME "neutrino"
#define LUA_CLASSNAME "neutrino"
#define LUA_VIDEO_CLASSNAME "video"
#define LUA_MISC_CLASSNAME "misc"
//#define LUA_WIKI "http://wiki.tuxbox.org/....."
#define LUA_WIKI "https://slknet.de/wiki/w"
/* the magic color that tells us we are using one of the palette colors */
#define MAGIC_COLOR 0x42424200
@@ -72,7 +77,6 @@ struct CLuaData
CRCInput *rcinput;
fontmap_t fontmap;
screenmap_t screenmap;
bool moviePlayerBlocked;
};
bool _luaL_checkbool(lua_State *L, int numArg);