Commit graph

1650 commits

Author SHA1 Message Date
TokyoSU
4bd18f7f18 Now release mode is compatible 2019-12-15 16:19:01 +01:00
Montagna Marco
a409ea8f3e Fixed statics collision 2019-12-15 09:10:52 +01:00
asasas9500
bf3208e575 Fix walking on slopes 2019-12-15 00:14:02 -03:00
asasas9500
f459726b2f Fix shimmying 2019-12-14 19:24:58 -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
73a6d94ea7 Fixed crawl jump out 2019-12-14 08:51:28 +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
asasas9500
02d287f327 Fix left/right climbing on ladders 2019-12-13 23:30:25 -03:00
TokyoSU
0bc2b14595 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
8189e22677 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
Montagna Marco
b3865dabb9 Fixed hangs 2019-12-13 10:16:01 +01:00
Montagna Marco
17886cb244 Multiple swim fixes; Now Lara can dive from wade; 2019-12-13 07:34:44 +01:00
Montagna Marco
5688b6d743 Fixed some water code 2019-12-12 22:06:57 +01:00
TokyoSU
05a310d80d Fixed Wreid Shooting Stop
- Fixed #43
2019-12-12 08:47:15 +01:00
Montagna Marco
e8674b3083 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-12 08:07:38 +01:00
Montagna Marco
07bc68ca23 Fixed lara climb up/down 2019-12-12 08:07:09 +01:00
Montagna Marco
eca1e115b1 Code corrections to corner climb functon 2019-12-12 07:49:02 +01:00
asasas9500
8b1aba7dbc Fix climbing on 2 click high blocks 2019-12-12 00:07:51 -03:00
asasas9500
d619e6b35f Fix wrong constant 2019-12-11 20:17:56 -03:00
Montagna Marco
ab41b298d8 Fixed grab on ladders 2019-12-11 22:58:03 +01:00
Montagna Marco
667d490c66 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-11 22:30:12 +01:00
Montagna Marco
39271a71a5 Fixed problems with item new room 2019-12-11 22:25:26 +01:00
asasas9500
741af9d25f Fix ItemNewRoomNo not multiplied by 2; Fix wrong quadrants and directions 2019-12-11 18:09:44 -03:00
TokyoSU
0d747de936 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
TokyoSU
635dfdd638 Fix flare not throw if you equip weapon 2019-12-11 15:57:46 +01:00
Montagna Marco
91f90d5ee5 Fixed savegame crash 2019-12-11 07:48:27 +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
2c7c0c3685 Decompiled LaraBaddieCollision 2019-12-08 08:01:55 +01:00
Montagna Marco
6a0bddfcb5 Decompiled GetCollisionInfo 2019-12-08 07:38:22 +01:00
Montagna Marco
a3fc31a61b Decompiled TestBoundsCollide and CreatureCollision 2019-12-07 09:51:50 +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
a204e304f3 Added Entity
- Lara Evil (Atlantis Version)
- Natla and Evil Natla.
- Larson and Pierre (TR1)
- Raptor (TR1)
2019-12-06 15:26:18 +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
95bfaf4f23 Improved Lara swim and surface 2019-12-05 07:23:30 +01:00
Montagna Marco
c1206f69cc Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-04 18:54:29 +01:00
Montagna Marco
3d5f0d7b26 Added TestLaraSlide, UpdateLaraRoom, TranslateItem, AnimateLara; Fixed partially pistols; 2019-12-04 18:51:23 +01:00
TokyoSU
e998fb0f32 Added the ID_XX from TR3 (only entity)
- moved some code.
- added a ruleset to normally hide some bothersome warnings.
- uncommented the CustomObjects() code :)
2019-12-04 16:12:53 +01:00
TokyoSU
04e93b1998 Decompiled InitialiseHair() and InitialiseSpecialEffects()
- added macro for getting mesh: MESHES(slot, mesh).
- fixed duplicate array in vars.h.
- fixed lara left hand flare mesh.
2019-12-04 13:20:21 +01:00
TokyoSU
8a6dffe0d2 Fix double PITCH_SHIFT define and use WeaponTypes instead of define for Weapons[] size 2019-12-03 15:08:35 +01:00
TokyoSU
0339b12701 Fixed Left Arm (AimWeapon) and some size fix in TriggerGunSmoke 2019-12-03 14:58:00 +01:00
TokyoSU
a33a7d1ffd Fixed Right pistol undraw & Fixed pistol mesh when draw & undraw 2019-12-03 13:53:17 +01:00
Montagna Marco
c1fd331ec9 Partially fixed pistols 2019-12-02 19:36:35 +01:00
Montagna Marco
8712a01418 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-02 18:20:17 +01:00
Montagna Marco
51fbe8bb8c Fixed Lara ducked 2019-12-02 18:19:05 +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