mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-14 18:31:54 -04:00
Fix: change object owner (#118)
* split out overlay handling function, and change digit to meaningful enum values . * GetStructureData returns ID and readd using the same . * resolved data insert sequence issue .
This commit is contained in:
parent
f5601fb046
commit
be0ca9c1af
5 changed files with 393 additions and 345 deletions
|
@ -251,8 +251,8 @@ public:
|
|||
BOOL AddAircraft(AIRCRAFT* lpAircraft, LPCTSTR lpType = NULL, LPCTSTR lpHouse = NULL, DWORD dwPos = 0, CString suggestedID = "");
|
||||
void GetCelltagData(DWORD dwIndex, CString* lpTag, DWORD* lpdwPos) const;
|
||||
BOOL AddCelltag(LPCTSTR lpTag, DWORD dwPos);
|
||||
void GetAircraftData(DWORD dwIndex, AIRCRAFT* lpAircraft) const;
|
||||
void GetUnitData(DWORD dwIndex, UNIT* lpUnit) const;
|
||||
CString GetAircraftData(DWORD dwIndex, AIRCRAFT* lpAircraft) const;
|
||||
CString GetUnitData(DWORD dwIndex, UNIT* lpUnit) const;
|
||||
void GetInfantryData(DWORD dwIndex, INFANTRY* lpInfantry) const;
|
||||
void GetStdInfantryData(DWORD dwIndex, STDOBJECTDATA* lpStdInfantry) const;
|
||||
INT GetUnitTypeID(LPCTSTR lpType);
|
||||
|
@ -261,7 +261,7 @@ public:
|
|||
BOOL AddInfantry(INFANTRY* lpInfantry, LPCTSTR lpType = NULL, LPCTSTR lpHouse = NULL, DWORD dwPos = 0, int suggestedIndex = -1);
|
||||
BOOL AddNode(NODE* lpNode, WORD dwPos);
|
||||
void GetStdStructureData(DWORD dwIndex, STDOBJECTDATA* lpStdStructure) const;
|
||||
void GetStructureData(DWORD dwIndex, STRUCTURE* lpStructure) const;
|
||||
CString GetStructureData(DWORD dwIndex, STRUCTURE* lpStructure) const;
|
||||
BOOL AddWaypoint(CString lpID, DWORD dwPos);
|
||||
|
||||
void DeleteNode(LPCTSTR lpHouse, DWORD dwIndex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue