mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-10 05:57:48 +00:00
Added Script Extras system with classes for three objects (Waypoint, PointOfInterest, SpacePirate)
This commit is contained in:
@@ -25,6 +25,11 @@ CMasterTemplate* CScriptTemplate::MasterTemplate()
|
||||
return mpMaster;
|
||||
}
|
||||
|
||||
EGame CScriptTemplate::Game()
|
||||
{
|
||||
return mpMaster->GetGame();
|
||||
}
|
||||
|
||||
TString CScriptTemplate::TemplateName(s32 propCount) const
|
||||
{
|
||||
// Return original name if there is only one property set
|
||||
|
||||
@@ -93,6 +93,7 @@ public:
|
||||
~CScriptTemplate();
|
||||
|
||||
CMasterTemplate* MasterTemplate();
|
||||
EGame Game();
|
||||
TString TemplateName(s32 propCount = -1) const;
|
||||
TString PropertySetNameByCount(s32 propCount) const;
|
||||
TString PropertySetNameByIndex(u32 index) const;
|
||||
|
||||
Reference in New Issue
Block a user