Commit graph

120 commits

Author SHA1 Message Date
Montagna Marco
e9b540323d 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
Montagna Marco
b2f86f4bee Decompiled GetWaterHeight 2020-01-14 13:14:52 +01:00
asasas9500
114de19117 Improve flipmaps 2020-01-14 00:26:44 -03:00
Nils Gaitzsch
4fc2647ce3 Stopping Sounds when Going into inventory 2020-01-13 20:01:28 +01:00
Montagna Marco
18640b4f04 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-01-12 08:12:58 +01:00
Montagna Marco
c69cdeee40 Fixed AiPickupCollision; Fixed setup flags of many objects; Fixed item savegames; Refactored inventory; Added InitialseShootSwitch; 2020-01-12 08:02:48 +01:00
asasas9500
d6632804f5 Add ExplodeItemNode() and TriggerActive() 2020-01-10 17:06:49 -03:00
asasas9500
4f0c20a247 Fix DoFlipMap() 2020-01-09 12:32:53 -03:00
asasas9500
028f4f3308 Fix shoot switches 2020-01-08 16:09:37 -03:00
Montagna Marco
3a3da05786 Decompiled RefreshCamera 2020-01-08 17:28:10 +01:00
Montagna Marco
27e83a55ae Decompiled flip map functions, PlaySoundTrack, RumbleScreen, AnimateItem 2020-01-08 17:13:44 +01:00
Montagna Marco
d649d062fe Decompiled AnimateItem() 2020-01-08 13:25:42 +01:00
Montagna Marco
b5f093b4b2 Fixed ObjectOnLOS2() 2020-01-08 08:06:33 +01:00
asasas9500
9a43256544 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-01-07 18:01:36 -03:00
asasas9500
6e894abf33 Add control functions; Remove duplicated CheckNoColFloorTriangle() 2020-01-07 17:33:13 -03:00
Nils Gaitzsch
06131e26b4 Merge branch 'master' into Footstep
# Conflicts:
#	TR5Main/TR5Main.vcxproj.filters
2020-01-07 17:13:21 +01:00
Montagna Marco
5775899142 Decompiled NormalizeVector 2020-01-07 12:17:55 +01:00
Montagna Marco
46d7528c28 Decompiled DoRayBox 2020-01-07 11:06:26 +01:00
Montagna Marco
3810cdc83a Restored GetFloor from DLL 2020-01-06 13:05:56 +01:00
Montagna Marco
cff182b69e Fixed controls locked after using lasersight 2020-01-06 08:11:15 +01:00
Montagna Marco
0cfea9bfdd 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
Nils Gaitzsch
b0d2fc67ae 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
Montagna Marco
5e3d0b1cf3 Decompiled TestCollision 2020-01-01 11:45:09 +01:00
Montagna Marco
cee227910d Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-29 08:07:02 +01:00
Montagna Marco
fdd248667f Fixed flyby decompilation issues; Fixed cinematic bars; 2019-12-29 08:05:58 +01:00
asasas9500
ee477e356c Fix guard; Add LOS functions 2019-12-27 23:54:40 -03:00
Montagna Marco
38dc36e281 Revert "Working on cinematic bars issue"
This reverts commit cb01d3de6a.
2019-12-26 08:09:31 +01:00
Montagna Marco
cb01d3de6a Working on cinematic bars issue 2019-12-26 08:00:45 +01:00
Montagna Marco
1b1b58be44 Fixed references to doors; Added TR3 style pushable blocks; Added InitialiseTightRope; 2019-12-23 23:10:24 +01:00
Montagna Marco
dbf42eaa44 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-22 07:56:44 +01:00
Montagna Marco
d5f6858a01 Decompiled EFFECTS.CPP, EFFECT2.CPP, TOMB4FX.CPP 2019-12-22 00:20:10 +01:00
asasas9500
961286aae6 Fix hanging again 2019-12-21 18:32:48 -03:00
TokyoSU
937b026d25 Revert "Improved some lara function"
This reverts commit dfc8023b68.
2019-12-16 19:04:28 +01:00
TokyoSU
dfc8023b68 Improved some lara function 2019-12-16 17:11:24 +01:00
asasas9500
a93adc3e8e Fix commented KillMoveEffects() call 2019-12-16 10:26:00 -03:00
TokyoSU
4bd18f7f18 Now release mode is compatible 2019-12-15 16:19:01 +01:00
asasas9500
bf3208e575 Fix walking on slopes 2019-12-15 00:14:02 -03:00
TokyoSU
3b7d53b0a6 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
082bbebe2a 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
Montagna Marco
49a435a5c3 Fixed GetTiltType; Fixed and added GetFloorHeight; 2019-12-14 08:43:34 +01:00
Montagna Marco
8630e38f8f Fixed wrong camera position on restore game 2019-12-14 07:28:48 +01:00
Montagna Marco
39271a71a5 Fixed problems with item new room 2019-12-11 22:25:26 +01:00
Montagna Marco
6344e88ee6 Fixed crashes and hangs with effects; Fixed camera FOV; Downgraded to DX10.0 feature level; 2019-12-11 07:40:47 +01:00
Montagna Marco
d098c0f400 Fixed GetFloor, GetChange; Disabled GetCollisionInfo (bugged); Fixed signed char in FLOOR_INFO; 2019-12-10 18:25:48 +01:00
Montagna Marco
63f2f6f5b8 Decompled KillMoveItems, KillMoveEffects, GetChange, AlterFloorHeight, GetFloor, CheckNoColFloorTriangle, CheckNoColCeilingTriangle 2019-12-08 19:01:57 +01:00
Montagna Marco
734b029256 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-07 08:55:56 +01:00
Montagna Marco
094bbd5b15 Decompiled 2/3 of COLLIDE.CPP; Decompiled some rope functions; Refactoring; 2019-12-07 08:36:13 +01:00
TokyoSU
952a195de8 Restructured the Entity Files
- Moved GetWaterSurface to Control.cpp.
- Added mineL/mineR in LaraExtraInfo.
2019-12-05 17:35:57 +01:00
Montagna Marco
3d5f0d7b26 Added TestLaraSlide, UpdateLaraRoom, TranslateItem, AnimateLara; Fixed partially pistols; 2019-12-04 18:51:23 +01:00
TokyoSU
3670fddc71 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