Make spatial script finders public
This commit is contained in:
parent
ef54463fcc
commit
fa11122f87
|
@ -80,8 +80,6 @@ static int scriptRead(Script* scr, File* stream);
|
||||||
static int scriptListExtentRead(ScriptListExtent* a1, File* stream);
|
static int scriptListExtentRead(ScriptListExtent* a1, File* stream);
|
||||||
static int scriptGetNewId(int scriptType);
|
static int scriptGetNewId(int scriptType);
|
||||||
static int scriptsRemoveLocalVars(Script* script);
|
static int scriptsRemoveLocalVars(Script* script);
|
||||||
static Script* scriptGetFirstSpatialScript(int a1);
|
|
||||||
static Script* scriptGetNextSpatialScript();
|
|
||||||
static int scriptsGetMessageList(int a1, MessageList** out_message_list);
|
static int scriptsGetMessageList(int a1, MessageList** out_message_list);
|
||||||
|
|
||||||
// 0x50D6B8
|
// 0x50D6B8
|
||||||
|
@ -2409,7 +2407,7 @@ int _scr_remove_all_force()
|
||||||
}
|
}
|
||||||
|
|
||||||
// 0x4A6524
|
// 0x4A6524
|
||||||
static Script* scriptGetFirstSpatialScript(int elevation)
|
Script* scriptGetFirstSpatialScript(int elevation)
|
||||||
{
|
{
|
||||||
gScriptsEnumerationElevation = elevation;
|
gScriptsEnumerationElevation = elevation;
|
||||||
gScriptsEnumerationScriptIndex = 0;
|
gScriptsEnumerationScriptIndex = 0;
|
||||||
|
@ -2428,7 +2426,7 @@ static Script* scriptGetFirstSpatialScript(int elevation)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 0x4A6564
|
// 0x4A6564
|
||||||
static Script* scriptGetNextSpatialScript()
|
Script* scriptGetNextSpatialScript()
|
||||||
{
|
{
|
||||||
ScriptListExtent* scriptListExtent = gScriptsEnumerationScriptListExtent;
|
ScriptListExtent* scriptListExtent = gScriptsEnumerationScriptListExtent;
|
||||||
int scriptIndex = gScriptsEnumerationScriptIndex;
|
int scriptIndex = gScriptsEnumerationScriptIndex;
|
||||||
|
|
|
@ -207,6 +207,8 @@ int scriptAdd(int* sidPtr, int scriptType);
|
||||||
int scriptRemove(int index);
|
int scriptRemove(int index);
|
||||||
int _scr_remove_all();
|
int _scr_remove_all();
|
||||||
int _scr_remove_all_force();
|
int _scr_remove_all_force();
|
||||||
|
Script* scriptGetFirstSpatialScript(int elevation);
|
||||||
|
Script* scriptGetNextSpatialScript();
|
||||||
void _scr_spatials_enable();
|
void _scr_spatials_enable();
|
||||||
void _scr_spatials_disable();
|
void _scr_spatials_disable();
|
||||||
bool scriptsExecSpatialProc(Object* obj, int tile, int elevation);
|
bool scriptsExecSpatialProc(Object* obj, int tile, int elevation);
|
||||||
|
|
Loading…
Reference in New Issue