Lukas Joergensen
a241d27b58
Expand EngineAPI type definitions
2020-11-15 21:30:45 +01:00
Lukas Aldershaab
c999baf7ed
Moves from using dStrCmp to the new String::compare static functions. Keeps things cleaner, consistent, and works with intellisense.
2020-10-03 14:37:55 +02:00
AzaezelX
81a4e47235
crashfix-string deconstructor
...
validate we aren't either empty or using the reserved empty string before we release the pointed to value (as a note, the latter at least shouldn't have been required, but might as well be paranoid about it)
2020-06-02 17:10:39 -05:00
AzaezelX
bfcc83638d
uninitialized variables-core-2
...
(cherry picked from commit 7c329699e4e4d13a164b2483e174b5f555ea9344)
2020-05-11 15:13:29 -05:00
AzaezelX
2c1508c169
uninitialized variables-console
2020-05-11 14:40:31 -05:00
Areloch
ab9fc302fc
Added D3D error code interpreter
...
Added sanity check for findMatch
Finished most of asset importer logic to utilize settings system
Cleaned up code for finding associated files
Added General importer settings category and integrated logic for those settings fields
Updated logic in variableGroup to support callbacks in custom fields
Updated logic in variableInspector to better handle callbacks, as well as being able to manually update when manipulating fields
Updated scripts to utilize project settings values for playGUI and mainMenuGUI names
Improved module-oriented loading of materials
Added util function for populating custom fonts
2019-08-12 01:04:17 -05:00
Areloch
e83ec69292
Merge branch 'PBR_ProbeArrayGLWIP' of https://github.com/Azaezel/Torque3D into development
2019-05-06 01:50:45 -05:00
Areloch
73cb9343d2
Tweaks to the rapidjson stuff so it all plays nice, as well as minor additions to Filestream so it works with the rapidjson stuff.
2019-04-21 04:19:38 -05:00
Azaezel
1eed979a9c
Merge branch 'method_Unmangle' into PBR_PR
2018-12-12 14:54:22 -06:00
Areloch
6cf0c9e360
Merge branch 'development' into EngineAPI-Refactor
2018-12-09 14:48:50 -06:00
Areloch
c5a2734db6
Merge pull request #2267 from calvinbalke13/feature-netcode-fix
...
Network Code Fixes
2018-10-12 00:39:26 -05:00
Areloch
57f8549abe
Shifted to the static-list arrangement for probe instance tracking to help performance as well as drastically streamline the data submission/material instance flow for probe rendering.
2018-10-07 17:32:23 -05:00
OTHGMars
e3793184b6
Improved BitStream writeQuat/readQuat methods.
...
Replaces the writeQuat/readQuat implementations with one that utilizes smallest three compression.
2018-10-06 03:29:15 -04:00
Calvin Balke
cf156f5056
Network Code Fixes
...
This should be backwards compatible with existing network code, however it fixes a bug.
2018-07-15 11:50:09 -07:00
Azaezel
13334b4d5c
Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
...
# Conflicts:
# Engine/source/sfx/sfxSystem.cpp
2018-04-23 10:08:14 -05:00
Lukas Joergensen
2bbc716db6
Eliminate unnecessary uses of ConsoleFunction
2018-04-17 21:41:29 +02:00
Lukas Joergensen
76908eae3c
Eliminate DefineConsoleMethod
2018-04-17 21:01:50 +02:00
Lukas Joergensen
e718841467
Eliminate DefineConsoleFunction
2018-04-17 20:54:08 +02:00
Areloch
bc1b506205
Merge pull request #2146 from Azaezel/specializationShenanigans
...
changes find, swap, for_each, and delete_pointer from global to t3d namespace
2018-04-17 03:02:03 -05:00
Azaezel
cbce2ee805
Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
...
# Conflicts:
# Engine/source/console/consoleFunctions.cpp
2018-03-28 15:42:34 -05:00
Azaezel
a0b1512857
bitstream shadowvar cleanup
2018-03-16 20:04:43 -05:00
Azaezel
f36826605f
simobject, dictionary, stringtable, and taml clarificationsand cleanups
2018-03-13 17:30:33 -05:00
Azaezel
064dfbc4f4
tsignal::order to ::mOrder. yet another potential conflict with a class member vs a method input
2018-03-13 14:22:51 -05:00
Azaezel
af0922e175
remove inside a remove after a remove... yeah.... No.
2018-03-13 02:12:59 -05:00
Azaezel
f59b92bf4e
winconsole many, many i vars. worldEditor path arguement, lockPtr doubleup. volume.cpp: uneccesary duplicated FileNode::Attributes attr; def
2018-03-12 19:10:55 -05:00
Glenn Smith
47d5b6ead7
As suggested, extract strlen calls from sizes into variables so it isn't called twice
2018-03-08 20:59:40 -05:00
Glenn Smith
a061923c1e
Better to use strlcat and strlcpy and move them to the cpp file. Provided an implementation for platforms that don't support them (macOS only currently)
2018-03-08 00:45:24 -05:00
Glenn Smith
a46cadc487
Let dStrncat use strncat because it's probably set up for that
2018-03-07 03:58:28 -05:00
Glenn Smith
d9a723d533
More cats and cpys in files that xcode doesn't see
2018-03-07 01:13:56 -05:00
Glenn Smith
396fe5b0ad
Cleaning up the checks
2018-03-06 02:37:42 -05:00
Glenn Smith
79c34c68db
Use strncpy instead of strcpy because again, buffer overflows
2018-03-06 02:35:33 -05:00
Glenn Smith
7769da9434
Use strncat instead of strcat to prevent some buffer overflows
2018-03-06 00:48:44 -05:00
Azaezel
01f0d5cfca
tAlgorythm fed namespace T3D for better library interoperability. resulted in the need to specify usage in... a few places.
2017-12-27 22:57:47 -06:00
Areloch
e023cf3a60
Merge pull request #2056 from Bloodknight/afx_merge_main
...
Afx merge main
2017-10-11 08:47:47 -05:00
rextimmy
1f477914aa
ColorI::fromLinear fix
2017-08-13 19:39:44 +10:00
Marc Chapman
fc449307f9
packet-overflow-checks -- Monitor packet sizes to avoid packet overflow, especially when dynamic variables are used for AFX effect parameterization.
2017-07-26 22:22:23 +01: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
Phillip Khandeliants
1b4f238a25
Fixed V610: Undefined behavior
...
In an arithmetic expression, all the variables whose values can be represented with type 'int' will be promoted to this type. Therefore, the result of the '~mask' expression is a negative number. By the C++ standard, shifting a negative number to the left leads to an undefined behavior.
2017-04-27 12:13:05 +03:00
Phillip Khandeliants
cf776cf8b0
Fixed V591: Non-void function should return a value
...
If there is needed to prevent the copying of the object, then there is no need to provide the definition of the copy constructor and the assignment operator, because the member functions and friendly functions can still call them. If the code is compiled by a compiler with support for the C++11 standard, you can delete them using the keyword 'delete'
2017-04-27 10:33:31 +03:00
Areloch
6fb33411e2
Merge pull request #1988 from DTFuchs/Redundant-Check-GetTrailingNumber
...
Better bug fix for #1738 (str.cpp)
2017-04-26 23:27:17 -05:00
Areloch
124ecb2fe0
Merge pull request #1984 from FooBarbarians/fix-1912
...
Reordering initialization methods #1912
2017-04-26 01:11:51 -05:00
DTFuchs
f79c688596
Update str.cpp
2017-04-23 18:49:08 -04:00
Masquara
15f67015d3
Reordering initialization methods #1912
2017-04-19 14:02:45 -04:00
Areloch
dba8b5b327
Merge branch 'development' into Xenon_Removal
2017-04-18 20:47:43 -05:00
klaus95
d6fd1a49ca
Fix for bug #1738
...
getTrailingNumber("string") and stripTrailingNumber("string") will now work for single letter cases. For example, getTrailingNumber() will return "11" if the input is "a11" or "t11", and stripTrailingNumber() will return "a" if the input is "a11".
2017-04-17 15:46:44 -07:00
Areloch
ed14b6fced
Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed.
2017-04-08 20:30:57 -05:00
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