Commit graph

37 commits

Author SHA1 Message Date
MontyTRC89
689ec226e7 Frames refactoring 2020-07-25 18:02:35 +02:00
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
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
f0925359fe Hair refactoring test 2020-04-20 07:14:54 +02:00
MontyTRC89
de5baead1f Fixed last commit; Rewritten phd_RotBoundingBoxNoPersp(); 2020-04-17 07:00:47 +02:00
MontyTRC89
cc4691dd8b Decompiled math functions 4; Code cleaning; Decompiled many functions; 2020-04-15 18:30:34 +02:00
MontyTRC89
d0a18e4979 Decompiling math functions 4 2020-04-14 17:47:49 +02:00
MontyTRC89
b1c1deaf1e Decompiling math functions 3 2020-04-14 16:52:01 +02:00
MontyTRC89
1a26660639 Decompiling math functions 2 2020-04-14 16:36:37 +02:00
MontyTRC89
2ee9375291 Decompiling math functions 1 2020-04-14 13:39:54 +02:00
MontyTRC89
461d03522c Decompiled GetBoundsAccurate, GetBestFrame, Sync, TIME_Init, TIME_Reset; 2020-04-14 07:13:31 +02:00
MontyTRC89
b496c3caba Decompiled UpdateStorm(); Code cleaning; 2020-04-14 06:11:10 +02:00
MontyTRC89
cbe099b03d Code cleaning and refactoring 2020-04-12 07:25:37 +02:00
MontyTRC89
39df12d57f Added gunflashes to baddes; Some tweaks to rats; 2020-03-12 15:29:57 +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
MontyTRC89
7e78b88218 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main;
Some fixes to room collecting function;
2020-01-18 20:52:57 +01:00
MontyTRC89
826af067b3 Fixed sparks drawing; Moved boxes, overlaps and zones in DLL; Decompiled missing doors code; Added some code to phd_LookAt; 2020-01-16 19:14:35 +01:00
TokyoSU
dff4ef93c0 Fix Swamp Flag, Added Old/New Object ID
- fixed swamp flag.
- fixed phd_PopDxMatrix() not being used anymore.
- deleted ENV_FLAG_SFX_ALWAYS and ENV_FLAG_PITCH_SHIFT and use the sound.h define instead.
- fixed loadlevel update progress not correct at 90%.
- updated GAME_OBJECT_ID, now you can use the new one, but TR5_DEBUG is defined by default to use the old one !
2019-12-31 14:56:02 +01:00
MontyTRC89
370b1c1f2b Fixed flyby decompilation issues; Fixed cinematic bars; 2019-12-29 08:05:58 +01: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
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
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
09e57adfb1 Added Shiva and Spear Guardian
- misc add.
- misc fix.
2019-11-25 13:18:24 +01:00
TokyoSU
566df03a2d Fix KeyID, Move Function, AimWeapon 2019-11-12 12:28:54 +01:00
MontyTRC89
c89f89f607 Added title flyby; Added scripted audio tracks; 2019-05-31 21:45:20 +02:00
MontyTRC89
57f243ac0e Working on DX11 renderer 2019-01-13 21:57:16 +01:00
MontyTRC89
21f8a87b6e Added new functions; Added waterskins empty and scales from TR4; 2018-11-27 18:45:59 +01:00
MontyTRC89
153bbda34c Decompiled lot of code about weapons, need to fix and test; Implementing harpoon gun, grenade launcher, rocket launcher; 2018-11-01 22:45:59 +01:00
MontyTRC89
6365a64c8f Implemented basic baddy 1 & 2 2018-09-12 20:37:37 +02:00
MontyTRC89
1d0cfa8554 Improved fades and cinematic bars 2018-09-07 18:34:35 +02:00
MontyTRC89
4866273954 Added LUA; re-arranged file system; 2018-09-02 09:29:56 +02:00
MontyTRC89
99ab8d1378 Converted collectRooms() to iterative version 2018-08-31 21:34:19 +02:00
MontyTRC89
552b70c051 Added storm effects 2018-08-21 21:07:18 +02:00
MontyTRC89
e6114af969 First commit 2018-08-19 09:46:58 +02:00