Commit graph

26 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
f3bb956927 First EXE build successfully 2020-04-24 19:15:05 +02:00
asasas9500
f9c0138c81 Add BounceCamera(), TriggerAlertLight() and WreckingBallControl() 2020-04-09 11:17:26 -03:00
MontyTRC89
c616711968 Decompiled ID_FLAME_EMITTER3 2020-02-08 08:43:48 +01:00
MontyTRC89
371cd6720e Decompiled ID_DEATH_SLIDE 2020-01-29 08:29:15 +01:00
MontyTRC89
ea98541354 Decompiled ID_ROLLING_BALL 2020-01-29 07:16:33 +01:00
MontyTRC89
ac74268186 Decompiled ID_DARTS, ID_DART_EMITTER, ID_FALLING_CEILING, ID_PROPELLER_H, ID_PROPELLER_V, KillAllTriggersControl, InitialiseFlameEmitter, FlameEmitterCollision, InitialiseFlameEmitter2 , GenSlot1Control, InitialiseGenSlot3, InitialiseGenSlot4; 2020-01-28 07:30:58 +01:00
MontyTRC89
1f7673fc50 Decompiled ID_HIGH_OBJECT1 2020-01-22 21:22:35 +01:00
MontyTRC89
b8086fa90f Decompiled ID_ELECTRICITY_WIRES; Partially fixed sparks rendering; 2020-01-14 07:34:10 +01:00
MontyTRC89
abd8c60491 Decompiled ID_TWOBLOCKS_PLATFORM and ID_RAISING_COG 2020-01-07 15:22:13 +01:00
MontyTRC89
66ef3f4e2f Decompiled ID_TEETH_SPIKES 2020-01-05 10:11:54 +01:00
MontyTRC89
4ee0f42385 Decompiled doberman 2019-12-29 20:15:30 +01:00
asasas9500
420f1fd9c0 Fix flat bridges; Add wrecking ball functions 2019-12-23 20:08:52 -03:00
MontyTRC89
411f8e434e Fixed references to doors; Added TR3 style pushable blocks; Added InitialiseTightRope; 2019-12-23 23:10:24 +01:00
MontyTRC89
5bfdcde78c Decompiled falling block 2019-12-23 16:16:51 +01:00
MontyTRC89
c1ba43dac9 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-22 07:56:44 +01:00
MontyTRC89
25418903ad Decompiled EFFECTS.CPP, EFFECT2.CPP, TOMB4FX.CPP 2019-12-22 00:20:10 +01:00
asasas9500
9475ceed7c Rename cupboard functions; Add trapdoor functions; Add camera information to diagnostics 2019-12-20 23:29:01 -03: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
TokyoSU
c3555a1fd1 [Update] Project & UPV Prototype
- changed __int32/__int16/__int8 to int/short/char respectivly.
- added UPV (prototype), lara is killed when enter.
2019-11-27 15:12:35 +01:00
TokyoSU
566df03a2d Fix KeyID, Move Function, AimWeapon 2019-11-12 12:28:54 +01:00
MontyTRC89
e6114af969 First commit 2018-08-19 09:46:58 +02:00