Commit graph

227 commits

Author SHA1 Message Date
asasas9500
c9f235d271 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-01-21 14:12:12 -03:00
asasas9500
ba95c939a0 Move CurrentPendulum, ApplyVelocityToRope() and SetPendulumVelocity() to rope.cpp; Fix InitialiseRope(), PrepareRope() and NormaliseRopeVector(); Add rope functions 2020-01-21 12:22:52 -03:00
MontyTRC89
65451b3854 Restored FLAME (still badly rendered); Moves items/fx variables to DLL; Increased Effects[] from 24 to 1024; Fixed dynamic lights in rooms; 2020-01-19 08:12:51 +01:00
MontyTRC89
d3397b8e4f Possible fix for items resetting after load game; Reverted bad change in renderer; 2020-01-18 21:55:04 +01:00
MontyTRC89
7e78b88218 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main;
Some fixes to room collecting function;
2020-01-18 20:52:57 +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
asasas9500
94d106641a Improve flipmaps again 2020-01-14 14:39:24 -03:00
TokyoSU
78a11ebc5e Updated Lara, Fixed Flycheat Speed
- updated GetFloorHeight() a bit.
2020-01-14 14:25:37 +01:00
MontyTRC89
8c44d7b350 Decompiled GetWaterHeight 2020-01-14 13:14:52 +01:00
asasas9500
0292d54513 Improve flipmaps 2020-01-14 00:26:44 -03:00
Raildex
f3662b4488 Stopping Sounds when Going into inventory 2020-01-13 20:01:28 +01:00
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