Commit graph

28 commits

Author SHA1 Message Date
Woops
622d86c6a2 clean up remove comments 2020-08-06 03:34:49 -05:00
Sebastian Zych
6a3700345e Updated animation and state names to follow a consistent system. 2020-08-04 20:32:07 +10: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
439db540e3 New level format: meshes 2020-07-03 07:05:33 +02:00
TokyoSU
9cf30f3546 Fix potential collision override
- Fixed "COLL_INFO coll" global that can collide with internal coll info in lara animation or other object.
2020-06-04 11:03:30 +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
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
Montagna Marco
9f84bc3458 Added DoProperDetection; Fixed flares; 2020-04-30 06:44:29 +02:00
Montagna Marco
3cf3b1d2dc Fixed look camera; Fixed bugs with gunflashes and smoke positions; 2020-04-29 06:43:53 +02:00
Montagna Marco
20bd242052 Started math refactoring 2020-04-25 16:23:53 +02:00
Montagna Marco
85e462f6a2 First EXE build successfully 2020-04-24 19:15:05 +02:00
Montagna Marco
4cc46789e9 Decompiled input 2020-04-23 19:22:01 +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
0b59d298e4 Hair refactoring test 2020-04-20 07:14:54 +02:00
Montagna Marco
3f35e4de4f Refactoring 1 2020-04-01 13:09:14 +02: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
asasas9500
b02200cb19 Fix torches; Remove duplicated draw_shotgun() 2020-01-30 23:39:53 -03:00
asasas9500
4fd60a0872 Fix TorchControl(), FireWeapon(), LaraTargetInfo(), DoProperDetection and FlareControl(); Place function markers 2020-01-30 15:01:36 -03:00
TokyoSU
c89394d528 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
Montagna Marco
9c5317d4f5 Decompiled FLMTRCH.CPP 2019-12-22 19:01:36 +01:00
TokyoSU
52b5136443 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