Commit graph

32 commits

Author SHA1 Message Date
MontyTRC89
d7f2bc18f8 Fixed jumping enemies 2020-03-14 21:43:05 +01:00
MontyTRC89
f4ee436f5d Fixed basic pathfinding for flying enemies 2020-03-14 20:26:53 +01:00
MontyTRC89
826af067b3 Fixed sparks drawing; Moved boxes, overlaps and zones in DLL; Decompiled missing doors code; Added some code to phd_LookAt; 2020-01-16 19:14:35 +01:00
MontyTRC89
1fda4bd6dd Partially fixed ID_TR5_LARSON 2020-01-09 09:32:52 +01:00
MontyTRC89
c3890b0e68 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-01-04 09:26:56 +01:00
MontyTRC89
29ff6f9355 Fixing Larson; Fixed ITEM_INFO struct; Fixed some entities; Fixed InitialiseCreature; Fixed ClearItem; 2020-01-04 09:10:24 +01: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
4b6ffedf5e Fixed release mode
- 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.
2019-12-14 22:41:38 +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
TokyoSU
f64e962bc4 Fixed some think, Added zoneType feature
- 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).
2019-12-13 19:00:59 +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
MontyTRC89
37ac9b77fd Merged branches 2019-12-02 09:11:21 +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
03688ab3c0 Add Worker MachineGun
- possibly changing the range to attack lara since it's pretty small.
2019-11-21 13:14:03 +01:00
TokyoSU
a130f08190 fix room define for creatureturn 2019-11-21 11:39:39 +01:00
TokyoSU
44499dbe1a Add WorkerShotgun
- decompiled CreatureTurn() (experimental)
2019-11-21 11:29:54 +01:00
MontyTRC89
0d342637fb Decompiling Lara 2019-11-21 07:43:34 +01:00
TokyoSU
aafb5d91ab misc fix & adding boat/kayak/snowmobile file 2019-11-20 11:24:36 +01:00
TokyoSU
8d4527a445 Last update, Include Silencer and Yeti Code 2019-11-14 14:09:43 +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
68410075fd Implemented SAS; Fixed baddy; Fixed Lara arm bug; 2018-09-15 08:20:53 +02:00
MontyTRC89
2524cb8d35 Added CreatureVault; Fixed baddy climbing down; Code refactoring; 2018-09-14 14:56:27 +02:00
MontyTRC89
e6114af969 First commit 2018-08-19 09:46:58 +02:00