Commit graph

170 commits

Author SHA1 Message Date
wolfcheese
d878cd1c9e Added bridge collision to FALLING_BLOCK 2021-06-16 10:19:46 -04:00
asasas9500
3a56b42ae2 Remove comments; Fix ID_ANIMATING13, ID_ANIMATING14, ID_ANIMATING15 and ID_ANIMATING16 2021-02-07 00:10:36 -03:00
asasas9500
d4c6cc4a97 Fix line endings 2020-12-21 13:16:29 -03:00
asasas9500
7605313df1 Move trapdoor to generic objects folder 2020-09-29 09:53:36 -03:00
asasas9500
44c988716a Remove ControlXRayMachine(); Move bridges to generic objects folder; Merge bridges 2020-09-27 20:44:17 -03:00
asasas9500
04ef765fe8 Add support for bridges 2020-09-21 23:59:57 -03:00
Woops
aca8da8db1 Lara refactor: lara_cheat, move the rest of the functions out of laramisc.cpp and delete it. fix includes. 2020-08-16 16:01:58 -05:00
asasas9500
b9bc1cf54e Rename Lara files 2020-08-09 22:09:14 -03:00
Montagna Marco
fb20a04f3c Decompiled ID_LEETLE_BEETLES 2020-08-06 06:51:32 +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
9f373c691a Pathfinding refactoring 2020-07-11 21:16:04 +02:00
Montagna Marco
2a1c491c7e Hairs done on GPU now 2020-07-07 07:32:33 +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
9045a2206d 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
ae6ea3581a Fixing Entity Include (Part 1)
- Less Compile Time...
2020-05-27 13:01:32 +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
TokyoSU
cc01590119 Implemented Ahmet
- fixed some entity not having zoneType !
2020-05-19 19:01:11 +02:00
TokyoSU
1fc746dac2 Implemented Motorbike
- need to fix shift bug, and lara position
- need to fix collision.
2020-05-19 13:20:44 +02:00
TokyoSU
d66e608c74 Fixed and Implemented TonyBoss 2020-05-14 18:39:17 +02:00
Montagna Marco
91bae4d498 Fixed spider emitter 2020-04-30 06:22:31 +02:00
Montagna Marco
dc07c30969 Refactored OBJET_INFO to ObjectInfo 2020-04-27 15:28:54 +02:00
Montagna Marco
85e462f6a2 First EXE build successfully 2020-04-24 19:15:05 +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
8cd437a81b Decompiled math functions 4; Code cleaning; Decompiled many functions; 2020-04-15 18:30:34 +02:00
Nils Gaitzsch
88fa651295 Added new Bubble routines 2020-04-13 13:36:23 +02:00
Montagna Marco
cae57bda59 Code cleaning and refactoring 2020-04-12 07:25:37 +02:00
Montagna Marco
1ebf4a5229 Fixed chase camera; Moved Camera in DLL; 2020-04-12 06:50:43 +02:00
asasas9500
8a720a7aa8 Add BounceCamera(), TriggerAlertLight() and WreckingBallControl() 2020-04-09 11:17:26 -03:00
Montagna Marco
3f35e4de4f Refactoring 1 2020-04-01 13:09:14 +02:00
Montagna Marco
ecf5772a4e Refactoring of shatters code 2020-04-01 07:24:15 +02:00
Montagna Marco
5a91471af2 Added death states to CHEF and LAGOON_WITCH; Fixed water enemies; 2020-03-31 07:44:40 +02:00
Montagna Marco
ebb1efe161 Decompiled CHEF 2020-03-30 11:39:20 +02:00
Montagna Marco
0dd2df5dba Decompiled ID_LAGOON_WITCH 2020-03-29 14:07:28 +02:00
Montagna Marco
c6608d59b3 Decompiled ControlBodyPart; Some bugfixes for ROMAN_GOD; 2020-03-26 07:07:02 +01:00
Montagna Marco
00edfd718c Added 2 slots for ROMAN_GOD; Improved hammmer ROMAN_GOD; Improved shockwaves rendering; 2020-03-25 12:52:02 +01:00
Montagna Marco
d2796c1e23 Fixed triggers; Decompiled GetJointAbsPosition; Fixed GUARDIAN eyes positions; Tested ROMAN_GOD with hammer attack; 2020-03-25 07:06:04 +01:00
Montagna Marco
e0a951f177 Refactored TriggerShockwave and TriggerLightingGlow and fixed function calls; Working on GUARDIAN; 2020-03-21 19:14:28 +01:00
Montagna Marco
7c27d8245c Added missing TR4 slots 2020-03-21 07:29:31 +01:00
Montagna Marco
b38ed56dee Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-03-18 06:32:32 +01:00
Montagna Marco
29e5963f47 Fixed meshes and cleaned code 2020-03-18 06:27:45 +01:00
asasas9500
73ee9aaec4 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-03-17 21:13:30 -03:00
asasas9500
9bfccd3d68 Fix torches again; Add speed and fallspeed to diagnostics 2020-03-17 21:07:49 -03:00
Montagna Marco
dd033be69e Refactored mesh pointers; Fixed effects rendering; Improved IMP; 2020-03-16 22:27:50 +01:00
Montagna Marco
b466684cd3 Decompiled missile functions; Moved Meshes[] to DLL; Refactoring; 2020-03-16 12:36:29 +01:00
Montagna Marco
534f3b4d61 Refactoring HITMAN 2020-03-15 11:15:55 +01:00
Montagna Marco
f58a33c51a Guards refactoring 2020-03-15 09:05:43 +01:00
Montagna Marco
99bf62b8e3 Fixed basic pathfinding for flying enemies 2020-03-14 20:26:53 +01:00