Robert MacGregor
cc45f9e9a4
* BugFix: Fix a Windows ASAN reported allocation mismatch error.
2021-12-13 00:04:24 -05:00
Robert MacGregor
1b6b803a20
* BugFix: Clear a lot of warnings and correct a few actual programming errors along the way.
2021-10-04 20:04:21 -04:00
Jeff Hutchinson
5e81c021f5
start cleaning up ConsoleValueRef's
2021-03-30 23:58:07 -04:00
Lukas Aldershaab
099dd4f1f3
Parametrize script extension, default to 'tscript'
2021-01-19 21:32:31 +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
Areloch
8956559bfd
Various misc. tweaks and fixes based on static code analysis to minimize/fix memleaks, crashes, or other performance impacting code.
2020-09-19 18:25:10 -05:00
AzaezelX
87603029db
uninitialized variables-sim
2020-05-11 15:26:52 -05:00
Areloch
6cf0c9e360
Merge branch 'development' into EngineAPI-Refactor
2018-12-09 14:48:50 -06:00
Lukas Joergensen
7d91d0a577
Eliminate ConsoleFunction and ConsoleMethod, replace with DefineEngineStringlyVariadic
2018-04-20 22:09:58 +02:00
Lukas Joergensen
e718841467
Eliminate DefineConsoleFunction
2018-04-17 20:54:08 +02: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
789979d58a
duplicated ghostinfo itterator
2018-03-14 15:10:43 -05:00
Azaezel
386efa0602
netObject classvar cleanups
2018-03-13 21:27:31 -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
d9a723d533
More cats and cpys in files that xcode doesn't see
2018-03-07 01:13:56 -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
Areloch
6497ea5c76
Merge branch 'development' into issue_2115
2018-02-14 01:43:34 -06:00
Areloch
0caf4691d9
Merge pull request #2157 from Areloch/NetworkedFields
...
Adds a new function for defining network-aware console fields on NetObjects
2018-02-14 00:59:25 -06:00
Areloch
7e00785b6e
Merge branch 'development' into NetworkedFields
2018-02-14 00:11:32 -06:00
Areloch
81a7fabe3c
Implements hold and context keybind functionality, enabling the ability to have actionmap binds for holding down a button(complete with hold time return if needed) and context binds for being able to have different events for tapping and holding on the same key.
2018-02-12 21:36:19 -06:00
Bloodknight
20eefee3cd
Merge branch 'development' into issue_2115
2018-02-05 15:59:33 +00:00
Areloch
3b0b3c1f56
Merge pull request #2094 from Areloch/ClearScopeAlwaysConsoleFunc
...
Adds a engine method to clear the scopeAlways flag on netObjects
2018-01-27 18:42:05 -06:00
Marc Chapman
0c65f9ee8e
Phase 1: Add a #define test
2018-01-23 20:24:35 +00:00
Areloch
402ce9b251
Adds a new function for defining static console fields on NetObjects - addNetworkedField()
...
This lets you attach a 32 bit netMask to the field, so that when it is changed, it automatically flags the associated bitmasks on the netobject as dirty.
This is to shortcut having to flag certain masks being marked as dirty through protected fields and just simplify/streamline the code.
2018-01-16 00:47:53 -06:00
Areloch
1ef75b411c
Merge pull request #2133 from lukaspj/console-function-errors
...
Fix minor errors in console function definitions
2018-01-10 13:52:33 -06:00
Lukas Joergensen
86a0ba44d3
Cleanup of the elements exposed to the console
2017-12-10 19:02:20 +01:00
Lukas Joergensen
2bd43efcb9
Fix minor errors in console function definitions
2017-12-08 21:08:35 +01:00
Areloch
57253daeef
Adds a engine method to clear the scopeAlways flag on netObjects
2017-10-15 03:59:13 -05:00
Marc Chapman
5a1405d4bb
packet-size-checking -- Methods for querying packet-size settings. Used for detecting when spells or effects overrun the packet buffer from networked dynamic field usage.
...
scope-tracking -- changes related to the tracking of AFX constraint objects as they move in and out of scope.
2017-07-27 00:09:36 +01:00
Thomas "elfprince13" Dickerson
1c2b096a72
Whitespace consistency
2017-01-06 23:10:14 -05:00
Thomas "elfprince13" Dickerson
88106f9032
Fixed type inference for nulls in console functions
2017-01-06 17:18:37 -05:00
James Urquhart
704577e051
Preliminary IPV6 Support
2016-10-25 19:09:02 +01: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
James Urquhart
da6bcbeb2b
Improvements to openvr code
...
- Overlays are implemented (sans input for the moment)
- Fixed a problem where the movemanager was using the wrong values for hmd rotation & position
2016-09-11 22:42:42 +01:00
Areloch
de0fe06bc8
Makes netObjects inherit off simGroup as opposed to simObject so that just about any object can function as a parent with children.
2016-04-30 23:34:54 -05:00
Anis A. Hireche
10cb6ab9c4
Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1153
2016-02-26 14:39:38 +01: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
Areloch
859e653bd7
Redux of Winterleaf's PR 1001, with the suggested updated values.
2015-07-28 00:53:58 -05:00
Daniel Buckmaster
84e8cbb4ee
Revert recent style cleanup changes.
2015-03-04 11:58:36 +11:00
Daniel Buckmaster
33fcc59543
Merge remote-tracking branch 'origin/style-cleanup' into development
...
Conflicts:
Engine/source/T3D/tsStatic.cpp
Engine/source/console/compiledEval.cpp
Engine/source/ts/tsMesh.cpp
Engine/source/ts/tsShape.cpp
2015-03-01 22:30:22 +11:00
Daniel Buckmaster
6c92ab065e
Merge remote-tracking branch 'jamesu/console_stack_fix2' into development
...
Conflicts:
Engine/source/console/console.cpp
2015-03-01 20:33:29 +11:00
Ben Payne
0ffd7f5620
Fix member vars left uninitialized in constructors
2015-02-20 18:41:51 -05:00
James Urquhart
f44a3f27d6
Fix stack balancing problems by refactoring execution calls
...
- Con::executef now uses a template
- All public execution functions now restore the console stack upon return
- Fixed bad parameters on some callbacks
- Reverts get*Arg behavior
2015-02-08 00:08:18 +00:00
Ben Payne
c19a70814c
Tidy up and fix the various Assert macros
...
Rephrase the macros so that they can be used in expressions, and
properly require semicolons. And add the semicolons where missing.
2015-02-02 18:37:48 -05:00
Luis Anton Rebollo
6492028bb2
Merge pull request #1035 from bpay/memfixes
...
Memfixes
2015-01-25 13:42:32 +01:00
Luis Anton Rebollo
94f5e6d9dc
Merge pull request #1080 from eightyeight/netevent-reference-counting
...
Use a strong reference instead of more manual reference counting
2015-01-24 23:03:33 +01:00
Daniel Buckmaster
cd42424d61
Use a strong reference instead of more manual reference counting.
2014-12-26 11:41:19 +11:00
Daniel Buckmaster
3ab048c5b0
Fixes after feedback from Luis.
...
* Made use of dStrIsEmpty in more locations (and fixed it :P)
* Removed commented-out code
* Corrected default params
* Fixed some console warning formats
* Removed tabs
* Corrected setExtent API
2014-12-23 18:48:02 +11:00
Daniel Buckmaster
33ff180593
Merge branch 'development' into style-cleanup
...
Conflicts:
Engine/source/console/astNodes.cpp
Engine/source/console/codeBlock.cpp
Engine/source/console/compiledEval.cpp
Engine/source/ts/collada/colladaAppMesh.cpp
Engine/source/ts/tsShape.cpp
Engine/source/ts/tsShapeConstruct.cpp
2014-12-15 12:15:55 +11:00