Commit graph

123 commits

Author SHA1 Message Date
Raildex
2a15e48b5f Refactored Updating Constant Buffers
Half Lambertian Lighting
2020-07-01 21:13:07 +02:00
Raildex
094fd40761 Fixed Cubemap 2020-07-01 16:49:53 +02:00
Raildex
14368db3c6 Semi-working cubemapping.
improved camera functions
2020-07-01 08:46:07 +02:00
Raildex
8bce80a9ab Refactored Rendering. You can now render scene to an arbitrary render target 2020-06-30 10:25:41 +02:00
Raildex
e24ff68b75 Rendering Sprites without Primitive Batch 2020-06-28 20:30:56 +02:00
Raildex
0bfeb84b45 Changed m_moveableObjects and m_staticObjects to vector<optional> 2020-06-28 11:12:52 +02:00
Raildex
c599d0bf1d Moved Files 2020-06-21 20:57:35 +02:00
Raildex
e5ead31064 Putting Renderer into namespace
made g_Renderer a global object
2020-06-21 14:27:12 +02:00
Raildex
1d07a7952e RAII texture2D 2020-06-21 11:51:46 +02:00
Raildex
b635f4df13 Fixed std namespace collisions
Refactored ChunkID/ChunkReader/Writer
2020-06-20 23:39:08 +02:00
MontyTRC89
d665551a02 New level format: textures and sprites 2020-06-20 21:20:36 +02:00
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