Commit graph

23 commits

Author SHA1 Message Date
asasas9500
5386c04d5d Add mgLOS() 2019-12-28 15:19:33 -03:00
asasas9500
2556a824bf Fix guard; Add LOS functions 2019-12-27 23:54:40 -03:00
MontyTRC89
411f8e434e Fixed references to doors; Added TR3 style pushable blocks; Added InitialiseTightRope; 2019-12-23 23:10:24 +01:00
TokyoSU
6cccd1d28e Changed mgLOS to TR5 instead of using TR3 one
- 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.
2019-12-17 17:37:53 +01:00
TokyoSU
3296db8dce Added some check, added ENV_FLAG_SWAMP, Fixed some function.
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.
2019-12-14 18:24:06 +01:00
MontyTRC89
9540cdab3e Decompiled TestBoundsCollide and CreatureCollision 2019-12-07 09:51:50 +01:00
TokyoSU
713c992d76 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)
2019-12-02 14:49:19 +01:00
TokyoSU
c3555a1fd1 [Update] Project & UPV Prototype
- changed __int32/__int16/__int8 to int/short/char respectivly.
- added UPV (prototype), lara is killed when enter.
2019-11-27 15:12:35 +01:00
TokyoSU
44499dbe1a Add WorkerShotgun
- decompiled CreatureTurn() (experimental)
2019-11-21 11:29:54 +01:00
MontyTRC89
b388221663 Decompiled SWITCH.CPP; Decompiled DOOR.CPP; Refactoring; Fixed sequences variables; 2019-11-09 09:56:33 +01:00
MontyTRC89
a44f1bdf8c Fixed and tested (some bugs left) CalculateTarget, UpdateLOT, SearchLOT, CreatureFloat, CreatureUnderwater; Fixed serious bug with XZ_GET_SECTOR macro; 2019-11-05 07:52:38 +01:00
MontyTRC89
64fbe0f65d Tested and fixed CreatureMood, GetCreatureMood, AlertNearbyGUards, AlertAllGuards; 2019-11-03 21:57:57 +01:00
MontyTRC89
8c87482d62 Fixed and tested CreatureActive, CreatureAIInfo, CreatureCreature, MoveCreature3DPos; 2019-11-03 14:58:26 +01:00
MontyTRC89
564580873c Tested and fixed CreatureTilt and CreatureJoint 2019-11-03 08:24:53 +01:00
MontyTRC89
4464652bb2 Tested and fixed some decompiled functions 2019-11-03 08:05:48 +01:00
MontyTRC89
ac968b41f9 Decompiled more functions from BOX.CPP, ITEMS.CPP, OBJECTS.CPP; 2019-11-01 08:35:01 +01:00
MontyTRC89
6a834b884d Added fish/piranha from TR3; Added MP with stick from TR3; Almost decompiled BOX.CPP, LOT.CPP and ITEMS.CPP; 2019-10-29 20:05:58 +01:00
MontyTRC89
72710cb993 Decompiled guide 2018-11-30 20:18:17 +01:00
MontyTRC89
153bbda34c Decompiled lot of code about weapons, need to fix and test; Implementing harpoon gun, grenade launcher, rocket launcher; 2018-11-01 22:45:59 +01:00
MontyTRC89
2524cb8d35 Added CreatureVault; Fixed baddy climbing down; Code refactoring; 2018-09-14 14:56:27 +02:00
MontyTRC89
6365a64c8f Implemented basic baddy 1 & 2 2018-09-12 20:37:37 +02:00
MontyTRC89
6a9b90c0a8 Started implementing new enemies; Fixed bones in shader; Added small scorpion and wild boar from TR4; 2018-09-08 18:44:18 +02:00
MontyTRC89
e6114af969 First commit 2018-08-19 09:46:58 +02:00