Commit graph

324 commits

Author SHA1 Message Date
MontyTRC89
c1ba43dac9 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-22 07:56:44 +01:00
MontyTRC89
7336290777 Fixed fires 2019-12-22 07:35:22 +01:00
asasas9500
40534387c7 Fix water currents 2019-12-22 00:35:48 -03: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
asasas9500
9475ceed7c Rename cupboard functions; Add trapdoor functions; Add camera information to diagnostics 2019-12-20 23:29:01 -03:00
TokyoSU
d80ae316b9 Decompiled Entity Initialise
Missing:
- InitialiseRomanStatue
- InitialiseLaserHead
2019-12-20 11:23:03 +01:00
asasas9500
341e75234d Improve cupboard functions; Fix Move3DPosTo3DPos(); Add lara rotation to diagnostics 2019-12-19 15:13:13 -03:00
TokyoSU
2f7100d544 Updated some function, Added flag to Cupboard
- Fixed SequenceDoorControl() for Heavy Triggers && door->opened value.
- Cupboard Flag Added
- Updated:
UnderwaterDoorCollision()
DoubleDoorCollision()
PushPullKickDoorCollision()
PushPullKickDoorControl() // not really
DoorCollision()
DoorControl()
2019-12-18 15:12:01 +01:00
TokyoSU
4cd7d50e5a Decompiled Cupboard
- Crash when lara are in range of the cupboard, need to be fixed, possibly related to Initialise and flags.
2019-12-18 11:47:27 +01:00
asasas9500
b1ee1e2639 Workaround for crashes in AlterFOV() 2019-12-18 00:28:26 -03:00
asasas9500
f4d262c0f5 Fix lara_col_surftread(); Fix ANGLE(); Replace some ANGLE() calls 2019-12-17 21:49:33 -03:00
TokyoSU
554b2fec95 Changed for() for LaraBaddieCollison() room detect
- changed -ANGLE(180) since it's the same without it.
2019-12-17 18:46:17 +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
asasas9500
6e2b4641e4 Fix for loops 2019-12-16 17:26:31 -03:00
TokyoSU
307ea9c727 Revert "Improved some lara function"
This reverts commit 902c5b02dc.
2019-12-16 19:04:28 +01:00
TokyoSU
552d1abae2 Revert "Fixed LaraFallen not return TRUE"
This reverts commit 1eaff9e0e6.
2019-12-16 19:04:16 +01:00
TokyoSU
1eaff9e0e6 Fixed LaraFallen not return TRUE
- missed return true by me :x
2019-12-16 17:17:49 +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
asasas9500
bc15581d5e Fix pickup triggers 2019-12-15 23:49:15 -03:00
asasas9500
89a5e6d6e4 Fix climbing out of water 2019-12-15 21:59:48 -03:00
asasas9500
a12aee8e90 Fix hanging 2019-12-15 19:57:31 -03:00
TokyoSU
55e79acd22 Fixed lara draw
- moved some think to misc.cpp
2019-12-15 19:07:38 +01:00
TokyoSU
23e8e9d1f0 Now release mode is compatible 2019-12-15 16:19:01 +01:00
MontyTRC89
ee860df846 Fixed statics collision 2019-12-15 09:10:52 +01:00
asasas9500
de9e998300 Fix walking on slopes 2019-12-15 00:14:02 -03:00
asasas9500
592afda245 Fix shimmying 2019-12-14 19:24:58 -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
1003c69a3e Fixed crawl jump out 2019-12-14 08:51:28 +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
asasas9500
8b87c39f84 Fix left/right climbing on ladders 2019-12-13 23:30:25 -03: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
acfd1a509b Some minor update
- moved InitialiseHair to hair.cpp.
- changed while() to for() in LoadObjects() in inventory.
- fixed INV_OBJECT_PASSPORT name (old: INV_OBJECT_PASSAPORT).
- changed objectMip to zoneType. while be used in InitialiseSlot.
- renamed usingDrawanimatingItem to use usingDrawAnimatingItem.
2019-12-13 13:52:47 +01:00
MontyTRC89
f6a4e741cd Fixed hangs 2019-12-13 10:16:01 +01:00
MontyTRC89
f03c75af82 Multiple swim fixes; Now Lara can dive from wade; 2019-12-13 07:34:44 +01:00
MontyTRC89
3ed3e47301 Fixed some water code 2019-12-12 22:06:57 +01:00
TokyoSU
21fa08f610 Fixed Wreid Shooting Stop
- Fixed #43
2019-12-12 08:47:15 +01:00
MontyTRC89
45b1d4bf70 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-12 08:07:38 +01:00
MontyTRC89
d3eb8bbbc1 Fixed lara climb up/down 2019-12-12 08:07:09 +01:00
MontyTRC89
db137caeea Code corrections to corner climb functon 2019-12-12 07:49:02 +01:00
asasas9500
1205692558 Fix climbing on 2 click high blocks 2019-12-12 00:07:51 -03:00
asasas9500
a72e7ab396 Fix wrong constant 2019-12-11 20:17:56 -03:00
MontyTRC89
0f463ba1d2 Fixed grab on ladders 2019-12-11 22:58:03 +01:00
MontyTRC89
a09185b927 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-11 22:30:12 +01:00
MontyTRC89
ee4db35ff7 Fixed problems with item new room 2019-12-11 22:25:26 +01:00
asasas9500
2c0ced2748 Fix ItemNewRoomNo not multiplied by 2; Fix wrong quadrants and directions 2019-12-11 18:09:44 -03:00
TokyoSU
665b31f561 Updated Lara.cpp/LaraFire.cpp
- fixed lara gun height when crouching.
- fixed lara rotation left and right when running.
- updated some animation state.
2019-12-11 18:07:27 +01:00