Commit graph

91 commits

Author SHA1 Message Date
MontyTRC89
83bba01a99 Moving all globals of level under LEVEL struct; Fixed severe performance issue; 2020-07-21 09:56:47 +02:00
MontyTRC89
5b8c90b688 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-06-26 07:06:51 +02:00
MontyTRC89
d8bf82eab1 New FLOOR_INFO struct; Refactoring rooms part I 2020-06-26 07:06:18 +02:00
Raildex
b635f4df13 Fixed std namespace collisions
Refactored ChunkID/ChunkReader/Writer
2020-06-20 23:39:08 +02:00
Raildex
2b4d1ca2e8 resolving namespace std conflicts 2020-06-18 15:54:08 +02:00
TokyoSU
2b2a58d44c Implemented Mutant and Locusts
- Added ItemNearTarget().
2020-06-10 21:38:25 +02:00
asasas9500
b58fc1473e Scripting (#211)
* Create template for variables; Rename properties; Improve console input

* Improve console input again
2020-06-09 09:16:51 +02:00
TokyoSU
977e338eb7 Implemented Big Rat (TR1) Template
- Fixed old object (added by me) missing from the lua script.
2020-06-08 13:51:44 +02:00
TokyoSU
900235c967 Implemented Baboon
- Fixed AIObject not being initialized !
- Fixed ITEM_DEACTIVATED (cause im french and ITEM_DESACTIVATED is more appropriate)
2020-06-04 12:49:08 +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
963706c3af Partially finished Entity Folder Refactoring
- Less Compile Time
- ObjectInfo now use std::function.
- added isPickup and isPuzzleHole in ObjectInfo.
- Renamed EVIL_LARA to LARA_DOPPELGANGER (DOPPELGANGER in xml)
- Removed TR1 Larson/Pierre and TR1 Raptor.
2020-05-27 19:07: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
Raildex
6fd9ce1473 Added Debug Console Window
Added Script function that handles standalone script commands
2020-05-01 20:42:17 +02:00
MontyTRC89
5de650a634 Fixed math function names; Fixed effects rendering; Fixed Lara matrices; 2020-05-01 06:33:43 +02:00
MontyTRC89
22ccaa2c5a Merge branch 'master' into scripting 2020-04-30 21:52:16 +02:00
asasas9500
4dc0169461 Improve Lua scripting 2020-04-28 12:24:10 -03: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
b496c3caba Decompiled UpdateStorm(); Code cleaning; 2020-04-14 06:11:10 +02:00
MontyTRC89
06042a2f57 Decompiled FixedCamera() and CameraBoundsCollide() 2020-04-09 14:19:18 +02:00
MontyTRC89
3cabd868ba Refactoring 1 2020-04-01 13:09:14 +02: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
19bfa217df Fixed sky not drawing 2020-01-19 20:13:22 +01:00
MontyTRC89
25418903ad Decompiled EFFECTS.CPP, EFFECT2.CPP, TOMB4FX.CPP 2019-12-22 00:20:10 +01:00
MontyTRC89
37ac9b77fd Merged branches 2019-12-02 09:11:21 +01:00
MontyTRC89
0d342637fb Decompiling Lara 2019-11-21 07:43:34 +01:00
MontyTRC89
c89f89f607 Added title flyby; Added scripted audio tracks; 2019-05-31 21:45:20 +02:00
MontyTRC89
3e13bdd891 New setup dialog; Refactoring configuration dialog; Refactoring strings; New strings added; 2019-05-08 21:11:18 +02:00
MontyTRC89
0e49d65c8e Added TR3 flamethrower; Added TR3 spiky ceiling; Added TR3 spiky wall; Added TR4 horse and horseman; New slots; 2019-05-06 23:48:44 +02:00
MontyTRC89
112d33374d Improved resolution change; Added windowed setting; 2019-05-02 21:19:24 +02:00
MontyTRC89
c30ed7373f Refactoring; Added fixed extra rotation to inventory objects; 2019-04-30 12:56:27 +02:00
MontyTRC89
5a2842f89d Refactoring 2019-04-29 13:10:58 +02:00
MontyTRC89
80cbe5a4f0 Finished controls settings; Added some global variables; Fixed load and save configuration; 2019-04-28 16:48:29 +02:00
MontyTRC89
881f08b475 Added keys names; Added new strings; Fixed rings titles; Started working on controls setup; Added load and save of keys; 2019-04-27 18:22:30 +02:00
MontyTRC89
e11487cec5 Fixed text rendering; Fixed savegames; Fixed sky rendering; Fixed ColAddHorizon rendering; Fixed script loading; 2019-03-29 00:27:16 +01:00
MontyTRC89
4226a90206 Added new script commands; Fixed serious memory leak with sprites; Added LoadSprites(); Code cleaning; 2019-03-24 10:08:54 +01:00
MontyTRC89
26aa263892 Added bats; Addes rats; Fixed weather; New script commands; Code cleaning; Fixed horizon; 2019-03-20 23:43:52 +01:00
MontyTRC89
020f3051fc ZeroMemory on LegacyGameFlow; Small fixes to gameflow; 2019-03-20 00:16:00 +01:00
MontyTRC89
e67b95450e Added rope drawing; Added 2D lines and bars drawing; Some debug code for launching directly a level; 2019-03-16 20:55:27 +01:00
MontyTRC89
fee77b4bd9 New script.dat loader; Fixed gameflow; Refactored code for cleaning resources on renderer shutdown and level switch; Removed some legacy code; 2019-03-15 23:03:54 +01:00
MontyTRC89
2030841e1b Added enumeration of adapters and video modes 2019-02-10 09:15:02 +01:00
MontyTRC89
1ca876de04 Improved waterfalls; Refactoring items drawing; 2019-02-09 09:35:30 +01:00
MontyTRC89
7d836faeb7 Added rain rendering; Added 3D lines rendering; 2019-02-02 08:24:03 +01:00
MontyTRC89
112112ff1a Refactored DX11 renderer; Added special effects and sprites rendering; 2019-02-01 17:31:49 +01:00
MontyTRC89
57f243ac0e Working on DX11 renderer 2019-01-13 21:57:16 +01:00
MontyTRC89
4328c805b6 Added default configuration; Improved renderer resolution change; Added sound settings menu; 2018-12-31 10:38:34 +01:00
MontyTRC89
da2804d997 Improving setup dialog; Working on sunglasses object; 2018-12-30 11:41:48 +01:00