drop EvalLua and the commented-out Lua init leftovers

EvalLua had no callers anywhere in the tree — it converted a wide string
to UTF-8, ran it as a chunk and printf'd the error, which was the hook for
a developer console that is not wired up. It was the only user of stdio,
MemMan and windows.h in this file.

InitializeLua and ShutdownLua are live, called from InitOverhead and
ShutdownOverhead. The calls in InitializeGame and ShutdownGame were
commented out when they moved there; remove them, and the commented
ACCESSOR_TABLE block in InitializeLua that refers to a macro no longer
defined anywhere.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Marco Antonio J. Costa
2026-07-30 13:25:35 -03:00
committed by majcosta
co-authored by Claude Opus 5
parent 76eda883a5
commit 06b115a293
3 changed files with 0 additions and 44 deletions
-3
View File
@@ -100,7 +100,6 @@ BOOLEAN InitializeGame(void)
giStartingMemValue = MemGetFree( );
//InitializeLua();
is_networked = FALSE;
is_client = FALSE;
is_server = FALSE;
@@ -211,8 +210,6 @@ void ShutdownGame(void)
//Deletes all the Temp files in the Maps\Temp directory
InitTacticalSave( FALSE );
//ShutdownLua( );
FreeGameExternalOptions();
}