-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60963fa
commit 2376b0f
Showing
2 changed files
with
53 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,55 @@ | ||
#pragma once | ||
|
||
class EnemyProcess | ||
{ | ||
public: | ||
char pad1[20]; | ||
}; | ||
|
||
#pragma pack(push, 1) | ||
class EnemyRouting : public EnemyProcess | ||
{ | ||
public: | ||
class PolyLinePath | ||
{ | ||
public: | ||
cdc::Vector3 m_path[16]; | ||
cdc::Vector3 m_dest; | ||
|
||
char pad1[148]; | ||
|
||
int m_index; | ||
int m_pathlength; | ||
|
||
char pad2[4]; | ||
}; | ||
|
||
char pad1[124]; | ||
|
||
PolyLinePath m_plPath; | ||
|
||
char pad2[272]; | ||
}; | ||
#pragma pack(pop) | ||
|
||
class EnemyHealth | ||
{ | ||
public: | ||
float m_hitPoints; | ||
float m_damageSinceMove; | ||
}; | ||
|
||
#pragma pack(push, 1) | ||
class EnemyData | ||
{ | ||
public: | ||
#ifdef TR7 | ||
char pad1[5040]; | ||
char pad1[4192]; | ||
#else | ||
char pad1[5280]; | ||
char pad1[4432]; | ||
#endif | ||
|
||
EnemyRouting m_routing; | ||
EnemyHealth m_health; | ||
}; | ||
}; | ||
#pragma pack(pop) |
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