Commit graph

451 commits

Author SHA1 Message Date
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
OTHGMars
0ece989560 Updates SimXMLDocument, fsTiXmlDocument, Taml and TamlXmlParser for reading from zip. 2021-01-11 04:57:10 -05:00
OTHGMars
8765d3a46e Con::isBasePath() performs the same path expansion on both input paths. 2021-01-11 04:54:41 -05: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
Tony
afa8124301 Added date/time stamps option to console log 2020-10-24 05:41:18 -04:00
Areloch
6a3603c737 Overhauls the handling of probes to utilize an active probe list to improve performance and allow a greater total number of active probes in a scene.
Also fixes handling of metal materials during bakes to render properly, and fixes a possible double-up return in findObjectByType, which could cause doubling when getting probes in the scene
2020-10-19 00:53:09 -05:00
AzaezelX
eaf814f2e3 EngineExportScope(){} *can't* be initialized by default, aparantly 2020-10-05 13:44:08 -05:00
Brian Roberts
d50f1f0b81
Merge pull request #342 from lukaspj/fix/replace-dstrcmp
Replace uses of dStrCmp with new String::compare
2020-10-03 17:01:12 -05:00
Lukas Aldershaab
197a62f6ea Convert dStrcmp to String::compare for more cases 2020-10-04 00:00:01 +02:00