Commit graph

32 commits

Author SHA1 Message Date
asasas9500
7218086a0f Fix phd_sin() and phd_cos() 2020-10-05 22:24:57 -03:00
Raildex
81a786c839 Made Spark.size a float
Fixed Lara burning fire, Quad Exhaust smoke and Grenade/Rocket Trail.
TODO: More fixing of sparks
2020-09-12 13:49:09 +02:00
Woops
6ada970725 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
7365cdf4c8 Rename Lara files 2020-08-09 22:09:14 -03:00
Woops
b1efaf61eb clean up remove comments 2020-08-06 03:34:49 -05:00
Sezz
5d4dc8ffdd Updated animation and state names to follow a consistent system. 2020-08-04 20:32:07 +10:00
MontyTRC89
689ec226e7 Frames refactoring 2020-07-25 18:02:35 +02:00
MontyTRC89
83bba01a99 Moving all globals of level under LEVEL struct; Fixed severe performance issue; 2020-07-21 09:56:47 +02:00
MontyTRC89
9867a6d24c Pathfinding refactoring 2020-07-11 21:16:04 +02:00
MontyTRC89
7ff7397fa7 New level format: meshes 2020-07-03 07:05:33 +02:00
TokyoSU
dae91df592 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
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
2d9c3103d2 Added DoProperDetection; Fixed flares; 2020-04-30 06:44:29 +02:00
MontyTRC89
efd1f2728b Fixed look camera; Fixed bugs with gunflashes and smoke positions; 2020-04-29 06:43:53 +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
f0925359fe Hair refactoring test 2020-04-20 07:14:54 +02:00
MontyTRC89
3cabd868ba Refactoring 1 2020-04-01 13:09:14 +02:00
asasas9500
3b042da185 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-03-17 21:13:30 -03:00
asasas9500
9ce20d9b63 Fix torches again; Add speed and fallspeed to diagnostics 2020-03-17 21:07:49 -03:00
MontyTRC89
456464f4e6 Refactored mesh pointers; Fixed effects rendering; Improved IMP; 2020-03-16 22:27:50 +01:00
MontyTRC89
3ef028d91d Decompiled missile functions; Moved Meshes[] to DLL; Refactoring; 2020-03-16 12:36:29 +01:00
asasas9500
d866d15692 Fix torches; Remove duplicated draw_shotgun() 2020-01-30 23:39:53 -03:00
asasas9500
28c3af1355 Fix TorchControl(), FireWeapon(), LaraTargetInfo(), DoProperDetection and FlareControl(); Place function markers 2020-01-30 15:01:36 -03:00
TokyoSU
dff4ef93c0 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
MontyTRC89
7b909f48d0 Decompiled FLMTRCH.CPP 2019-12-22 19:01:36 +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