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:
Josh Holtrop committed 2011-05-18 17:17:06 -04:00
1 parent 55fee6b9a9
commit 8028654ff2
21 files changed
+101 -1250

No files matched your search

+2 -3
View File
@@ -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);
}
-8
View File
@@ -1,8 +0,0 @@
#ifndef AG_LUA_H
#define AG_LUA_H
extern unsigned char ag_lua[];
extern unsigned int ag_lua_len;
#endif