Commit graph

67 commits

Author SHA1 Message Date
asasas9500
671d59e1c8 Merge branch 'DiagonalCollisions' into NoShifts 2020-08-07 16:43:29 -03:00
Nils Gaitzsch
ac5d637e6d Fixed Crotch Pistol 2020-08-06 19:10:30 +02:00
Sebastian Zych
6a3700345e Updated animation and state names to follow a consistent system. 2020-08-04 20:32:07 +10:00
Woops
ef8c2fa2a4 add draw (and undraw) flipeffects for cutscenes, fix typo 2020-08-02 17:56:19 -05:00
Nils Gaitzsch
9a28c453a4 Implemented Holsters. 2020-08-02 13:58:25 +02:00
Montagna Marco
1c4196832c Added ZLIB 2020-07-26 07:21:38 +02:00
Montagna Marco
014aa1baa7 Frames refactoring 2020-07-25 18:02:35 +02:00
Montagna Marco
18994dd59e Moving all globals of level under LEVEL struct; Fixed severe performance issue; 2020-07-21 09:56:47 +02:00
Montagna Marco
439db540e3 New level format: meshes 2020-07-03 07:05:33 +02:00
asasas9500
b53eb41bbb Merge branch 'DiagonalCollisions' into NoShifts 2020-06-21 14:09:31 -03:00
Nils Gaitzsch
3781370e06 Putting Renderer into namespace
made g_Renderer a global object
2020-06-21 14:27:12 +02:00
Woops
aaa4bbab82 better cheats 2020-06-18 14:39:20 -05:00
Nils Gaitzsch
d5dc365c06 Made g_Inventory a constant object.
Fixed shadow intensity
Fixed CameraViewConstantBuffer
2020-06-16 19:45:06 +02:00
asasas9500
361b5a270e Make move angle relative to Lara horizontal rotation 2020-06-09 22:24:36 -03:00
TokyoSU
9d6a3b20d1 Fix weapon not being updated when crouching
- caused by me in the first place, but i forgot this small detail :x
- Updated lara structure a bit for enum variables.
- Fixed some variable not using these enum (or using the wrong one !)
2020-06-05 14:01:22 +02:00
TokyoSU
9cf30f3546 Fix potential collision override
- Fixed "COLL_INFO coll" global that can collide with internal coll info in lara animation or other object.
2020-06-04 11:03:30 +02:00
TokyoSU
11b3751851 Finished Moving Function
- Moved Some Function to here respective file (new cpp/h).
- Changed effect_routines to function<void(ITEM_INFO*)>.
- Fixed ActivateCamera() not using ITEM_INFO* Argument for effect_routines[].
- Fixed ActivateKey() not using ITEM_INFO* Argument for effect_routines[].
- Fixed ActivateKey() and ActivateCamera() being defined 2 time.
- Commented the new level loader, for later.
2020-06-04 11:00:08 +02:00
TokyoSU
ee59d27517 (Broken) Deleted Global Folder
- No more enums.h, constants.h, macro.h, etc...
- moved all structure in types.h to there respective file.
2020-05-30 15:55:23 +02:00
TokyoSU
2c5a621cb3 Refactor include and moving some structure to right file
- started moving structure out of types.h.
- fixed ExtraAnim using 0 instead of -1.
- changed void(*)(); to function<> for lara routines.
- changed short(*)() effect to function<> for CreatureEffect/CreatureEffect2.
- renamed guardian to laserhead.
- moved some structure to their right place.
- renamed TYPE_ZONE to ZoneTypeEnum.
- fixed zoneType not using ZoneTypeEnum as variable.
- fixed LOT.zone not using ZoneEnumType.
- changed "variable : 1" to bool in some structure.
- implemented @krys new collision structure and improved it a bit (but commented for "later")
- level need #pragma pack(push, 1) #pragma pack(pop) to work (for structure), else it crash at LoadTexturesInfos().

Co-Authored-By: krys <krys@users.noreply.github.com>
2020-05-28 15:17:34 +02:00
TokyoSU
9c1c4517d7
New project format (#206)
* Starting Reformat the project

- New Import Method, no more "../../" in import,
- New Entity Folder Structure, less compile time

* Refactoring the Project

- added precompiled header with default import like microsoft or directx.
- fix many double import.
- fix math.h confliting math.h from
microsoft.
- fix effects.h confliting Effects.h from DirectX.
- refactored TR4 entity folder and how it's loaded.

* Update Some Code Before Switching to Master

* Finished the NewProjectFormat Template

- need to finish entity in the master later.

* Added Monty NewFileFormat

* Fixed Monty NewFileFormat Include

* Revert "Fixed Monty NewFileFormat Include"

This reverts commit ebf0afca10.

* Trying to fix conflits for NewFileFormat

* Fixed .filters

* Last Commit in NewProjectFormat
2020-05-27 09:21:20 +02:00
Montagna Marco
46f2db3481 Merged LARA_INFO and LaraExtraInfo into LaraInfo 2020-04-27 14:01:00 +02:00
Montagna Marco
7293b0e203 Refactored math code and spheres 2020-04-27 06:33:42 +02:00
Montagna Marco
8a02a323b1 Partially fixed spheres; Fixed swap meshes; partially fixed Lara firing; 2020-04-26 10:55:33 +02:00
Montagna Marco
20bd242052 Started math refactoring 2020-04-25 16:23:53 +02:00
Montagna Marco
85e462f6a2 First EXE build successfully 2020-04-24 19:15:05 +02:00
Montagna Marco
4cc46789e9 Decompiled input 2020-04-23 19:22:01 +02:00
Montagna Marco
9f05715977 Decompiled level loading functions; Moved lot of vars in DLL; Added Zlib; 2020-04-22 14:12:10 +02:00
Montagna Marco
32bafa9893 PHD Math removal 1 2020-04-20 14:17:01 +02:00
Montagna Marco
6ec5f2c97b Fixed last commit; Rewritten phd_RotBoundingBoxNoPersp(); 2020-04-17 07:00:47 +02:00
Montagna Marco
1ebf4a5229 Fixed chase camera; Moved Camera in DLL; 2020-04-12 06:50:43 +02:00
Montagna Marco
3f35e4de4f Refactoring 1 2020-04-01 13:09:14 +02:00
asasas9500
ed12194a59 Uncomment ExplodeItemNode(); Remove duplicated GetClimbTrigger(); Fix LaraHangLeftCornerTest(), LaraHangRightCornerTest() and TestLaraVault(); Correct ANIM_FRAME struct definition 2020-03-27 19:27:21 -03:00
Montagna Marco
b466684cd3 Decompiled missile functions; Moved Meshes[] to DLL; Refactoring; 2020-03-16 12:36:29 +01:00
Montagna Marco
bd199af075 Refactoring; Added all sounds from all TR; Removed trash legacy functions for skinning and meshes processing; New skinning procedure, without fixed arrays; Code cleaning; Decompiled LoadSamples; Dynamic size sound map; 2020-03-02 09:49:11 +01:00
asasas9500
68daee7d6a Place function markers; Remove collision from ID_ANIMATING13, ID_ANIMATING14, ID_ANIMATING15 and ID_ANIMATING16 2020-01-27 00:13:39 -03:00
asasas9500
c00c8750cb Replace NormalizeVector() with NormaliseRopeVector(); Fix Lara functions 2020-01-25 23:31:26 -03:00
asasas9500
1688dd9290 Improve the fly cheat again 2020-01-24 19:16:38 -03:00
asasas9500
afed8b84e7 Improve the fly cheat 2020-01-22 13:24:41 -03:00
asasas9500
92b95f0072 Add GetLaraDeadlyBounds(); Place function markers 2020-01-21 19:27:35 -03:00
asasas9500
8930887f8a Move CurrentPendulum, ApplyVelocityToRope() and SetPendulumVelocity() to rope.cpp; Fix InitialiseRope(), PrepareRope() and NormaliseRopeVector(); Add rope functions 2020-01-21 12:22:52 -03:00
asasas9500
5e6a2278e4 Fix ropes 2020-01-15 22:26:49 -03:00
TokyoSU
3f3136f5c6 Updated Lara, Fixed Flycheat Speed
- updated GetFloorHeight() a bit.
2020-01-14 14:25:37 +01:00
TokyoSU
cd6f239e1b Update Lot and ExtraAnims 2020-01-13 13:18:55 +01:00
Montagna Marco
aa0f99cc54 Fixed flags in TrapObjects 2020-01-13 10:02:10 +01:00
Montagna Marco
ba0eaa74b7 Swapped condition for pistols and HK default weapon selection 2020-01-13 07:43:00 +01:00
Montagna Marco
ec5fb5af71 Code cleaning 2020-01-13 07:23:37 +01:00
Montagna Marco
2b97b92cea Possible fix to missing pistols 2020-01-12 10:59:23 +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
Montagna Marco
5a2209fc6f Inventory refactoring 2020-01-10 08:02:16 +01:00
Montagna Marco
d649d062fe Decompiled AnimateItem() 2020-01-08 13:25:42 +01:00