Commit graph

112 commits

Author SHA1 Message Date
Raildex
b8d26691ff Refactored RenderTarget2D 2020-06-16 17:40:32 +02:00
Raildex
d7a949c06a Refactored Index/Vertex Buffer
Now uses ComPtr
2020-06-16 15:11:30 +02:00
Raildex
538e015950 Added new SparkParticle 2020-06-15 16:36:52 +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
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
9a78144600 Decompiled level loading functions; Moved lot of vars in DLL; Added Zlib; 2020-04-22 14:12:10 +02:00
MontyTRC89
7771e8faf1 PHD Math removal 1 2020-04-20 14:17:01 +02:00
Raildex
10c71365ac Refactored Camera Matrix Buffer. Now contains only one precalculated ViewProjection which is calculated ONCE per frame 2020-04-12 22:21:47 +02:00
Raildex
e1c6905367 Added Percentage to the Bars 2020-01-13 22:15:54 +01:00
Raildex
8c3e7e3d33 cherry pick merge conflict 2020-01-13 22:13:32 +01:00
Raildex
c0c1cc60aa New HUD Buffer, new RendererHUDBar struct 2020-01-13 22:10:45 +01:00
Raildex
cbd253c8ca changed SpriteSequences to vector<SpriteSequence> and using vector<RendererSprite*>internally 2020-01-13 22:10:27 +01:00
Raildex
22acd9836e Animated Textures are now internally vector<RendererAnimatedTexture> and AnimatedTextureSets are now vector<RendererAnimatedTextureSet> 2020-01-13 22:10:20 +01:00
Raildex
d2f44aaae2 Splitted Renderer into multiple source files 2020-01-08 20:57:33 +01:00
Raildex
7e99bd70d5 Changed PreallocatedVectors to vector of pointers 2020-01-08 19:31:04 +01:00
Raildex
694d6f65c4 Merge branch 'master' into RendererRefactor 2020-01-08 19:08:28 +01:00
Raildex
e4dc385399 Fixed too bright blood and bubbles 2020-01-08 19:07:51 +01:00
Raildex
7f73ee138b Changed RendererRoom** to vector<RendererRoom> 2020-01-08 19:00:34 +01:00
Raildex
0328cff115 Merge branch 'master' into Footstep
# Conflicts:
#	TR5Main/TR5Main.vcxproj.filters
2020-01-07 17:13:21 +01:00
Raildex
2907b39a9e Refactor 2020-01-07 17:07:45 +01:00
Raildex
acc38f3a9d Refactoring 2020-01-07 16:19:54 +01:00
Raildex
43a927e91f Refactored rendering structs to accept Vectors instead of single coordinates and colors 2020-01-06 19:44:18 +01:00
MontyTRC89
23731c7492 Decompiled ID_PULSE_LIGHT, ID_STROBE_LIGHT, ID_BLINKING_LIGHT, ID_COLOR_LIGHT, ID_ELECTRICAL_LIGHT; Fixed issue 111; 2020-01-06 07:38:54 +01:00
Raildex
5140369a3c Created Subtractive Blending state
Added Footprint struct
added Footprint rendering function
Added footprint update routine
Added AddFootprint Command effect

TODO:
Check condition for left/right foot in Command effect
2020-01-05 18:48:16 +01:00
MontyTRC89
66ef3f4e2f Decompiled ID_TEETH_SPIKES 2020-01-05 10:11:54 +01:00
MontyTRC89
1c9345b7a3 Decompiled ID_RAISING_BLOCK1 and ID_RAISING_BLOCK2; Custom draw routine for raising blocks and spikes; 2020-01-05 07:52:30 +01:00
MontyTRC89
a25048cc2d Decompiled bars system and possibly fixed sniper bug; Bars are now flashing when low values; 2020-01-04 13:26:22 +01:00
MontyTRC89
c3890b0e68 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-01-04 09:26:56 +01:00
MontyTRC89
29ff6f9355 Fixing Larson; Fixed ITEM_INFO struct; Fixed some entities; Fixed InitialiseCreature; Fixed ClearItem; 2020-01-04 09:10:24 +01:00
Raildex
c24f6ed6eb Added PCF for ShadowMapping
Set ShadowMap size to 1024
Added ConstantBuffer for Rooms to hold AmbientColor
2020-01-03 23:06:41 +01:00
MontyTRC89
e37dc2c69c Improved shadow maps 2020-01-03 20:40:52 +01:00
MontyTRC89
51ae05d120 First shadow maps working 2020-01-03 11:31:54 +01:00
MontyTRC89
317d887ded Fixed shadow map generation 2020-01-03 10:49:15 +01:00
MontyTRC89
8eaeeebdd0 Fixed issue with gladiator; Fixed shaders broken in last commit; 2020-01-03 07:08:48 +01:00
MontyTRC89
10593dc68b Working on shadow maps 2020-01-03 06:48:15 +01:00
MontyTRC89
e0017395b4 Fixed wrong position of items in flyby and binoculars 2020-01-01 08:50:07 +01:00
Raildex
6662bb7e6d Fixed arm pistol rotations by applying inverted parent Quaternion to original arm animation rotation.
Fixed arm aiming rotations by switching X Y and Z rotations correctly
2019-12-31 16:27:43 +01: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
TokyoSU
69ff9eff3a Swamp Flag Implementation Part 1
- fixed minimal rebuild are deprecated and turn multiprocessor compilation to flase !
- added fixedpoint library in release mode.
2019-12-29 19:10:53 +01:00
Raildex
002e807eec Added new Splash Setup and Splash update and render routine 2019-12-29 12:23:36 +01:00
MontyTRC89
bfb5dd8e6c Code cleaning; Fixed a bit Lara arms while firing; Fixed wrong smoke spaks position; 2019-12-27 10:50:59 +01:00
MontyTRC89
0d726e56bc Reverted flyby changes; Fixed TR5 pushables; Decompiling dog; 2019-12-27 08:25:27 +01:00
MontyTRC89
c1ba43dac9 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-22 07:56:44 +01:00
MontyTRC89
25418903ad Decompiled EFFECTS.CPP, EFFECT2.CPP, TOMB4FX.CPP 2019-12-22 00:20:10 +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
55e79acd22 Fixed lara draw
- moved some think to misc.cpp
2019-12-15 19:07:38 +01:00
TokyoSU
23e8e9d1f0 Now release mode is compatible 2019-12-15 16:19:01 +01:00
TokyoSU
4b6ffedf5e Fixed release mode
- updated AlterFloorHeight()
- fixed chunkreader.h that used "ChunkReader::" in this own class.
- fixed ChunkId::FromString() not const for str.
- fixed some renderer wrong return value that caused error.
- fixed the debug mode not using the correct directx library !
- updated project include and libs required in release mode.
- fixed Sound_CheckBASSError() not const for message.
- fixed compileXXShader not const for the path.
- reverted GetFloor() change.
2019-12-14 22:41:38 +01:00
TokyoSU
acfd1a509b Some minor update
- moved InitialiseHair to hair.cpp.
- changed while() to for() in LoadObjects() in inventory.
- fixed INV_OBJECT_PASSPORT name (old: INV_OBJECT_PASSAPORT).
- changed objectMip to zoneType. while be used in InitialiseSlot.
- renamed usingDrawanimatingItem to use usingDrawAnimatingItem.
2019-12-13 13:52:47 +01:00