Added Sophia

- deleted all the __cdecl except for the #define function. because /Gd enable the __cdecl for function by default.

- added the commented code in FireWeapon for TR3 entity (some function is missing)
This commit is contained in:
TokyoSU 2019-12-02 14:49:19 +01:00
parent 37ac9b77fd
commit 713c992d76
115 changed files with 2749 additions and 1499 deletions

View file

@ -12,7 +12,7 @@
BITE_INFO skeletonBite = { 0, -16, 200, 11 };
void __cdecl InitialiseSkeleton(short itemNum)
void InitialiseSkeleton(short itemNum)
{
ITEM_INFO* item = &Items[itemNum];
OBJECT_INFO* obj = &Objects[ID_SKELETON];
@ -53,7 +53,7 @@ void __cdecl InitialiseSkeleton(short itemNum)
}
}
void __cdecl SkeletonControl(short itemNum)
void SkeletonControl(short itemNum)
{
bool someFlag1 = false;
bool someFlag2 = false;
@ -722,7 +722,7 @@ void __cdecl SkeletonControl(short itemNum)
}
}
void __cdecl WakeUpSkeleton(ITEM_INFO* item)
void WakeUpSkeleton(ITEM_INFO* item)
{
short fxNum = CreateNewEffect(item->roomNumber);
if (fxNum != NO_ITEM)