beginning migrate to shaders
add a few submodules generate C file store with cfs_gen remove FileLoader/TextureLoader add initial color shaders for wfobj objects
This commit is contained in:
1 parent
55fee6b9a9
commit
8028654ff2
21 files changed
+101
-1250
No files matched your search
@@ -13,7 +13,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "ag.h"
|
||||
#include "ag_lua.h"
|
||||
#include "cfs.h"
|
||||
#include "anaglym.h"
|
||||
#include "Engine.h"
|
||||
#include "WFObj/WFObj.h"
|
||||
@@ -86,8 +86,7 @@ namespace ag
|
||||
};
|
||||
luaL_register(L, "ag", functions);
|
||||
|
||||
ag_lua[ag_lua_len - 1] = '\0';
|
||||
luaL_loadstring(L, (const char *) ag_lua);
|
||||
luaL_loadstring(L, (const char *) getFile("src/ag.lua"));
|
||||
|
||||
lua_pcall(L, 0, 0, 0);
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
|
||||
#ifndef AG_LUA_H
|
||||
#define AG_LUA_H
|
||||
|
||||
extern unsigned char ag_lua[];
|
||||
extern unsigned int ag_lua_len;
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user