Areloch
3a71c75596
Merge branch 'development' into EngineAPI-Refactor
2018-12-09 14:48:50 -06:00
Areloch
d6784957f4
Merge pull request #2267 from calvinbalke13/feature-netcode-fix
...
Network Code Fixes
2018-10-12 00:39:26 -05:00
OTHGMars
e9216f5666
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
24071f06e2
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
59130078e2
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
00758d380f
Eliminate unnecessary uses of ConsoleFunction
2018-04-17 21:41:29 +02:00
Lukas Joergensen
3c99ef73a9
Eliminate DefineConsoleMethod
2018-04-17 21:01:50 +02:00
Lukas Joergensen
5bde18143f
Eliminate DefineConsoleFunction
2018-04-17 20:54:08 +02:00
Areloch
037d089c4d
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
28e509af1a
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
db7fad712e
bitstream shadowvar cleanup
2018-03-16 20:04:43 -05:00
Azaezel
87207e0a97
simobject, dictionary, stringtable, and taml clarificationsand cleanups
2018-03-13 17:30:33 -05:00
Azaezel
10937d0a4d
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
4a5c36352c
remove inside a remove after a remove... yeah.... No.
2018-03-13 02:12:59 -05:00
Azaezel
95b46c107a
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
6b024b21bf
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
7fc60fbf59
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
cd79088939
Let dStrncat use strncat because it's probably set up for that
2018-03-07 03:58:28 -05:00
Glenn Smith
963333c583
More cats and cpys in files that xcode doesn't see
2018-03-07 01:13:56 -05:00
Glenn Smith
a94e0c6d81
Cleaning up the checks
2018-03-06 02:37:42 -05:00
Glenn Smith
a94587af43
Use strncpy instead of strcpy because again, buffer overflows
2018-03-06 02:35:33 -05:00
Glenn Smith
1728fe39ad
Use strncat instead of strcat to prevent some buffer overflows
2018-03-06 00:48:44 -05:00
Azaezel
491a7dcfdd
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
35d649b57e
Merge pull request #2056 from Bloodknight/afx_merge_main
...
Afx merge main
2017-10-11 08:47:47 -05:00
rextimmy
3cb5f6ca21
ColorI::fromLinear fix
2017-08-13 19:39:44 +10:00
Marc Chapman
d28a416914
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
0801a3cca8
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
172391e1d3
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
32c5ada995
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
0637f39928
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
19dcfde60f
Merge pull request #1984 from FooBarbarians/fix-1912
...
Reordering initialization methods #1912
2017-04-26 01:11:51 -05:00
DTFuchs
3121f30743
Update str.cpp
2017-04-23 18:49:08 -04:00
Masquara
970dd5c477
Reordering initialization methods #1912
2017-04-19 14:02:45 -04:00
Areloch
c443e7a4ae
Merge branch 'development' into Xenon_Removal
2017-04-18 20:47:43 -05:00
klaus95
5378abfc55
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
26fd24fbab
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
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