rpgxef/code/cgame/lua_cfx.c
Walter Julius Hennecke a39565b783 Integrated RPG-X2 rpgxEF edition into the rpgxEF repo
... not quite content with where the project files lie but it is ok for
now.
... compiling works fine so far (only tested mingw32 right now)
2012-08-04 12:54:37 +02:00

19 lines
332 B
C

#include "cg_lua.h"
#ifdef CG_LUA
void Lua_CFX_ParseMapFxFile(fileHandle_t *f) {
// TODO
}
void Lua_CFX_LoadMapFxFile(void) {
char filename[MAX_QPATH];
fileHandle_t file;
sprintf(filename, "maps/%s.fx", cgs.mapname);
trap_FS_FOpenFile(filename, &file, FS_READ);
if(!file) return;
Lua_CFX_ParseMapFxFile(&file);
}
#endif