Commit graph

316 commits

Author SHA1 Message Date
MontyTRC89
48e25d6a8c Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-01-12 08:12:58 +01:00
MontyTRC89
3fef37ee4a Fixed AiPickupCollision; Fixed setup flags of many objects; Fixed item savegames; Refactored inventory; Added InitialseShootSwitch; 2020-01-12 08:02:48 +01:00
asasas9500
90d71fa5ae Add ExplodeItemNode() and TriggerActive() 2020-01-10 17:06:49 -03:00
asasas9500
07008ca149 Fix DoFlipMap() 2020-01-09 12:32:53 -03:00
asasas9500
3895ac3f66 Fix shoot switches 2020-01-08 16:09:37 -03:00
MontyTRC89
a98254dcee Decompiled RefreshCamera 2020-01-08 17:28:10 +01:00
MontyTRC89
8593c9a52c Decompiled flip map functions, PlaySoundTrack, RumbleScreen, AnimateItem 2020-01-08 17:13:44 +01:00
MontyTRC89
326161c3e4 Decompiled AnimateItem() 2020-01-08 13:25:42 +01:00
MontyTRC89
82f2795693 Fixed ObjectOnLOS2() 2020-01-08 08:06:33 +01:00
asasas9500
d75f8b8427 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-01-07 18:01:36 -03:00
asasas9500
d68c082f2c Add control functions; Remove duplicated CheckNoColFloorTriangle() 2020-01-07 17:33:13 -03:00
Raildex
0328cff115 Merge branch 'master' into Footstep
# Conflicts:
#	TR5Main/TR5Main.vcxproj.filters
2020-01-07 17:13:21 +01:00
MontyTRC89
e8578c4d0b Decompiled NormalizeVector 2020-01-07 12:17:55 +01:00
MontyTRC89
9b373fc0bd Decompiled DoRayBox 2020-01-07 11:06:26 +01:00
MontyTRC89
83ac39167c Restored GetFloor from DLL 2020-01-06 13:05:56 +01:00
MontyTRC89
8383435810 Fixed controls locked after using lasersight 2020-01-06 08:11:15 +01:00
MontyTRC89
23731c7492 Decompiled ID_PULSE_LIGHT, ID_STROBE_LIGHT, ID_BLINKING_LIGHT, ID_COLOR_LIGHT, ID_ELECTRICAL_LIGHT; Fixed issue 111; 2020-01-06 07:38:54 +01:00
Raildex
5140369a3c Created Subtractive Blending state
Added Footprint struct
added Footprint rendering function
Added footprint update routine
Added AddFootprint Command effect

TODO:
Check condition for left/right foot in Command effect
2020-01-05 18:48:16 +01:00
MontyTRC89
bdc101b8af Decompiled TestCollision 2020-01-01 11:45:09 +01:00
MontyTRC89
c938a46067 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-29 08:07:02 +01:00
MontyTRC89
370b1c1f2b Fixed flyby decompilation issues; Fixed cinematic bars; 2019-12-29 08:05:58 +01:00
asasas9500
2556a824bf Fix guard; Add LOS functions 2019-12-27 23:54:40 -03:00
MontyTRC89
131532e1a6 Revert "Working on cinematic bars issue"
This reverts commit 006d33e01e.
2019-12-26 08:09:31 +01:00
MontyTRC89
006d33e01e Working on cinematic bars issue 2019-12-26 08:00:45 +01:00
MontyTRC89
411f8e434e Fixed references to doors; Added TR3 style pushable blocks; Added InitialiseTightRope; 2019-12-23 23:10:24 +01:00
MontyTRC89
c1ba43dac9 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-22 07:56:44 +01:00
MontyTRC89
25418903ad Decompiled EFFECTS.CPP, EFFECT2.CPP, TOMB4FX.CPP 2019-12-22 00:20:10 +01:00
asasas9500
177536e36c Fix hanging again 2019-12-21 18:32:48 -03:00
TokyoSU
307ea9c727 Revert "Improved some lara function"
This reverts commit 902c5b02dc.
2019-12-16 19:04:28 +01:00
TokyoSU
902c5b02dc Improved some lara function 2019-12-16 17:11:24 +01:00
asasas9500
aec2c71b49 Fix commented KillMoveEffects() call 2019-12-16 10:26:00 -03:00
TokyoSU
23e8e9d1f0 Now release mode is compatible 2019-12-15 16:19:01 +01:00
asasas9500
de9e998300 Fix walking on slopes 2019-12-15 00:14:02 -03: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
MontyTRC89
182d19fa1d Fixed GetTiltType; Fixed and added GetFloorHeight; 2019-12-14 08:43:34 +01:00
MontyTRC89
3d02123dd7 Fixed wrong camera position on restore game 2019-12-14 07:28:48 +01:00
MontyTRC89
ee4db35ff7 Fixed problems with item new room 2019-12-11 22:25:26 +01:00
MontyTRC89
54cca0249a Fixed crashes and hangs with effects; Fixed camera FOV; Downgraded to DX10.0 feature level; 2019-12-11 07:40:47 +01:00
MontyTRC89
7e8de097f1 Fixed GetFloor, GetChange; Disabled GetCollisionInfo (bugged); Fixed signed char in FLOOR_INFO; 2019-12-10 18:25:48 +01:00
MontyTRC89
a0e63d4227 Decompled KillMoveItems, KillMoveEffects, GetChange, AlterFloorHeight, GetFloor, CheckNoColFloorTriangle, CheckNoColCeilingTriangle 2019-12-08 19:01:57 +01:00
MontyTRC89
7ab4770c74 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-07 08:55:56 +01:00
MontyTRC89
8eef24ec71 Decompiled 2/3 of COLLIDE.CPP; Decompiled some rope functions; Refactoring; 2019-12-07 08:36:13 +01:00
TokyoSU
7432353bed Restructured the Entity Files
- Moved GetWaterSurface to Control.cpp.
- Added mineL/mineR in LaraExtraInfo.
2019-12-05 17:35:57 +01:00
MontyTRC89
18dcfa8053 Added TestLaraSlide, UpdateLaraRoom, TranslateItem, AnimateLara; Fixed partially pistols; 2019-12-04 18:51:23 +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
MontyTRC89
451af02839 Decompiled Lara (with some bugs) 2019-12-01 08:13: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
MontyTRC89
0d342637fb Decompiling Lara 2019-11-21 07:43:34 +01:00