-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3rdParty: update Spore-ModAPI to v2.5.311
- Loading branch information
1 parent
6adf7e1
commit 95c732f
Showing
15 changed files
with
186 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
[subrepo] | ||
remote = [email protected]:emd4600/Spore-ModAPI.git | ||
branch = master | ||
commit = 5a79029bf07cb031e68f8936b5e31ac5b2b1c52b | ||
parent = 8f960ee9ce3d3977f112f90b603613c27f471059 | ||
commit = 69de07644fb97c1cbf433db2130b0cea0c168798 | ||
parent = 6adf7e1834bc2eb324f5c879bf50661c1650dc45 | ||
method = merge | ||
cmdver = 0.4.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
3rdParty/Spore-ModAPI/Spore ModAPI/Spore/Simulator/cMovableDestructibleOrnament.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#pragma once | ||
|
||
#include <Spore\Simulator\cGameData.h> | ||
#include <Spore\Simulator\cLocomotiveObject.h> | ||
#include <Spore\Simulator\cCombatant.h> | ||
#include <Spore\Simulator\cBehaviorAgent.h> | ||
|
||
#define cMovableDestructibleOrnamentPtr eastl::intrusive_ptr<Simulator::cMovableDestructibleOrnament> | ||
|
||
namespace Simulator | ||
{ | ||
class cMovableDestructibleOrnament | ||
/* 00h */ : public cGameData | ||
/* 34h */ , public cLocomotiveObject | ||
/* 508h */ , public cCombatant | ||
/* 5D0h */ , public cBehaviorAgent | ||
{ | ||
public: | ||
static const uint32_t TYPE = 0x283D961; | ||
static const uint32_t NOUN_ID = 0x283DDB1; | ||
|
||
using Object::AddRef; | ||
using Object::Release; | ||
using Object::Cast; | ||
}; | ||
ASSERT_SIZE(cMovableDestructibleOrnament, 0x638); | ||
} |
46 changes: 46 additions & 0 deletions
46
3rdParty/Spore-ModAPI/Spore ModAPI/Spore/Simulator/cPlanetaryArtifact.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#pragma once | ||
|
||
#include <Spore\Simulator\cMovableDestructibleOrnament.h> | ||
#include <Spore\Simulator\SimulatorEnums.h> | ||
|
||
#define cPlanetaryArtifactPtr eastl::intrusive_ptr<Simulator::cPlanetaryArtifact> | ||
|
||
namespace Simulator | ||
{ | ||
class cPlanetaryArtifact | ||
: public cMovableDestructibleOrnament | ||
{ | ||
public: | ||
static const uint32_t TYPE = 0x2DD8C33; | ||
static const uint32_t NOUN_ID = 0x2DD8C42; | ||
|
||
using Object::AddRef; | ||
using Object::Release; | ||
using Object::Cast; | ||
|
||
/// Creates a `cGroundLocomotion` locomotion strategy, and adds this object to the behavior manager. | ||
void SetLocomotion(); | ||
|
||
void LoadFromItem(SpaceInventoryItemType itemType, const ResourceKey& itemKey, int count, bool); | ||
|
||
public: | ||
/* 638h */ int mItemCount; | ||
/* 63Ch */ PropertyListPtr mItemPropList; | ||
/* 640h */ int field_640; | ||
/* 644h */ float mInventoryItemArtifactPlumpScale; // not initialized | ||
/* 648h */ float mInventoryItemArtifactNormalScale; // not initialized | ||
/* 64Ch */ ResourceKey mInventoryItemKey; | ||
/* 658h */ SpaceInventoryItemType mItemType; // -1 | ||
/* 65Ch */ bool field_65C; | ||
/* 65Dh */ bool field_65D; | ||
/* 65Eh */ bool field_65E; // true | ||
/* 660h */ float field_660; // -1 | ||
}; | ||
ASSERT_SIZE(cPlanetaryArtifact, 0x668); | ||
|
||
namespace Addresses(cPlanetaryArtifact) | ||
{ | ||
DeclareAddress(SetLocomotion); // 0xC687D0 0xC69230 | ||
DeclareAddress(LoadFromItem); // 0xC73F90 0xC74ED0 | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
3rdParty/Spore-ModAPI/Spore ModAPI/Spore/Simulator/cToolObject.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#pragma once | ||
|
||
#include <Spore\Simulator\cMovableDestructibleOrnament.h> | ||
|
||
#define cToolObjectPtr eastl::intrusive_ptr<Simulator::cToolObject> | ||
|
||
namespace Simulator | ||
{ | ||
class cToolObject | ||
: public cMovableDestructibleOrnament | ||
{ | ||
public: | ||
static const uint32_t TYPE = 0x4E3FAAF; | ||
static const uint32_t NOUN_ID = 0x4E3FAB5; | ||
|
||
using Object::AddRef; | ||
using Object::Release; | ||
using Object::Cast; | ||
|
||
public: | ||
/* 638h */ int field_638; | ||
/* 63Ch */ int field_63C; | ||
/* 640h */ int field_640; | ||
/* 644h */ int field_644; | ||
/* 648h */ int field_648; | ||
/* 64Ch */ int field_64C; | ||
/* 650h */ int field_650; | ||
/* 654h */ int field_654; | ||
}; | ||
ASSERT_SIZE(cToolObject, 0x658); | ||
} |