Jeff Hutchinson
464cb7ae29
Better error messages when compiling script.
2021-06-19 13:48:32 -04:00
Jeff Hutchinson
085af8e762
fix %obj.field op assign.
2021-06-19 12:28:32 -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
8fc0db21c1
Small fixes for the script interpreter.
2021-06-18 18:52:41 -04:00
bank
5d1c29f54b
Fix return value conversion when using SimObject::call() method from scripts.
2021-06-15 19:03:43 +03:00
Jeff Hutchinson
e981fd2cc3
Add support for aarch64 / apple silicon
2021-05-10 15:55:56 -04:00
Jeff Hutchinson
6f7fdca87d
lotsa fixes.
2021-05-04 21:18:15 -04:00
Jeff Hutchinson
db047275f1
add fast int to object lookup.
2021-05-01 02:55:24 -04:00
Jeff Hutchinson
ab4c0f0361
Add fast math optimization
2021-05-01 02:07:54 -04:00
Jeff Hutchinson
55b0ecb487
optimizations
2021-04-30 01:20:01 -04:00
Jeff Hutchinson
dcd01e1231
move parameters instead of copying.
2021-04-30 00:24:03 -04:00
Jeff Hutchinson
964fde8f09
Goodbye String Stack!
2021-04-29 23:11:49 -04:00
Jeff Hutchinson
f056e181b7
remove unused code.
2021-04-20 19:55:35 -04:00
Jeff Hutchinson
bb12638ea5
Added error checking for using a local variable in global scope, and added optimization to method object parameter.
2021-04-17 14:31:27 -04:00
Jeff Hutchinson
bfc0109485
fixes and some minor bc adjustment.
2021-04-16 23:21:39 -04:00
Jeff Hutchinson
bc0f5bd3a3
combine numeric stacks into one common stack.
2021-04-16 19:20:15 -04:00
Jeff Hutchinson
ef34210fef
Implement Unit Test Suite for TorqueScript.
2021-04-12 21:43:57 -04:00
Jeff Hutchinson
a2dea07d8b
fixed internal types.
2021-04-12 21:42:18 -04:00
Jeff Hutchinson
93500b6ac4
more changes.
2021-04-12 21:26:26 -04:00
Jeff Hutchinson
960db74733
small fix.
2021-04-10 15:52:53 -04:00
Jeff Hutchinson
4e678292e1
fix foreach/foreach$ loops.
2021-04-04 00:50:37 -04:00
Jeff Hutchinson
3e04196a53
make tests pass.
2021-04-03 01:53:40 -04:00
Jeff Hutchinson
f776e73b04
cleanup
2021-04-02 00:57:49 -04:00
Jeff Hutchinson
02447f0996
compile fixes.
2021-03-31 22:12:58 -04:00
Jeff Hutchinson
50df52ecfc
more console refactor.
2021-03-31 21:09:23 -04:00
Jeff Hutchinson
5e81c021f5
start cleaning up ConsoleValueRef's
2021-03-30 23:58:07 -04:00
Jeff Hutchinson
35500a87c6
initial port of the new interpreter
2021-03-30 19:33:19 -04:00
Jeff Hutchinson
5d2654b1ba
Implement Unit Test Suite for TorqueScript.
2021-03-23 21:35:25 -04:00
Lukas Aldershaab
9ccaa6d3ea
Improve handling of non-default script filenames
2021-01-19 21:32:31 +01:00
Lukas Aldershaab
099dd4f1f3
Parametrize script extension, default to 'tscript'
2021-01-19 21:32:31 +01:00
rextimmy
5a933c00d3
Removed old fixed function code from GFX.
2021-01-05 12:57:17 +10:00
Lukas Aldershaab
9c4191702c
Properly specify type of console types with a different native type
2020-11-15 21:32:29 +01:00
Lukas Aldershaab
763c205451
Add type of Children in SimGroup and GuiControl
2020-11-15 21:32:29 +01:00
Lukas Aldershaab
55f459cf2d
Add missing call to CInterface::IsMethod
2020-11-15 21:32:29 +01:00
Lukas Aldershaab
f4c8e2683e
Improve type detection of EngineAPI types
2020-11-15 21:32:29 +01:00
Lukas Aldershaab
a7f3724dd1
Handle MatrixF default values
2020-11-15 21:32:29 +01:00
Lukas
90d460d9a4
Remove object and function namespace from argument list
2020-11-15 21:30:45 +01:00
Lukas
e69c4f0f6a
Remove typename from ArgumentToValue specifier in MethodTrampoline
2020-11-15 21:30:45 +01:00
Lukas
42ca155301
Fix non-mvc compilation in EngineDefaultArguments
2020-11-15 21:30:45 +01:00
Lukas
bcb75e21ac
Remove typename from ArgumentToValue specifier
2020-11-15 21:30:45 +01:00
Lukas Joergensen
c9609fbdbf
CInterface integration in CodeInterpreter null ptr fix
...
mNSEntry can be null if there is no TorqueScript defintion, but there could still be a result from an externally defined source.
´
Furthermore fixes an issue where StringStackConsoleWrapper would die before the value was read.
2020-11-15 21:30:45 +01:00
Lukas Joergensen
d567bc9735
Improve Engine API export, robust Default Value logic and allow _ in arg
2020-11-15 21:30:45 +01:00
Lukas Joergensen
e95a5bf139
Expose SimPersistID to EngineAPI
2020-11-15 21:30:45 +01:00
Lukas Joergensen
fe09d6e125
ModuleSystem: Lookup CInterface methods when calling module create func
2020-11-15 21:30:45 +01:00
Lukas Joergensen
68b6884665
EngineAPI: Expose strings as UTF8 instead of UTF16
2020-11-15 21:30:45 +01:00
Lukas Joergensen
0b5fd8db6e
Engine API: Pass structs by reference
2020-11-15 21:30:45 +01:00
Lukas Joergensen
6a9c09f145
Update EngineAPI, use fixed_tuple as main underlying data structure
...
This also fixes a few issues related to type conversions before data is sent to the engine function.
Squash
2020-11-15 21:30:45 +01:00
Lukas Joergensen
a241d27b58
Expand EngineAPI type definitions
2020-11-15 21:30:45 +01:00
Tony
a5b31a3cef
Added space to append to timestamps if they're used
2020-10-24 20:39:27 -04:00
Tony
f7a0047391
Fixed date order to be YYYY/MM/DD
2020-10-24 20:34:03 -04:00