mirror of
https://github.com/UberGames/RPG-X2.git
synced 2024-11-14 00:40:59 +00:00
19 lines
332 B
C
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
|