AzaezelX
9e036f142b
fix warn reports for buffer oveeruns
...
also misc uninitialized vars
2023-04-26 22:29:32 -05:00
Jeff Hutchinson
2e03108856
Optionally allow to treat script assert as warning
...
This commit allows us to treat variable use before assign errors and local variables inside of the global scope as warnings instead of asserts. This will allow for easier porting of legacy scripts. It is highly recommended use this as an aid to port scripts, but can be used in production if needbe.
2021-11-17 18:01:35 -05:00
Jeff Hutchinson
2d50f52cf1
Allow local variables to be used in eval.
2021-09-20 21:00:33 -04:00
Jeff Hutchinson
478a04bea8
Fix DSOs and bump version!
2021-09-04 16:37:59 -04:00
Jeff Hutchinson
313c069ecb
Fix xyz again by reverting previous commit and fixing the local variables from not resetting the object states.
2021-09-03 23:27:39 -04:00
Jeff Hutchinson
8d75d60f91
Write out variable mapping table to DSO stream, and fix .dump()
2021-09-01 22:15:37 -04:00
Jeff Hutchinson
6ec40e86da
Fix bugs with certain properties (and .x .y .z accessors) and add tests.
2021-08-16 22:02:24 -04:00
Jeff Hutchinson
a449fadde2
hacks to make thedebugger work again.
2021-08-14 01:37:01 -04:00
Jeff Hutchinson
acde0c3f0b
Merge branch 'Preview4_0_DevHead' into tsneo
...
# Conflicts:
# Engine/source/console/consoleInternal.cpp
2021-06-18 21:13:49 -04:00
Jeff Hutchinson
e981fd2cc3
Add support for aarch64 / apple silicon
2021-05-10 15:55:56 -04:00
Jeff Hutchinson
964fde8f09
Goodbye String Stack!
2021-04-29 23:11:49 -04:00
Jeff Hutchinson
bfc0109485
fixes and some minor bc adjustment.
2021-04-16 23:21:39 -04:00
Jeff Hutchinson
4e678292e1
fix foreach/foreach$ loops.
2021-04-04 00:50:37 -04:00
Jeff Hutchinson
02447f0996
compile fixes.
2021-03-31 22:12:58 -04:00
Jeff Hutchinson
35500a87c6
initial port of the new interpreter
2021-03-30 19:33:19 -04:00
AzaezelX
2c1508c169
uninitialized variables-console
2020-05-11 14:40:31 -05:00
Areloch
5a1af9ccd7
Merge pull request #2236 from Azaezel/memberMess
...
cleans up all 'hides' warnings (at time of writing)
2018-05-30 20:36:43 -05:00
Glenn Smith
b486ab73bd
CodeBlock::getFunctionArgs used the wrong offsets
2018-03-30 02:28:04 -04:00
Azaezel
9b8c950701
console membervar cleanup
2018-03-16 20:05:47 -05:00
Jeff Hutchinson
abc01fd377
Fix Torque3D 64bit DSOs.
...
Fix from Torque2D for 64bit string table entries.
2018-02-03 00:32:22 -05:00
Areloch
d666322a1b
Merging
2017-11-05 22:33:32 -06:00
Thomas "elfprince13" Dickerson
27e2871b01
Replaced StringTable->insert("") with StringTable->EmptyString()
2017-01-11 23:36:04 -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
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
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
Daniel Buckmaster
170a4ea08f
Add anonymous functions before other statements.
2014-12-29 22:44:57 +11:00
Daniel Buckmaster
1204b81a78
Added anomymous functions as in Konrad Kiss's resource.
2014-12-29 21:49:52 +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
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
James Urquhart
e6ccc26a87
Remove debug instruction dump
2014-09-07 22:07:22 +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
Thomas Fischer
cd978039ac
Merge pull request #635 from just-bank/engine-fixes
...
Various engine fixes
2014-05-23 14:09:00 +02: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
bank
6d176cf8db
Rename local variable to prevent confusion with member variable.
2014-05-06 15:39:21 +04:00
cpusci
4c35fd37af
Simple pass over the codebase to standardize the platform types.
2013-08-04 16:26:01 -05:00
jamesu
8a15133a61
Add new instructions to the instruction dumper
2012-10-19 23:44:59 +01:00
DavidWyand-GG
7dbfe6994d
Engine directory for ticket #1
2012-09-19 11:15:01 -04:00