Commit graph

38 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
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
MontyTRC89
5f63d6acba Merged LARA_INFO and LaraExtraInfo into LaraInfo 2020-04-27 14:01:00 +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
53a5e1715a Fixed puzzles and keys; Fixed bug with floor and ceiling trapdoors; 2020-04-13 06:49:05 +02:00
MontyTRC89
30997878af Moved many camera vars in DLL 2020-04-12 07:08:22 +02:00
MontyTRC89
78293ce999 Fixed GUARDIAN death; Added X angle to shockwaves; Reset Use/combine selected index after combine or separe; Code cleaning; 2020-04-05 08:15:56 +02:00
MontyTRC89
3cabd868ba Refactoring 1 2020-04-01 13:09:14 +02:00
MontyTRC89
72c590ee1b Added missing TR4 slots 2020-03-21 07:29:31 +01:00
asasas9500
d866d15692 Fix torches; Remove duplicated draw_shotgun() 2020-01-30 23:39:53 -03:00
MontyTRC89
1c577198ea Decompilink smoke emitters; Fixed again dynmic lights; Fixed horizontal pickups; 2020-01-20 07:29:37 +01:00
MontyTRC89
48e25d6a8c Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-01-12 08:12:58 +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
asasas9500
6c145d913f Add GetCarriedItems() and GetAIPickups(); Fix CollectCarriedItems() 2020-01-11 20:12:48 -03:00
MontyTRC89
30e5dc3da7 Inventory refactoring 2020-01-10 08:02:16 +01:00
asasas9500
9475ceed7c Rename cupboard functions; Add trapdoor functions; Add camera information to diagnostics 2019-12-20 23:29:01 -03:00
asasas9500
341e75234d Improve cupboard functions; Fix Move3DPosTo3DPos(); Add lara rotation to diagnostics 2019-12-19 15:13:13 -03:00
TokyoSU
2f7100d544 Updated some function, Added flag to Cupboard
- Fixed SequenceDoorControl() for Heavy Triggers && door->opened value.
- Cupboard Flag Added
- Updated:
UnderwaterDoorCollision()
DoubleDoorCollision()
PushPullKickDoorCollision()
PushPullKickDoorControl() // not really
DoorCollision()
DoorControl()
2019-12-18 15:12:01 +01:00
TokyoSU
4cd7d50e5a Decompiled Cupboard
- Crash when lara are in range of the cupboard, need to be fixed, possibly related to Initialise and flags.
2019-12-18 11:47:27 +01:00
asasas9500
bc15581d5e Fix pickup triggers 2019-12-15 23:49:15 -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
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
6cbffe3dfc Refactoring; Fixed bug with switch triggers; Tested crowbar door (to fix final Lara position wrong); 2019-11-18 07:49:02 +01:00
MontyTRC89
0455fb0b8b Tested doors; Fixed basic pickup; 2019-11-15 22:27:13 +01:00
MontyTRC89
124ffbccbb Merged branches; Fixed conflicts; 2019-11-15 07:40:22 +01:00
MontyTRC89
743d6d7bc6 Decompiled PICKUP.CPP; Decompiled PEOPLE.CPP; Fixed bugs; 2019-11-14 20:15:29 +01:00
MontyTRC89
01489d5d63 Fixed some jeep bugs; Fixed inventory; Added auto enter to inventory; 2019-06-23 16:47:39 +02:00
MontyTRC89
39436dbbb5 Added scorpion from TR4 2018-11-28 13:19:01 +01:00
MontyTRC89
0199efb56c Refactoring weapons system 2018-11-21 09:34:01 +01:00
MontyTRC89
e6114af969 First commit 2018-08-19 09:46:58 +02:00