Commit graph

28 commits

Author SHA1 Message Date
Lwmte
e879038220 Fix namespace case 2021-08-30 18:03:21 +03:00
Lwmte
dd3b6fa4e5 Move collision and FX functions from effect.cpp 2021-08-26 15:54:52 +03:00
Lwmte
d1257cddc3 Use lasersight overlay in lasersight mode 2021-08-21 04:13:42 +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
hispidence
ee8f580002 Big audio & audio settings cleanup.
Remove "Sound Enabled" setting, as it would disable BASS if used, leading to a load of warning messages and missing sounds when re-enabled.

Currently-playing track(s) now get quieter/louder when using the music volume slider in the audio settings menu.

Encapsulate GlobalMusicVolume and GlobalFXVolume in functions (at the time of writing this is only strictly necessary for music volume, since SetVolumeMusic needs to also set the volume of currently-playing tracks).

Make "apply" button return to the previous menu, as it does with keyboard controls.

Replace a printf call with a TENLog call.
2021-08-12 00:38:15 +01: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
Nils
ca583d15ff Added new Sprite Slots for Bars, Binoculars,(Lasersight) and Caustics 2021-08-04 10:21:45 +02: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
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
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
bce320d1b8 Merge branch 'master' into renderdatarefactor
# Conflicts:
#	TR5Main/Renderer/Render11Helper.cpp
#	TR5Main/Renderer/Renderer11.h
#	TR5Main/Renderer/Renderer11Compatibility.cpp
#	TR5Main/Renderer/Renderer11Draw.cpp
2020-06-27 19:48:50 +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
232458472b resolving namespace std conflicts 2020-06-18 15:54:08 +02:00
Nils Gaitzsch
a82a338795 Refactored Index/Vertex Buffer
Now uses ComPtr
2020-06-16 15:11:30 +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
85e462f6a2 First EXE build successfully 2020-04-24 19:15:05 +02:00
Montagna Marco
c5b06cb1b7 Moved many camera vars in DLL 2020-04-12 07:08:22 +02:00
Montagna Marco
5ec7adfc12 Fixed objects not lighted in flyby and binoculars/lisersight view; Added experimental aiming point in lasersight; 2020-03-23 06:59:21 +01:00
Nils Gaitzsch
1ce7315629 Added Music and Sound Volume Bars.
TODO: Method to manually set the Position at runtime
2020-01-14 17:58:07 +01:00
Nils Gaitzsch
73e0c5559f Tweaked glass Overlay, Added colors for dash bar 2020-01-13 22:16:07 +01: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
ffd4e52edb Splitted Renderer into multiple source files 2020-01-08 20:57:33 +01:00