Marc Chapman
0b84fccdd2
substitutions -- Implementation of special substitution statements on datablock fields.
2017-07-26 20:18:27 +01:00
Thomas "elfprince13" Dickerson
45ae5e71cb
fixed lots of tabs and space
2017-01-06 18:04:28 -05:00
Areloch
810ac82eae
Adds a missed cleanup for currentNewObj.
2016-06-20 12:34:07 -05:00
Areloch
3cfc6f787c
Adds some pointer cleanup in the event we bail out of creating a new object for whatever reason.
2016-06-11 02:06:24 -05:00
Areloch
86dd8a8cf7
Adds a onPostAdd callback to simObject so we can do handling AFTER the object and it's children have been added successfully.
2016-04-30 23:32:10 -05: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
3c1c88d96b
TORQUE_VALIDATE_STACK define for console stack debugging
2015-07-29 04:46:36 -05:00
Azaezel
555610f69f
Addresses roughly half of the C4189 errors though the following methodologies:
...
1) truly unused vars removed
2) vars leading to remmed out code for debugging remmed in turn.
left out:
vars in macros.
2015-07-29 03:03:27 -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
James Urquhart
942c7a48f4
Fix corruption issue with string iterator was using an absolute pointer. Also adds a special relative pointer type for constructed strings on the stack.
2015-02-16 21:23:42 +00: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
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
James Urquhart
82fd1794e6
Fix issue where console stack values were getting overwritten inside a C++ function
2014-12-10 00:42:06 +00:00
Azaezel
4ea051a939
tabs
2014-11-20 14:38:17 -06:00
Azaezel
1c4cc888f8
fix for issue #953 , courtesy of @jamesu. trace buffer was truncating values.
2014-11-20 14:20:54 -06:00
Azaezel
3039f4399d
eval(methodWithReturnValue) wasn't passing along it's return value though the stringstack.fix courtessy of @jamesu
2014-11-20 14:17:59 -06:00
Daniel Buckmaster
4c07c55121
Merge branch 'development' into console-func-refactor
...
Conflicts:
Engine/source/console/compiledEval.cpp
2014-10-20 09:29:44 +11:00
Daniel Buckmaster
376db9e097
Merge pull request #705 from andr3wmac/ConsoleReturnFix
...
Fix for unexpected behavior described in issue #704
2014-10-19 19:45:15 +11:00
Daniel Buckmaster
b507dc9555
Merge branch 'master' into console-func-refactor
...
Conflicts:
Engine/source/app/net/net.cpp
Engine/source/console/astNodes.cpp
Engine/source/console/compiledEval.cpp
Engine/source/console/console.h
Engine/source/console/consoleInternal.h
Engine/source/console/engineAPI.h
2014-10-14 15:09:11 +11:00
Daniel Buckmaster
6fdebd16f6
Merge remote-tracking branch 'jamesu/simplify_compiler_ast' into x64
...
Conflicts:
Engine/source/console/compiler.cpp
Engine/source/console/compiler.h
2014-09-15 11:50:32 +10:00
James Urquhart
06b463399b
Function Call optimization is now optional
...
(Can cause a problem with package lookups)
2014-09-07 22:49:45 +01:00
James Urquhart
1e44586606
Refactor TS compiler to not use the precompile step & also 64bit support
...
- Reduces headaches
- Expands STE entry size to allow for 64bit values
- Bonus: Adds in function lookup optimization from T2D
2014-09-07 21:43:56 +01:00
Andrew Mac
b661abaf83
Fix for unexpected behavior described in issue #704
2014-06-23 14:58:06 -03:00
bank
cf3eb26e6f
Rename all member variables to follow the style guidelines (prefixed with the 'm') - class CodeBlock
2014-05-12 17:52:19 +04:00
cpusci
79c9a21e32
Just making sure the error output is consistent with the other errors.
2013-08-05 06:20:44 -05:00
cpusci
21ff1e26bb
If you name a torque script object the same name as a Torque script class, you will get heap corruption with no warning at all. Changed original fix to cause a script error and reject object creation, instead of just renaming the object and moving along.
2013-08-04 08:50:56 -05:00
jamesu
08d4f6ebc0
Improvements to console refactor code
...
- Prevent stack corruption in a few places
- Use correct type in printfs
- Reduce type conversions in EngineApi & dAto*
- Fix compilation on GCC
- Tidy up code
2012-10-12 19:12:06 +01:00
James Urquhart
e99eadd61f
Optimize variable-to-variable assignment
2012-10-12 18:57:28 +01:00
James Urquhart
38c8e52c1d
Beginnings of the "pass everything using a native type wrapper" console code.
...
- ConsoleValue class is now the base value class.
- ConsoleValueRef is now used to supply function parameters. Values are disposable.
- Script functions return values instead of just strings where possible.
- Variables can be disposable strings
- Bytecode changed
Fix the issues with console method parameters and fields which prevented missions from loading.
2012-10-12 18:56:17 +01:00
DavidWyand-GG
7dbfe6994d
Engine directory for ticket #1
2012-09-19 11:15:01 -04:00