Commit Graph

76 Commits (b7886bc03653a28162639855e84846df5db1d3c5)

Author SHA1 Message Date
unknown 71e78c66cd Re-add missing includes removed in 5a824d0333 4 years ago
Bret Curtis 5a824d0333 components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 4 years ago
Evil Eye 3875b837bc make MenuMode, Random, GetSecondsPassed regular functions 5 years ago
Evil Eye f0e2ee45fa reuse ImplicitRef and ExplicitRef for enable, disable, getdisabled, startscript; move scriptrunning and stopscript 5 years ago
Andrei Kortunov 34873b6065 Fix dead code 5 years ago
Roman Siromakha 4e5aec5c30
Merge pull request #2539 from Capostrophic/scripting
Try to parse strings as number literals (bug #5097)
5 years ago
Capostrophic bde4a38181 Cast Random result to float (bug #5175) 5 years ago
Capostrophic 138a7ac434 Expression parser: Try to parse strings as number literals (bug #5097) 5 years ago
Capostrophic 17dce28705 Improve compiler messages 6 years ago
Capostrophic 9bc360267b Ignore stray explicit references for names in expressions 6 years ago
Capostrophic 95aa05e41b Tweaks to script parser messages and pathgrid warnings 6 years ago
MiroslavR 395e97cf40 Remove evil "implicit GetJournalIndex" hack from expression parser 8 years ago
Marc Zinnschlag ece40b1e96 improved the remaining handling of extra arguments 9 years ago
Marc Zinnschlag 46e32de350 improved handling of extra arguments in DiscardParser 9 years ago
Marc Zinnschlag f9607a47b3 improved handling of extra arguments in StringParser 9 years ago
Marc Zinnschlag 210c77968a Don't report warning about extra arguments, if there are no extra arguments (Fixes #3133) 9 years ago
scrawl e695619aa5 ExprParser: Warn about ignored arguments 9 years ago
Marc Zinnschlag ae54f34f25 removed a redundant else and made unary + work also in the console 9 years ago
Emmanuel Anne dace7ab706 scripts: recognize '+' also as a unary operator
it fixes the armor sorter in "Blades safe house.esp"
9 years ago
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
Marc Zinnschlag cbf9f83b85 allow use of IDs as function arguments, even if the ID matches a keyword (Fixes #2830) 10 years ago
dteviot 1d7f3474fa Fixed more MSVC 2013 warnings. 10 years ago
Marc Zinnschlag 057d0913d6 Merge branch 'scriptfixes' 10 years ago
Marc Zinnschlag b951251572 handle junk in argument lists (Fixes #2206) 10 years ago
Marc Zinnschlag e4f75267d0 in case of arguments not separated with comma the fist token of the next argument was put back incorrectly 10 years ago
Marc Zinnschlag 19f4c46fe4 alllow (and ignore) explicit references for StopScript and ScriptRunning 11 years ago
Marc Zinnschlag aa8c0bccb4 added new argument type: z (optional, any) 11 years ago
Marc Zinnschlag 11a2c767cc some argument parsing cleanup 11 years ago
Marc Zinnschlag 35b27ea8cb ignore stray string argument after GetDisabled 11 years ago
scrawl 750d8b5589 Allow garbage integer argument for addSpell (Fixes #1539) 11 years ago
cc9cii bbe77d656a Minor fixes from static analysis. 11 years ago
Marc Zinnschlag 12fc0aaecb removed an unused parser settings (implicitly fixing a case were this setting was not applied correctly) 11 years ago
Marc Zinnschlag 0d84adb2c6 allow x->(y) instead of (x->y) 11 years ago
Marc Zinnschlag d213c6c36a fixed a constness-issue 11 years ago
Marc Zinnschlag 2086ebe410 fix for inappropriate disable (2nd attempt) 11 years ago
Marc Zinnschlag b01c6dad37 Revert "allow disable as an alias for getDisabled (in most cases)"
This reverts commit f7ff4fbd51.
11 years ago
Marc Zinnschlag f7ff4fbd51 allow disable as an alias for getDisabled (in most cases) 11 years ago
Marc Zinnschlag 309573a3ac allow the use of the keyword end as a variable name in an expression 11 years ago
Marc Zinnschlag a85d3c7dcb ignore unused explicit references for functions 11 years ago
Marc Zinnschlag 93d4743012 interpret instruction keywords as names within expressions 11 years ago
Marc Zinnschlag 61626e90da allow additional string argument for stopcombat and addspell (ignored) 11 years ago
Marc Zinnschlag 3b990795c4 added access to remote access of local variables of global scripts 11 years ago
Marc Zinnschlag 914ab1b8ab allow 'x' instead of 'getjournalindex x' 11 years ago
Marc Zinnschlag 46bde604f9 Issue #601: unary minus was interpreted as binary minus when used in an argument list without comma 12 years ago
eduard 2dc0064cc2 more string lowercase 12 years ago
Marc Zinnschlag 50d81e99fb possible fix for script execution bug 13 years ago
Marc Zinnschlag 6c5b21fa42 Issue #181: Member variable access in expressions; error reporting fix for the previous commit 13 years ago
Marc Zinnschlag 187b8e58d6 fixed handling of optional instruction/function arguments; removed choice workaround 13 years ago
Marc Zinnschlag c18e83d7c0 extended scripting extensions to code segment 3 (instructions and functions with optional arguments) 15 years ago
Marc Zinnschlag f4e79a48f0 implemented optional arguments 15 years ago