-
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.297
- Loading branch information
1 parent
7dae66d
commit 2a1713e
Showing
20 changed files
with
496 additions
and
75 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 = 654b0318bd1ecf65cd71fb025752ba5b6524defb | ||
parent = 527f3970042d5ad2ace018e9580a08038444aa48 | ||
commit = 32de907e29bd127807d1d8fdc03ea39f17ff6592 | ||
parent = 7dae66d1806a285eb6edf83b668265c7884386fe | ||
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
34 changes: 0 additions & 34 deletions
34
3rdParty/Spore-ModAPI/Spore ModAPI/Spore/Simulator/IProjectile.h
This file was deleted.
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
3rdParty/Spore-ModAPI/Spore ModAPI/Spore/Simulator/cArtilleryProjectile.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,44 @@ | ||
#pragma once | ||
|
||
#include <Spore\Simulator\cGameData.h> | ||
#include <Spore\Simulator\cLocomotiveObject.h> | ||
#include <Spore\Simulator\cProjectile.h> | ||
#include <Spore\Simulator\cCombatant.h> | ||
#include <Spore\Simulator\cSpaceToolData.h> | ||
|
||
#define cArtilleryProjectilePtr eastl::intrusive_ptr<Simulator::cArtilleryProjectile> | ||
|
||
namespace Simulator | ||
{ | ||
class cArtilleryProjectile | ||
/* 00h */ : public cGameData | ||
/* 34h */ , public cLocomotiveObject | ||
/* 504h */ , public cProjectile | ||
{ | ||
public: | ||
static const uint32_t TYPE = 0x1428A48; | ||
static const uint32_t NOUN_ID = 0x18C9380; | ||
|
||
using Object::AddRef; | ||
using Object::Release; | ||
using Object::Cast; | ||
|
||
/// Creates a `cBallisticLocomotion` locomotion strategy to start launching this projectile. | ||
/// @param target | ||
void LaunchProjectile(const Math::Vector3& target); | ||
|
||
public: | ||
/* 518h */ Math::Vector3 mLastPosition; | ||
/* 524h */ cCombatantPtr mpOwner; | ||
/* 528h */ int mMinDamage; | ||
/* 52Ch */ int mMaxDamage; | ||
/* 530h */ int mDamageType; | ||
/* 534h */ cSpaceToolDataPtr mTool; | ||
}; | ||
ASSERT_SIZE(cArtilleryProjectile, 0x538); | ||
|
||
namespace Addresses(cArtilleryProjectile) | ||
{ | ||
DeclareAddress(LaunchProjectile); // 0xCB68C0 0xCB71C0 | ||
} | ||
} |
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
Oops, something went wrong.