Rename to FoCAPI

This commit is contained in:
2026-03-01 17:10:27 -06:00
parent f7024acd8b
commit 952c233592
14 changed files with 354 additions and 241 deletions

13
functions/functions.cpp Normal file
View File

@@ -0,0 +1,13 @@
#include "functions.h"
// To add a new Lua function module:
// 1. Create functions/<module>.cpp with L_* implementation(s) and Register_<Module>()
// 2. Declare void Register_<Module>(lua_State* L); in functions.h
// 3. Call Register_<Module>(L); below
// 4. Add new RVAs (if needed) to rvas.h in the relevant section
// 5. Add functions\<module>.cpp to FoCAPI.vcxproj and .vcxproj.filters
void Register_All(lua_State* L) {
Register_FileIO(L);
Register_Players(L);
}