mirror of
https://github.com/isledecomp/isle.git
synced 2025-12-10 08:03:13 +00:00
Implement/match JailEntity::HandleClick and CaveEntity::HandleClick (#1025)
* Implement/match JailEntity::HandleClick and CaveEntity::HandleClick * Fix
This commit is contained in:
committed by
GitHub
parent
641d9f1b8b
commit
abb4483e18
@@ -1,6 +1,7 @@
|
||||
#ifndef LEGOUTILS_H
|
||||
#define LEGOUTILS_H
|
||||
|
||||
#include "actionsfwd.h"
|
||||
#include "decomp.h"
|
||||
#include "extra.h"
|
||||
#include "mxtypes.h"
|
||||
@@ -33,6 +34,8 @@ class LegoPathActor;
|
||||
class LegoROI;
|
||||
class LegoTreeNode;
|
||||
|
||||
extern MxAtomId* g_isleScript;
|
||||
|
||||
LegoEntity* PickEntity(MxLong, MxLong);
|
||||
LegoROI* PickROI(MxLong, MxLong);
|
||||
MxS16 CountTotalTreeNodes(LegoTreeNode* p_node);
|
||||
@@ -54,6 +57,14 @@ LegoNamedTexture* ReadNamedTexture(LegoFile* p_file);
|
||||
void FUN_1003f540(LegoFile* p_file, const char* p_filename);
|
||||
void WriteNamedTexture(LegoFile* p_file, LegoNamedTexture* p_texture);
|
||||
|
||||
// FUNCTION: BETA10 0x100260a0
|
||||
inline void StartIsleAction(IsleScript::Script p_objectId)
|
||||
{
|
||||
if (p_objectId != (IsleScript::Script) -1) {
|
||||
InvokeAction(Extra::e_start, *g_isleScript, p_objectId, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10034b40
|
||||
// LegoTexture::`scalar deleting destructor'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user