mirror of
https://github.com/UberGames/RPG-X2.git
synced 2025-02-02 13:11:25 +00:00
20 lines
332 B
C
20 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
|