Commit graph

50 commits

Author SHA1 Message Date
TokyoSU
b615a98c46 (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
cd1d5f5482 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
29f0724693 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
MontyTRC89
5f63d6acba Merged LARA_INFO and LaraExtraInfo into LaraInfo 2020-04-27 14:01:00 +02:00
MontyTRC89
4d219d43cd Refactored math code and spheres 2020-04-27 06:33:42 +02:00
MontyTRC89
ea3db8638f Partially fixed spheres; Fixed swap meshes; partially fixed Lara firing; 2020-04-26 10:55:33 +02:00
MontyTRC89
6b819c2855 Started math refactoring 2020-04-25 16:23:53 +02:00
MontyTRC89
f3bb956927 First EXE build successfully 2020-04-24 19:15:05 +02:00
MontyTRC89
6bff6caed2 Decompiled input 2020-04-23 19:22:01 +02:00
MontyTRC89
9a78144600 Decompiled level loading functions; Moved lot of vars in DLL; Added Zlib; 2020-04-22 14:12:10 +02:00
MontyTRC89
7771e8faf1 PHD Math removal 1 2020-04-20 14:17:01 +02:00
MontyTRC89
de5baead1f Fixed last commit; Rewritten phd_RotBoundingBoxNoPersp(); 2020-04-17 07:00:47 +02:00
MontyTRC89
cbe9f362b6 Fixed chase camera; Moved Camera in DLL; 2020-04-12 06:50:43 +02:00
MontyTRC89
3cabd868ba Refactoring 1 2020-04-01 13:09:14 +02:00
asasas9500
4ea3ce23d0 Uncomment ExplodeItemNode(); Remove duplicated GetClimbTrigger(); Fix LaraHangLeftCornerTest(), LaraHangRightCornerTest() and TestLaraVault(); Correct ANIM_FRAME struct definition 2020-03-27 19:27:21 -03:00
MontyTRC89
3ef028d91d Decompiled missile functions; Moved Meshes[] to DLL; Refactoring; 2020-03-16 12:36:29 +01:00
MontyTRC89
ac7d6b95f7 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
0a597b0aa0 Place function markers; Remove collision from ID_ANIMATING13, ID_ANIMATING14, ID_ANIMATING15 and ID_ANIMATING16 2020-01-27 00:13:39 -03:00
asasas9500
7d2c9da049 Replace NormalizeVector() with NormaliseRopeVector(); Fix Lara functions 2020-01-25 23:31:26 -03:00
asasas9500
be6499f01a Improve the fly cheat again 2020-01-24 19:16:38 -03:00
asasas9500
1237cd51bd Improve the fly cheat 2020-01-22 13:24:41 -03:00
asasas9500
95a0cdb8b4 Add GetLaraDeadlyBounds(); Place function markers 2020-01-21 19:27:35 -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
asasas9500
6976d7f6a6 Fix ropes 2020-01-15 22:26:49 -03:00
TokyoSU
78a11ebc5e Updated Lara, Fixed Flycheat Speed
- updated GetFloorHeight() a bit.
2020-01-14 14:25:37 +01:00
TokyoSU
d4d8056100 Update Lot and ExtraAnims 2020-01-13 13:18:55 +01:00
MontyTRC89
205520b030 Fixed flags in TrapObjects 2020-01-13 10:02:10 +01:00
MontyTRC89
b19d26c0d7 Swapped condition for pistols and HK default weapon selection 2020-01-13 07:43:00 +01:00
MontyTRC89
eb4f85721b Code cleaning 2020-01-13 07:23:37 +01:00
MontyTRC89
29ec96ec39 Possible fix to missing pistols 2020-01-12 10:59:23 +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
MontyTRC89
30e5dc3da7 Inventory refactoring 2020-01-10 08:02:16 +01:00
MontyTRC89
326161c3e4 Decompiled AnimateItem() 2020-01-08 13:25:42 +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
a25048cc2d Decompiled bars system and possibly fixed sniper bug; Bars are now flashing when low values; 2020-01-04 13:26:22 +01:00
TokyoSU
69ff9eff3a Swamp Flag Implementation Part 1
- fixed minimal rebuild are deprecated and turn multiprocessor compilation to flase !
- added fixedpoint library in release mode.
2019-12-29 19:10:53 +01:00
MontyTRC89
0d726e56bc Reverted flyby changes; Fixed TR5 pushables; Decompiling dog; 2019-12-27 08:25:27 +01:00
MontyTRC89
bc54993d8b Added TR3 style DOZY cheat 2019-12-26 07:44:01 +01:00
MontyTRC89
25418903ad Decompiled EFFECTS.CPP, EFFECT2.CPP, TOMB4FX.CPP 2019-12-22 00:20:10 +01:00
MontyTRC89
3ed3e47301 Fixed some water code 2019-12-12 22:06:57 +01:00
MontyTRC89
7e8de097f1 Fixed GetFloor, GetChange; Disabled GetCollisionInfo (bugged); Fixed signed char in FLOOR_INFO; 2019-12-10 18:25:48 +01:00
MontyTRC89
ef974c99cb Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-04 18:54:29 +01:00
MontyTRC89
18dcfa8053 Added TestLaraSlide, UpdateLaraRoom, TranslateItem, AnimateLara; Fixed partially pistols; 2019-12-04 18:51:23 +01:00
TokyoSU
2c3fbae02f 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
713c992d76 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
MontyTRC89
37ac9b77fd Merged branches 2019-12-02 09:11:21 +01:00
MontyTRC89
451af02839 Decompiled Lara (with some bugs) 2019-12-01 08:13:19 +01:00
MontyTRC89
0d342637fb Decompiling Lara 2019-11-21 07:43:34 +01:00
TokyoSU
aafb5d91ab misc fix & adding boat/kayak/snowmobile file 2019-11-20 11:24:36 +01:00
MontyTRC89
e6114af969 First commit 2018-08-19 09:46:58 +02:00