mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
New LUA functions: via GetModderLUAFact and SetModderLUAFact, a modder can set up to 1000 INT32 values exclusively in LUA scripts. This can be used to store mod-specific data in save games without additional code required
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8276 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -649,6 +649,13 @@ void InitQuestEngine();
|
||||
BOOLEAN LoadQuestInfoFromSavedGameFile( HWFILE hFile, UINT8 MaxQuest );
|
||||
BOOLEAN SaveQuestInfoToSavedGameFile( HWFILE hFile );
|
||||
|
||||
// Flugente: a huge array that can be used exclusively by modders
|
||||
#define MODDER_LUA_DATA_MAX 1000
|
||||
|
||||
BOOLEAN LoadLUAModderDataFromSavedGameFile( HWFILE hFile );
|
||||
BOOLEAN SaveLUAModderDataToSavedGameFile( HWFILE hFile );
|
||||
void InitLUAModderData();
|
||||
|
||||
// added by SANDRO
|
||||
void GiveQuestRewardPoint( INT16 sQuestSectorX, INT16 sQuestsSectorY, INT8 bExpReward, UINT8 bException );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user