Change the way the lua engine initialization functions are called

This commit is contained in:
2026-02-25 03:43:44 -05:00
parent 95cd378dc0
commit cc629227a5
7 changed files with 60 additions and 129 deletions

View File

@@ -60,7 +60,8 @@ struct EngineWrapper {
// Of course, there's no constructor, since this is a C struct.
// To initialize it, you use 'dlsym' or 'GetProcAddress' to get the
// address of the function 'init_engine_wrapper'. Then, you call
// the function init_engine_wrapper(&wrapper).
// the function init_engine_wrapper(&wrapper). It is OK to call
// init_engine_wrapper more than once.
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
@@ -131,7 +132,7 @@ struct EngineWrapper {
// Get the actor ID. May return zero if the server is down.
//
uint64_t (*get_actor_id)(EngineWrapper *w);
int64_t (*get_actor_id)(EngineWrapper *w);
// Do a scan to find tangibles near the specified player.
//