Anis
55b7a8431c
Merge pull request #1800 from Azaezel/andOrMaybe
...
clang reports: unclear || + && and &+| mixes.
2017-01-07 02:31:05 +01:00
Azaezel
d42b1a6be8
colorPicker/swatch srgb display.
...
dependency from @rextimmy: tolinear and togamma for color+lumnance.
2016-12-22 06:37:34 -06:00
Azaezel
dd071484da
Merge branch 'development' of https://github.com/GarageGames/Torque3D into andOrMaybe
...
Conflicts:
Engine/source/T3D/staticShape.cpp
2016-12-20 22:50:28 -06:00
James Urquhart
704577e051
Preliminary IPV6 Support
2016-10-25 19:09:02 +01:00
Areloch
fd99f976a6
Merge pull request #1798 from Azaezel/UUID_unmangle
...
clang: format_token string format correction
2016-10-24 01:27:38 -05:00
Anis
60e258e5a9
Merge pull request #1806 from Azaezel/byeByeVarVar2
...
more unused variable cleanups
2016-10-23 21:04:36 +02:00
Anis
bd4f2b002d
Merge pull request #1801 from Azaezel/registerRemoval
...
clang: register type modifier deprecated
2016-10-21 20:04:42 +02:00
Areloch
6cc7bcd2e0
Merge pull request #1805 from Azaezel/startRightEndRight
...
clang: constructor initialization order
2016-10-19 08:39:12 -05:00
Areloch
121d65215e
Tweaks any enums that use uint_max values so that they have hard types to avoid any compiler kerfluffles with C++11 value narrowing, specifically pertaining to clang.
2016-10-17 01:00:12 -05:00
Azaezel
1ee127b753
more unused variable cleanups
2016-10-16 14:41:34 -05:00
Azaezel
fbfd3ed8ed
clang: constructor initialization order
...
while not a major issue per-se, the sheer number of times the engine has to jump back in memory and backfill data in a given class can add up. First run of... many.,
2016-10-14 18:16:55 -05:00
Azaezel
dd0b7914e6
clang: register type modifier deprecated
2016-10-14 17:37:00 -05:00
Azaezel
c57b1a8b70
clang reports: unclear || + && and &+| mixes.
2016-10-14 17:26:13 -05:00
Azaezel
ae5f61e60d
clang: format_token string format correction
2016-10-14 16:28:06 -05:00
Areloch
1131ed15df
Merge pull request #1785 from rextimmy/mac_port_clean
...
MacOS platform support
2016-10-12 16:54:24 -05:00
Areloch
e77642f6cb
Merge pull request #1786 from jamesu/datachunker_mem
...
Reduce the amount of blocks of memory DataChunker uses
2016-10-09 13:56:42 -05:00
James Urquhart
d324abd2df
Fix redundant memcpy in swizzle ToBuffer method
2016-09-30 18:41:10 +01:00
James Urquhart
c2cc7142de
Reduce the amount of blocks of memory DataChunker uses
2016-09-30 18:35:14 +01:00
RexTimmy
dd64004eaf
MacOS platform support.
2016-09-28 11:09:48 +10:00
RexTimmy
7b21b69dcb
Revert TORQUE_CPU_X64 changes to oggTheoraDecoder.cpp
2016-09-17 10:52:43 +10:00
Areloch
f88975121d
Merge pull request #1761 from Bloodknight/intrinsicsfix
...
Intrinsicsfix
2016-09-13 21:43:18 -05:00
Anis
8cae1e5dcb
Merge pull request #1749 from Azaezel/linearizeLights
...
adds toLinear and toGamma helper functions for ColorF, uses the former in adjusting lights.
2016-09-04 02:06:00 +02:00
Marc Chapman
bcb56a027d
Added x64 check for SSE2 OGG Theora Decoder
2016-09-02 05:10:28 +01:00
Azaezel
13f00ca79d
adds toLinear and toGamma helper functions for ColorF, uses the former in adjusting lights.
2016-08-09 14:49:03 -05:00
Azaezel
76fe7937ce
adresses C4189 warnings ('identifier' : local variable is initialized but not referenced)
2016-07-31 10:46:52 -05:00
Azaezel
fc110706a3
corrects safety check for Stream::readLongString
2016-06-08 15:28:40 -05:00
Areloch
908be4818f
Merge pull request #1519 from Azaezel/deferredShading
...
Deferred shading
2016-02-27 15:08:20 -06:00
Anis A. Hireche
b3662d801a
Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1334
...
# Conflicts resolved:
# Engine/source/console/consoleFunctions.cpp
2016-02-26 21:58:01 +01:00
Anis
794f1b9536
Merge pull request #1532 from GarageGames/pr/1143
...
[CLONE] More consolefunctions #1143
2016-02-26 18:57:49 +01:00
Anis A. Hireche
10cb6ab9c4
Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1153
2016-02-26 14:39:38 +01:00
Azaezel
7a60056365
Merge branch 'ColorPickerAdvanced' of https://github.com/Azaezel/Torque3D into ColorPickerAdvanced
2016-02-21 16:07:51 -06:00
Anis
4c0d3bbc34
removed tabs
2016-02-21 22:41:35 +01:00
Azaezel
ca2ffea6cd
Merge branch 'development' of https://github.com/GarageGames/Torque3D into ColorPickerAdvanced
2016-02-21 15:30:54 -06:00
Azaezel
8c5810adad
The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of:
...
renderPrePassMgr.cpp related:
A) shifting .addFeature( MFT_XYZ); calls from ProcessedShaderMaterial::_determineFeatures to ProcessedPrePassMaterial::_determineFeatures
B) mimicking the "// set the XXX if different" entries from RenderMeshMgr::render in RenderPrePassMgr::render
C) fleshing out ProcessedPrePassMaterial::getNumStages() so that it shares a 1:1 correlation with ProcessedShaderMaterial::getNumStages()
D) causing inline void Swizzle<T, mapLength>::ToBuffer( void *destination, const void *source, const dsize_t size ) to silently fail rather than fatally assert if a source or destination buffer is not yet ready to be filled. (support for #customTarget scripted render targets)
Reflections:
A) removing reflectRenderState.disableAdvancedLightingBins(true); entries. this would otherwise early out from prepass and provide no color data whatsoever.
B) removing the fd.features.addFeature( MFT_ForwardShading ); entry forcing all materials to be forward lit when reflected.
C) 2 things best described bluntly as working hacks:
C1) when reflected, a scattersky is rotated PI along it's z then x axis in order to draw properly.
C2) along similar lines, in terraincellmaterial, we shut off culling if it's a prepass material.
Skies: scattersky is given a pair of rotations for reflection purposes, all sky objects are given a z value for depth testing.
2016-02-16 02:50:49 -06:00
Azaezel
d25b03cd52
vsprintf replacement with engine vairant
...
resolves first issue in
https://github.com/GarageGames/Torque3D/issues/1515#issuecomment-184446719
2016-02-15 18:12:56 -06:00
Areloch
6235f63deb
Merge pull request #1395 from Azaezel/AssertDivNULL
...
credit to @MusicMonkey5555 for spotting. asserts for Div/NULLs
2016-01-16 17:53:00 -06:00
Areloch
7a3b40a86d
Initial Implementation of the Taml, Asset and Modules systems.
...
Only has example and shape assets currently.
2015-10-13 15:19:36 -05:00
Azaezel
7df625ea14
Adds data to vector out of bounds reports
...
Like say, if it's crashing out due to being passed a -1, or adding past the end.
2015-08-12 16:17:08 -05:00
Azaezel
4d3db61e94
credit to @MusicMonkey5555 for spotting. asserts for Div/NULLs with mutli-element classes
...
Also includes his magnitude and normalize safe alts
2015-08-12 03:41:49 -05:00
Areloch
527c3790d6
Issue found with PVS-Studio:
...
Many instances where we would create a object via a new call, and then check that it was non-null.
This is redundant, as if we ever were in a situation where new failed, we'd be crashing left and right already, so the additional check is wasted processing.
2015-07-21 23:22:21 -05:00
Daniel Buckmaster
c2e5dc3345
Merge remote-tracking branch 'bpay/clang-cl-build-fixes' into development
...
Conflicts:
Engine/source/T3D/shapeBase.h
2015-07-17 16:55:12 +10:00
Daniel Buckmaster
a49c9abf41
Merge pull request #1258 from bpay/fix-bad-assert
...
Remove badly behaved assert
2015-07-12 16:11:48 +10:00
Raul Ferriz
5ef130d581
Fixed some random Worder warnings
2015-07-03 15:52:38 +02:00
Raul Ferriz
a5d34271f2
Fixed some minor compiler warnings on Linux
2015-06-28 22:29:23 +02:00
Lopuska
03109c9d6d
Color Picker
2015-06-24 20:36:30 -05:00
RichardRanft
6c9cff4c68
Update str.cpp
...
Fixed copy/paste error - now actually checks the parameter passed in....
2015-05-31 20:42:05 -07:00
RichardRanft
38413be513
Update str.cpp
...
Effectively copied dStrIsEmtpy() into String::isEmpty().
2015-05-24 22:43:27 -07:00
RichardRanft
3ddd9b8a4c
Add static String::isEmpty(const char*) method and use it to verify path for Forest::saveDataFile() is not empty.
2015-05-06 15:39:02 -07:00
Azaezel
6201e48501
crash out on net stream leaks.
...
causes a fatal assertion when bitstream is passed an int value it cannot transmit given the provided bit length, and reports what the value and count were, respectively
2015-04-26 20:25:40 -05:00
Ben Payne
fbcc79dcd0
Don't call strlen on data that might not be null-terminated
2015-03-17 11:31:18 -04:00