Marc Zinnschlag
|
06efd72a89
|
allow keywords as strings in messagebox instruction (Fixes #2991)
|
9 years ago |
Marc Zinnschlag
|
ae54f34f25
|
removed a redundant else and made unary + work also in the console
|
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 |
Rohit Nirmal
|
396fba7fa9
|
Silence -Wreorder warnings, and remove -Wno-reorder.
|
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
|
ed5387fb8c
|
replaced stay [ ignoring implementation with one that does not interfere with other workarounds (Fixes #2205)
|
10 years ago |
scrawl
|
7252cb63a6
|
Fix cppcheck issues
|
10 years ago |
slothlife
|
35ced14e45
|
Fix for MSVC warnings
|
10 years ago |
Marc Zinnschlag
|
14f32563e7
|
fixed script compiler code ordering issue
|
10 years ago |
scrawl
|
174153b2da
|
Revert "Fix member variable case problem"
This reverts commit f0354ea04c .
Fixes #759 (again)
Conflicts:
components/compiler/lineparser.cpp
|
11 years ago |
Marc Zinnschlag
|
736ab76f68
|
limit argument error workaround to PositionCell instruction (Fixes #1732)
|
11 years ago |
Marc Zinnschlag
|
2abc4e42c8
|
end parsing of line after parsing a declaration
|
11 years ago |
Marc Zinnschlag
|
6a745c014f
|
workaround for incorrect argument order for PositionCell instruction
|
11 years ago |
Marc Zinnschlag
|
19f4c46fe4
|
alllow (and ignore) explicit references for StopScript and ScriptRunning
|
11 years ago |
Marc Zinnschlag
|
e8322da663
|
added support for targeted scripts to script compiler
|
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 |
scrawl
|
452b522bc3
|
Fix typos
|
11 years ago |
Marc Zinnschlag
|
d213c6c36a
|
fixed a constness-issue
|
11 years ago |
Marc Zinnschlag
|
e76ef92669
|
also allow the use of keywords as remote local variables in set statements
|
11 years ago |
Marc Zinnschlag
|
749136bf33
|
ignore attempts to set non-existing variables
|
11 years ago |
Marc Zinnschlag
|
a85d3c7dcb
|
ignore unused explicit references for functions
|
11 years ago |
Marc Zinnschlag
|
6e2e4d1adf
|
ignore stray begin
|
11 years ago |
Marc Zinnschlag
|
c0a6acfe6c
|
allow the use of keywords as variable names in more places
|
11 years ago |
Marc Zinnschlag
|
bfb0e62c4a
|
ignore additional string argument after enable/disable
|
11 years ago |
Marc Zinnschlag
|
6a5d88b640
|
ignore stray else and endif in scripts
|
11 years ago |
Marc Zinnschlag
|
697bda6371
|
allow (and discard) explicit reference on instructions that do not accept explicit references
|
11 years ago |
Marc Zinnschlag
|
3b990795c4
|
added access to remote access of local variables of global scripts
|
11 years ago |
Marc Zinnschlag
|
3147aebf75
|
factored out declaration parser
|
11 years ago |
Marc Zinnschlag
|
2b2ac6f62b
|
allow declaration of local variables with keywords as names
|
11 years ago |
scrawl
|
7dc30a01cd
|
Some changes suggested by cppcheck
|
12 years ago |
scrawl
|
f0354ea04c
|
Fix member variable case problem
|
12 years ago |
Marc Zinnschlag
|
fe038cef03
|
turned redeclartion of local variables from an error into a warning
|
12 years ago |
eduard
|
2dc0064cc2
|
more string lowercase
|
12 years ago |
Marc Zinnschlag
|
fe85de5ea7
|
Issue #181: assignment to member variables
|
13 years ago |
Marc Zinnschlag
|
8b19de17b6
|
Iisue #181: enable member variable access from expressions in console
|
13 years ago |
Marc Zinnschlag
|
861dc6a16e
|
redirecting output of expression evalutation to new report channel
|
14 years ago |
Marc Zinnschlag
|
044bf0ab48
|
fixed parsing explicit references in the body of control structures
|
15 years ago |
Marc Zinnschlag
|
c18e83d7c0
|
extended scripting extensions to code segment 3 (instructions and functions with optional arguments)
|
15 years ago |
Marc Zinnschlag
|
276a9db6f7
|
added missing button implementation for MessageBox
|
15 years ago |
Marc Zinnschlag
|
cf7150e585
|
implemented naked expressions in lineparser (used in console; result is send through messagebox interface)
|
15 years ago |
Marc Zinnschlag
|
0f742ce7f9
|
even better error checking for extensions with explicit references
|
15 years ago |
Marc Zinnschlag
|
71c710f9f6
|
enhanced compiler extenion system to support new instructions and functions with explicit references
|
15 years ago |
Marc Zinnschlag
|
c37b007be0
|
added verification for explicit references (check if the given ID exists)
|
15 years ago |
Marc Zinnschlag
|
d4ac3b506e
|
implemented enable, disable and getdisabled with explicit references
|
15 years ago |
Marc Zinnschlag
|
592fa84e2d
|
added Enable, Disable, GetDisabled
|
15 years ago |
Marc Zinnschlag
|
b28a6fd7b8
|
modified parser to skip over button arguments in an messagebox instruction
|
15 years ago |
Marc Zinnschlag
|
a61b2c39f0
|
added scriptrunning/startscript/stopscript; sorted out more case problems
|
15 years ago |
Marc Zinnschlag
|
f9c1548f80
|
added menumode script function; added global variable handling in compiler and interpreter (openmw context still ignores global variables)
|
15 years ago |