Commit Graph
52 Commits
Author SHA1 Message Date
Marc Zinnschlag e4f75267d0 in case of arguments not separated with comma the fist token of the next argument was put back incorrectly 2014-12-13 15:40:24 +01:00
Marc Zinnschlag 19f4c46fe4 alllow (and ignore) explicit references for StopScript and ScriptRunning 2014-07-23 12:33:35 +02:00
Marc Zinnschlag aa8c0bccb4 added new argument type: z (optional, any) 2014-07-23 09:44:29 +02:00
Marc Zinnschlag 11a2c767cc some argument parsing cleanup 2014-07-21 12:50:29 +02:00
Marc Zinnschlag 35b27ea8cb ignore stray string argument after GetDisabled 2014-07-17 11:29:04 +02:00
scrawl 750d8b5589 Allow garbage integer argument for addSpell (Fixes #1539) 2014-06-23 22:02:22 +02:00
cc9cii bbe77d656a Minor fixes from static analysis. 2014-05-28 21:15:50 +10:00
Marc Zinnschlag 12fc0aaecb removed an unused parser settings (implicitly fixing a case were this setting was not applied correctly) 2014-05-27 21:08:29 +02:00
Marc Zinnschlag 0d84adb2c6 allow x->(y) instead of (x->y) 2014-02-15 12:50:40 +01:00
Marc Zinnschlag d213c6c36a fixed a constness-issue 2014-02-14 12:23:00 +01:00
Marc Zinnschlag 2086ebe410 fix for inappropriate disable (2nd attempt) 2014-02-14 08:48:26 +01:00
Marc Zinnschlag b01c6dad37 Revert "allow disable as an alias for getDisabled (in most cases)"
This reverts commit f7ff4fbd51.
2014-02-14 08:29:18 +01:00
Marc Zinnschlag f7ff4fbd51 allow disable as an alias for getDisabled (in most cases) 2014-02-13 15:31:07 +01:00
Marc Zinnschlag 309573a3ac allow the use of the keyword end as a variable name in an expression 2014-02-13 14:15:48 +01:00
Marc Zinnschlag a85d3c7dcb ignore unused explicit references for functions 2014-02-12 13:53:59 +01:00
Marc Zinnschlag 93d4743012 interpret instruction keywords as names within expressions 2014-02-12 09:56:25 +01:00
Marc Zinnschlag 61626e90da allow additional string argument for stopcombat and addspell (ignored) 2014-02-12 08:53:37 +01:00
Marc Zinnschlag 3b990795c4 added access to remote access of local variables of global scripts 2014-02-10 14:45:55 +01:00
Marc Zinnschlag 914ab1b8ab allow 'x' instead of 'getjournalindex x' 2014-02-02 15:08:27 +01:00
Marc Zinnschlag 46bde604f9 Issue #601: unary minus was interpreted as binary minus when used in an argument list without comma 2013-03-17 17:13:25 +01:00
eduard 2dc0064cc2 more string lowercase 2013-01-09 20:51:52 +01:00
Marc Zinnschlag 50d81e99fb possible fix for script execution bug 2012-06-19 14:55:22 +02:00
Marc Zinnschlag 6c5b21fa42 Issue #181: Member variable access in expressions; error reporting fix for the previous commit 2012-06-16 13:06:23 +02:00
Marc Zinnschlag 187b8e58d6 fixed handling of optional instruction/function arguments; removed choice workaround 2012-03-17 19:32:44 +01:00
Marc Zinnschlag c18e83d7c0 extended scripting extensions to code segment 3 (instructions and functions with optional arguments) 2010-08-22 14:00:30 +02:00
Marc Zinnschlag f4e79a48f0 implemented optional arguments 2010-08-22 12:47:56 +02:00
Marc Zinnschlag 0f742ce7f9 even better error checking for extensions with explicit references 2010-07-10 12:31:00 +02:00
Marc Zinnschlag 71c710f9f6 enhanced compiler extenion system to support new instructions and functions with explicit references 2010-07-09 22:01:24 +02:00
Marc Zinnschlag 69e607e140 implemented getdistance with explicit references 2010-07-09 20:55:39 +02:00
Marc Zinnschlag c37b007be0 added verification for explicit references (check if the given ID exists) 2010-07-09 20:35:34 +02:00
Marc Zinnschlag d4ac3b506e implemented enable, disable and getdisabled with explicit references 2010-07-09 19:32:17 +02:00
Marc Zinnschlag 592fa84e2d added Enable, Disable, GetDisabled 2010-07-09 16:07:03 +02:00
Marc Zinnschlag 9d73718ec1 added GetSecondsPassed 2010-07-06 12:06:50 +02:00
Marc Zinnschlag 34b824cb70 implemented GetDistance function 2010-07-05 12:30:45 +02:00
Marc Zinnschlag a61b2c39f0 added scriptrunning/startscript/stopscript; sorted out more case problems 2010-07-04 16:00:32 +02:00
Marc Zinnschlag 185f8bd56d added random function; global variable fix 2010-07-04 13:59:29 +02:00
Marc Zinnschlag f9c1548f80 added menumode script function; added global variable handling in compiler and interpreter (openmw context still ignores global variables) 2010-07-04 12:29:28 +02:00
Marc Zinnschlag 32eafaa301 added custom function handling (compiler) 2010-07-03 10:43:55 +02:00
athile 5825af45c3 Visual Studio 2010 compile fixes 2010-07-01 23:52:20 -07:00
Marc Zinnschlag 804aed6298 added basic message box formatting 2010-07-01 16:40:03 +02:00
Marc Zinnschlag aeb41105c4 added comparison operators 2010-07-01 12:19:52 +02:00
Marc Zinnschlag 1674d406dc made usage of comma as argument separator optional (largely untested, because we don't have anything that takes more than one argument) 2010-07-01 11:07:21 +02:00
Marc Zinnschlag 73f9436ed9 fixed round brackets parsing bug 2010-06-30 14:08:59 +02:00
Marc Zinnschlag ed92ffcf89 added local variable usage in expressions 2010-06-30 12:46:10 +02:00
Marc Zinnschlag 8bb2a6039d modified comma handling to be morse consistent with original script language 2010-06-30 11:03:08 +02:00
Marc Zinnschlag 5fb4abae4f added function parsing (only one function so far) 2010-06-29 17:51:02 +02:00
Marc Zinnschlag c8c5ef5467 added bracket parsing 2010-06-29 16:24:54 +02:00
Marc Zinnschlag 48f6ad0f89 added basic arithmetic 2010-06-29 16:11:19 +02:00
Marc Zinnschlag ca8002e533 added parsing for signed integers and floats 2010-06-29 12:05:22 +02:00
Marc Zinnschlag ab33234027 prepared expression parser for implementation of more complex expressions 2010-06-29 11:24:07 +02:00