Commit graph

27 commits

Author SHA1 Message Date
TokyoSU
e355827ee5 Fixed Repo, Fixed Savegame Struct Missing 2020-05-30 17:58:09 +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
5f63d6acba Merged LARA_INFO and LaraExtraInfo into LaraInfo 2020-04-27 14:01:00 +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
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
30997878af Moved many camera vars in DLL 2020-04-12 07:08:22 +02:00
asasas9500
28c3af1355 Fix TorchControl(), FireWeapon(), LaraTargetInfo(), DoProperDetection and FlareControl(); Place function markers 2020-01-30 15:01:36 -03:00
TokyoSU
d4d8056100 Update Lot and ExtraAnims 2020-01-13 13:18:55 +01:00
TokyoSU
42ea468cfc Swamp Flag Implementation Part 2
- the end part will be the camera.
2019-12-29 20:35:25 +01:00
asasas9500
40534387c7 Fix water currents 2019-12-22 00:35:48 -03:00
asasas9500
f4d262c0f5 Fix lara_col_surftread(); Fix ANGLE(); Replace some ANGLE() calls 2019-12-17 21:49:33 -03: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
MontyTRC89
f6a4e741cd Fixed hangs 2019-12-13 10:16:01 +01:00
MontyTRC89
f03c75af82 Multiple swim fixes; Now Lara can dive from wade; 2019-12-13 07:34:44 +01:00
MontyTRC89
3ed3e47301 Fixed some water code 2019-12-12 22:06:57 +01:00
MontyTRC89
b1d523420e Improved Lara swim and surface 2019-12-05 07:23:30 +01:00
MontyTRC89
18dcfa8053 Added TestLaraSlide, UpdateLaraRoom, TranslateItem, AnimateLara; Fixed partially pistols; 2019-12-04 18:51:23 +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
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
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
e6114af969 First commit 2018-08-19 09:46:58 +02:00