- changed mgLOS from TR3 to TR5.
- changed a bit GetTiltType() that normally return short.
- changed a bit CollideStaticObjects() and LaraBaddieCollision() to use "vector<short>" instead of "array".
- fixed GetCollidedObjects() where "collidedItems[numItems] = NULL" is called before last return.
- created GetRoomList() to get the roomList with vector or array return.
- structured some function.
- updated AlterFloorHeight()
- fixed chunkreader.h that used "ChunkReader::" in this own class.
- fixed ChunkId::FromString() not const for str.
- fixed some renderer wrong return value that caused error.
- fixed the debug mode not using the correct directx library !
- updated project include and libs required in release mode.
- fixed Sound_CheckBASSError() not const for message.
- fixed compileXXShader not const for the path.
- reverted GetFloor() change.
updated:
GetFloor()
CreatureAnimation()
GetAITarget()
FindAITargetObject()
CreatureAIInfo()
GetCreatureMood()
CreatureMood()
CalculateTarget()
- simplified CreatureTurn().
- commented the TR5 decompiled code in CreatureTurn().
- added some check about old entity.
- added waterCreature check in CreatureAnimation, if a entity that are not waterCreature enter the water, he will be killed. (need 2 click in water to be killed)
- added the old way to check AIobject.
- added ENV_FLAG_SWAMP flags.
- fixed XZ_ROOM_SECTOR not using room argument.
- added CHECK_CLICK() macro.
- added ZONE() macro from TR5, TR3 is not correct.
- fixed rcossin_tbl[] size.
- updated:
CreatureActive()
CreatureCreature()
UpdateBox()
TargetBox()
StalkBox()
ValidBox()
EscapeBox()
InitialiseSlot()
InitialiseObjects()
- updated SearchLOT() and fixed wrong value.
- fixed hitEffect not being initialised.
- fixed some double define.
- moved lara define to constants.h.
- updated script.dat to last version, deleted the one in script folder (not used).
- 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)