Commit graph

99 commits

Author SHA1 Message Date
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
Montagna Marco
615fccaea3 Decompiled ID_RAISING_BLOCK1 and ID_RAISING_BLOCK2; Custom draw routine for raising blocks and spikes; 2020-01-05 07:52:30 +01:00
Montagna Marco
41732b5cde Decompiled bars system and possibly fixed sniper bug; Bars are now flashing when low values; 2020-01-04 13:26:22 +01:00
Montagna Marco
c3c5d5b0d4 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-01-04 09:26:56 +01:00
Montagna Marco
1336773ce4 Fixing Larson; Fixed ITEM_INFO struct; Fixed some entities; Fixed InitialiseCreature; Fixed ClearItem; 2020-01-04 09:10:24 +01:00
Nils Gaitzsch
9def871666 Added PCF for ShadowMapping
Set ShadowMap size to 1024
Added ConstantBuffer for Rooms to hold AmbientColor
2020-01-03 23:06:41 +01:00
Montagna Marco
e1d986980d Improved shadow maps 2020-01-03 20:40:52 +01:00
Montagna Marco
c080c253d7 First shadow maps working 2020-01-03 11:31:54 +01:00
Montagna Marco
fbb341ac73 Fixed shadow map generation 2020-01-03 10:49:15 +01:00
Montagna Marco
6b0efc3ef6 Fixed issue with gladiator; Fixed shaders broken in last commit; 2020-01-03 07:08:48 +01:00
Montagna Marco
8ed9cf22bd Working on shadow maps 2020-01-03 06:48:15 +01:00
Montagna Marco
f3907b4f8f Fixed wrong position of items in flyby and binoculars 2020-01-01 08:50:07 +01:00
Nils Gaitzsch
43a2812360 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
c89394d528 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
0cb3b7381d 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
Nils Gaitzsch
59bfd33db3 Added new Splash Setup and Splash update and render routine 2019-12-29 12:23:36 +01:00
Montagna Marco
d56571bd41 Code cleaning; Fixed a bit Lara arms while firing; Fixed wrong smoke spaks position; 2019-12-27 10:50:59 +01:00
Montagna Marco
d70c84eddf Reverted flyby changes; Fixed TR5 pushables; Decompiling dog; 2019-12-27 08:25:27 +01:00
Montagna Marco
dbf42eaa44 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-22 07:56:44 +01:00
Montagna Marco
d5f6858a01 Decompiled EFFECTS.CPP, EFFECT2.CPP, TOMB4FX.CPP 2019-12-22 00:20:10 +01:00
asasas9500
ca9a5c952b Rename cupboard functions; Add trapdoor functions; Add camera information to diagnostics 2019-12-20 23:29:01 -03:00
asasas9500
f3f31bc71f Improve cupboard functions; Fix Move3DPosTo3DPos(); Add lara rotation to diagnostics 2019-12-19 15:13:13 -03:00
TokyoSU
10f2f7a946 Fixed lara draw
- moved some think to misc.cpp
2019-12-15 19:07:38 +01:00
TokyoSU
4bd18f7f18 Now release mode is compatible 2019-12-15 16:19:01 +01:00
TokyoSU
3b7d53b0a6 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
8189e22677 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
Montagna Marco
667d490c66 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2019-12-11 22:30:12 +01:00
Montagna Marco
39271a71a5 Fixed problems with item new room 2019-12-11 22:25:26 +01:00
TokyoSU
0d747de936 Updated Lara.cpp/LaraFire.cpp
- fixed lara gun height when crouching.
- fixed lara rotation left and right when running.
- updated some animation state.
2019-12-11 18:07:27 +01:00
Montagna Marco
6344e88ee6 Fixed crashes and hangs with effects; Fixed camera FOV; Downgraded to DX10.0 feature level; 2019-12-11 07:40:47 +01:00
Montagna Marco
09c2957f4f Merged branches 2019-12-02 09:11:21 +01:00
TokyoSU
4bea39988b Added Shiva and Spear Guardian
- misc add.
- misc fix.
2019-11-25 13:18:24 +01:00
Montagna Marco
2443494349 Decompiling Lara 2019-11-21 07:43:34 +01:00
Montagna Marco
1ea4734f8a Merged branches; Fixed conflicts; 2019-11-15 07:40:22 +01:00
Montagna Marco
31ed7b8de9 Decompiled PICKUP.CPP; Decompiled PEOPLE.CPP; Fixed bugs; 2019-11-14 20:15:29 +01:00
TokyoSU
07e7edfb90 Decompiled Function & Fix some think
- Decompiled BaddyObjects/TrapObjects/ObjectObjects.
- Fixed some entity.
- Fixed NUM_OBJECTS by using enum ID_NUMBER_OBJECTS instead.
- Fixed 3/4 wrong enum name.
2019-11-11 16:17:45 +01:00
Montagna Marco
bfcb4a8920 Decompiled SWITCH.CPP; Decompiled DOOR.CPP; Refactoring; Fixed sequences variables; 2019-11-09 09:56:33 +01:00
MontyTRC89
6a31167f49 Fixed effects drawing; Fixed sparks drawing; Fixed demigod AI; 2019-09-22 21:14:58 +02:00
MontyTRC89
f7cc291d39 Almost fixed jeep (need to fix shifts on collision); Fixed serious bug with all vehicles; 2019-06-18 21:21:11 +02:00