Commit graph

137 commits

Author SHA1 Message Date
Lwmte
e879038220 Fix namespace case 2021-08-30 18:03:21 +03:00
MontyTRC89
109b7d6e18 Merge branch 'master' of https://github.com/MontyTRC89/TombEngine; Renamed namespaces;
# Conflicts:
#	TR5Main/TR5Main.vcxproj.user
2021-08-20 05:25:51 +02:00
Lwmte
16c36be7de Reorder renderer operations, redo debug output (use F10-F11 to switch pages), add debug sphere/box drawing 2021-08-06 11:12:34 +03:00
Lwmte
382271abed Fix spheres 4th time, fix alloc of TR4/5 objects 2021-08-05 13:31:42 +03:00
Nils
95bec0e3b0 Reduced Vertex Count for Bars from 9 to 5
Added define for PI for shaders
Added Primes to Vertex Hash generation
Fixed Debris
2021-08-02 13:16:51 +02:00
Lwmte
90f595b55c Remove gnFrameCounter which is seemingly the same as GlobalCounter 2021-08-02 11:25:53 +03:00
Trxye
35af9b2c92 clean up ring inventory code; fix KillItem(); 2021-05-26 01:58:30 -05:00
Nils
d5cbc07d2a Fixed Animated Textures 2021-03-23 15:38:17 +01:00
asasas9500
d4c6cc4a97 Fix line endings 2020-12-21 13:16:29 -03:00
Nils
bcbad2d87c Refactor Renderer 2020-10-11 16:47:36 +02:00
Nils Gaitzsch
a752f49d57 Using Smart Pointers 2020-08-09 22:15:32 +02:00
Nils Gaitzsch
11b2e2cd61 Refactored functions 2020-08-09 15:25:56 +02:00
Nils Gaitzsch
a0d9a7914b Prepareing RenderpipelineState, not-so-hardcoded shadow map size 2020-08-02 09:02:33 +02:00
Nils Gaitzsch
d5aff8914b Refactored Constant Buffers 2020-07-23 21:40:07 +02:00
Nils Gaitzsch
d6f4239dae Refactored Updating Constant Buffers
Half Lambertian Lighting
2020-07-01 21:13:07 +02:00
Nils Gaitzsch
455a643fe8 Fixed Cubemap 2020-07-01 16:49:53 +02:00
Nils Gaitzsch
15e4dc712b Semi-working cubemapping.
improved camera functions
2020-07-01 08:46:07 +02:00
Nils Gaitzsch
af92efdcb0 Refactored Rendering. You can now render scene to an arbitrary render target 2020-06-30 10:25:41 +02:00
Nils Gaitzsch
3dd642f649 Rendering Sprites without Primitive Batch 2020-06-28 20:30:56 +02:00
Nils Gaitzsch
723b2a9361 Changed m_moveableObjects and m_staticObjects to vector<optional> 2020-06-28 11:12:52 +02:00
Nils Gaitzsch
5dbea44c7a Moved Files 2020-06-21 20:57:35 +02:00
Nils Gaitzsch
3781370e06 Putting Renderer into namespace
made g_Renderer a global object
2020-06-21 14:27:12 +02:00
Nils Gaitzsch
08f3910e4d RAII texture2D 2020-06-21 11:51:46 +02:00
Nils Gaitzsch
c860919616 Fixed std namespace collisions
Refactored ChunkID/ChunkReader/Writer
2020-06-20 23:39:08 +02:00
Montagna Marco
1cddd102d0 New level format: textures and sprites 2020-06-20 21:20:36 +02:00
Nils Gaitzsch
9f682a0078 Refactored RenderTarget2D 2020-06-16 17:40:32 +02:00
Nils Gaitzsch
a82a338795 Refactored Index/Vertex Buffer
Now uses ComPtr
2020-06-16 15:11:30 +02:00
Nils Gaitzsch
315181220a Added new SparkParticle 2020-06-15 16:36:52 +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
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
9f05715977 Decompiled level loading functions; Moved lot of vars in DLL; Added Zlib; 2020-04-22 14:12:10 +02:00
Montagna Marco
32bafa9893 PHD Math removal 1 2020-04-20 14:17:01 +02:00
Nils Gaitzsch
6bae6784ec Refactored Camera Matrix Buffer. Now contains only one precalculated ViewProjection which is calculated ONCE per frame 2020-04-12 22:21:47 +02:00
Nils Gaitzsch
82ef1a74cf Added Percentage to the Bars 2020-01-13 22:15:54 +01:00
Nils Gaitzsch
595e9a0de3 cherry pick merge conflict 2020-01-13 22:13:32 +01:00
Nils Gaitzsch
bdc95e8546 New HUD Buffer, new RendererHUDBar struct 2020-01-13 22:10:45 +01:00
Nils Gaitzsch
9821018cab changed SpriteSequences to vector<SpriteSequence> and using vector<RendererSprite*>internally 2020-01-13 22:10:27 +01:00
Nils Gaitzsch
9727238be2 Animated Textures are now internally vector<RendererAnimatedTexture> and AnimatedTextureSets are now vector<RendererAnimatedTextureSet> 2020-01-13 22:10:20 +01:00
Nils Gaitzsch
ffd4e52edb Splitted Renderer into multiple source files 2020-01-08 20:57:33 +01:00
Nils Gaitzsch
8bc62307fe Changed PreallocatedVectors to vector of pointers 2020-01-08 19:31:04 +01:00
Nils Gaitzsch
6a4a537f7d Merge branch 'master' into RendererRefactor 2020-01-08 19:08:28 +01:00
Nils Gaitzsch
4fe312cfee Fixed too bright blood and bubbles 2020-01-08 19:07:51 +01:00
Nils Gaitzsch
f5ad6d9c21 Changed RendererRoom** to vector<RendererRoom> 2020-01-08 19:00:34 +01:00
Nils Gaitzsch
06131e26b4 Merge branch 'master' into Footstep
# Conflicts:
#	TR5Main/TR5Main.vcxproj.filters
2020-01-07 17:13:21 +01:00
Nils Gaitzsch
908133afb1 Refactor 2020-01-07 17:07:45 +01:00
Nils Gaitzsch
8bbbff1f61 Refactoring 2020-01-07 16:19:54 +01:00
Nils Gaitzsch
6cc4cff94f Refactored rendering structs to accept Vectors instead of single coordinates and colors 2020-01-06 19:44:18 +01:00
Montagna Marco
0cfea9bfdd 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
Nils Gaitzsch
b0d2fc67ae 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
Montagna Marco
d1a4adce93 Decompiled ID_TEETH_SPIKES 2020-01-05 10:11:54 +01:00