Commit graph

1948 commits

Author SHA1 Message Date
Areloch
ad612e218b Merge pull request #2060 from Bloodknight/add_sqlite
SQLite Integration
2017-08-24 21:58:54 -05:00
Areloch
afdf86f220 Merge pull request #2070 from Azaezel/OVRoops
fix for overdark VR scene rendering
2017-08-24 00:06:35 -05:00
OTHGMars
b5cc06cc8b Fixed ovr compiling with srgb and DX9 removed. 2017-08-20 06:06:40 -04:00
Areloch
29edbd0cd2 Hotfix to make VS2017 15.3 play nice. Offsetof behavior - specifically buildin - is unreliable(and broken in debug), so explicitly defining it to use a reliable method for now. 2017-08-18 23:28:25 -05:00
Azaezel
0c35874068 fix for overdark VR scene rendering 2017-08-18 15:42:30 -05:00
rextimmy
d617a1f748 Support for VS 15.3 update 2017-08-15 21:39:22 +10:00
Areloch
da1ac47a93 Merge pull request #2065 from rextimmy/d3d11_crash_fix
Fix potential crash with D3D11
2017-08-14 02:04:10 -05:00
rextimmy
1f477914aa ColorI::fromLinear fix 2017-08-13 19:39:44 +10:00
rextimmy
5f69ab1264 Fix potential crash with D3D11 2017-08-12 19:24:09 +10:00
Marc Chapman
ab27ccbc3e Removal of extraneous code 2017-08-11 22:27:18 +01:00
Areloch
88a94342f8 Merge pull request #2051 from lukaspj/correct-terrain-colors-linear
Fix for terrain detail color blending post-linearization
2017-08-08 23:35:24 -05:00
Areloch
18c60df4b2 Merge pull request #2055 from Areloch/CommonShaderPath_Improvement
Reworks the $Core::commonShaderPath variable usage
2017-08-04 00:58:34 -05:00
Areloch
8a0074eb1d Merge pull request #2041 from Azaezel/clearTextureStateImmediate
method to make sure we're not getting pixel shader inputs mixed with …
2017-08-04 00:58:13 -05:00
Areloch
524ecdfbb8 Merge pull request #2045 from OTHGMars/PhysShapeChange
PhysicsShapeData collision fix
2017-08-04 00:33:26 -05:00
Areloch
2472ad2d98 Merge pull request #2036 from Areloch/LightReflectionFix
Fix light rendering in reflections.
2017-08-04 00:28:32 -05:00
Marc Chapman
b35aa017cc Add SQLite files + cmake file 2017-07-30 16:26:46 +01:00
Areloch
f7688f8327 Removes the pointless getVariable call when doing the init on our smCommonShaderPath var. 2017-07-24 23:52:11 -05:00
Areloch
8c807485b1 Reworks the $Core::commonShaderPath variable usage to be a static variable in ShaderGen for efficiency(only one getVariable when shadergen is initialized), as well as implements the ability to set a default value, and ensures that it tries to set a path even if the pref variable is missing which is important for ported projects from older builds. 2017-07-24 00:40:27 -05:00
Lukas Jørgensen
0b9aede7a2 Fix for terrain detail color blending post-linearization 2017-07-20 11:32:17 +02:00
OTHGMars
8f0e418e54 Fixes collision shape assignment after a PhysicsShapeData resource change signal is triggered. 2017-07-11 19:11:09 -04:00
Areloch
f2b86b7df3 Merge pull request #2040 from Azaezel/xenonCleanup
kills off the last vestiges of xenon support
2017-07-09 17:25:10 -05:00
Azaezel
0b9dd9bb7e forgot one 2017-07-09 15:41:54 -05:00
Areloch
60550f4681 Merge pull request #2034 from rextimmy/dds_cubemaps
DDS CubemapData support
2017-07-09 15:34:02 -05:00
Azaezel
181f95510a method to make sure we're not getting pixel shader inputs mixed with outputs. 2017-07-09 15:15:30 -05:00
Azaezel
5fcb90cafd kills off the last vestiges of xenon support 2017-07-09 15:05:56 -05:00
Areloch
212fc80dfc Includes a fix to get lights to render more correctly in the reflection pass. Also includes a helper function to force a render from a passed in transform and frustum. 2017-07-07 02:55:56 -05:00
Areloch
0946950fa0 #if cleanup for the VS2017 workaround 2017-07-07 02:12:43 -05:00
rextimmy
a2fa9838e5 DDS cubemap support 2017-07-07 15:59:02 +10:00
Areloch
94f37daa52 Merge pull request #2030 from Areloch/2017TemplateFix
VS2017 compiler workaround
2017-07-05 22:29:23 -05:00
Areloch
e2f98f2641 Includes the D3D feature level detection. 2017-07-05 22:27:37 -05:00
Areloch
f1921c26dd Works around the regressive behavior in the VSC++ compiler for VS2017 where the variadic templates would not compile correctly. Issue should be patched in future versions, so for now it'll target the 1910 version specifically. 2017-06-28 23:58:56 -05:00
Areloch
25686ed4be Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy 2017-06-23 11:36:20 -05:00
Azaezel
60631cb146 expanded debug reporting for SDL_Init 2017-06-13 20:24:03 -05:00
Areloch
2b8532f679 Merge pull request #2004 from Areloch/PragmaPack
Ups the #pragma pack call from 4 to 8 when using 64bit
2017-06-10 01:40:53 -05:00
Areloch
adb875cb54 Conflict resolution with devhead.
Cleaned up a few remaining d3d9 references in the cmake file.
2017-06-01 23:54:44 -05:00
Areloch
d4d78ea5e4 Merge pull request #2008 from Areloch/ConsoleDumpAllocationFix
Console Classes dump allocation fix
2017-05-31 02:30:50 -05:00
Areloch
c0f314101d Use the more stable method of checking the string by using the strlen call. 2017-05-31 02:27:28 -05:00
Areloch
75580a1126 Merge pull request #2009 from Areloch/Prepass_Deferred_Remainder
Catches the remaining prepass to deferred changes on the engine side.
2017-05-30 23:43:09 -05:00
Areloch
edd1e0a270 Removes Direct3D9 functionality. 2017-05-28 16:51:31 -05:00
Areloch
5ac6f6beb3 Merge pull request #2010 from Areloch/Fix1999
Cleans up a redundant include.
2017-05-25 01:35:34 -05:00
Areloch
edae0cf2a3 Merge pull request #2011 from Areloch/Fix1998
Fixes a redundant flag test
2017-05-25 01:35:09 -05:00
Richard Marrevee
56d9ebe8eb Update win32WindowMgr.cpp 2017-05-18 20:39:53 +02:00
Areloch
a345c47f92 Fixes a redundant flag test 2017-05-15 01:04:06 -05:00
Areloch
c05d49058f Cleans up a redundant include. 2017-05-15 01:02:15 -05:00
Areloch
5c67c6c846 Merge pull request #1972 from pacomont/Fix_bad_initialization_on_camera
Fix bad initialization on camera
2017-05-15 00:58:36 -05:00
Areloch
67379495ee Merge pull request #2001 from pacomont/Let's_appling_Camera_FX_when_mount_on_driver_position
Why not apply Camera FX on vehicle driver position?
2017-05-15 00:58:11 -05:00
Areloch
c68c1de467 Merge pull request #2002 from OTHGMars/VolFogLeak
VolumetricFog memory leak fix
2017-05-15 00:45:43 -05:00
Areloch
ec3806bb0a Catches the remaining prepass to deferred changes on the engine side. 2017-05-14 18:28:17 -05:00
Areloch
2c5e70b1c9 Console Classes dump fix. It was running aground on having a case where there was a empty value for the 'usage' field in the class header. This would break the allocation because we're allocating nothing. This rejects it if the usage field is an empty string. 2017-05-14 17:51:13 -05:00
Areloch
e1d66d1bb9 Merge pull request #2007 from OTHGMars/DrawTextNFix
BugFix for GFXDrawUtil::drawTextN()
2017-05-14 17:47:29 -05:00