Capostrophic
166d757a19
Allow stray special characters before a begin statement
6 years ago
Andrei Kortunov
829faf7b2c
Improve toggleactorspaths console command
6 years ago
elsid
ff478aba6d
Use actor half extent for interior cells
6 years ago
elsid
dc09674362
Add command and settings option to enable actors paths render
6 years ago
elsid
70a369f70e
Add command to enable NavMesh render
...
togglenavmesh or tnm
6 years ago
Marc Zinnschlag
43880ca47b
Merged pull request #1919
6 years ago
Capostrophic
92259c6cca
Discard count arguments for AddSoulGem and RemoveSpell (bug #3762 )
6 years ago
Andrei Kortunov
01b3f92f7e
Make coc and fixme console commands close to vanilla (bug #4292 , bug #4217 )
6 years ago
Capostrophic
95aa05e41b
Tweaks to script parser messages and pathgrid warnings
6 years ago
Andrei Kortunov
f0919f51e9
Fix integer result formatting of scripting functions
6 years ago
Marc Zinnschlag
327f36b081
Merged pull request #1876
6 years ago
Andrei Kortunov
a560a9e00d
Allow messageboxes arguments to have newline characters (bug #3836 )
6 years ago
Capostrophic
a06c9c767d
Treat <> and << operators as < and >< and >> as > in scripts
...
(bug #4597 )
6 years ago
James Carty
579f35511a
Add support for scietific notation flag for MessageBox
6 years ago
Miloslav Číž
c3d7ee5a9e
Resolve merge conflicts
7 years ago
Miloslav Číž
db8aaa74d6
Start cell border debug drawing
7 years ago
Marc Zinnschlag
565922f9ad
naked expressions beginning with the member operator were allowed erroneously outside of the console (Fixes issue #2971 )
7 years ago
Marc Zinnschlag
816a1733dc
Allow comma after Begin and End script instruction ( Fixes #4451 )
7 years ago
Marc Zinnschlag
2dff3aab22
allow . and - in the name part of a begin script statement, but not at the beginning of a name. Fixes #4061
7 years ago
scrawl
0c6ef17fb5
Add explicit variant of 'OnActivate'
7 years ago
Ewan Higgs
38a2de3c51
convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis
8 years ago
Allofich
e095817ac2
Treat =< and => as == in scripts
...
(Fixes #3744 )
8 years ago
MiroslavR
395e97cf40
Remove evil "implicit GetJournalIndex" hack from expression parser
8 years ago
scrawl
3f27c8cc97
Always print context for script warnings to remove the need for verbose option
...
(Fixes #2813 )
8 years ago
scrawl
34deb6e7b1
Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes
8 years ago
scrawl
0c981b6fe5
Fix typo in script opcode ( Fixes #3583 )
8 years ago
scrawl
a5da3a269e
Fix shadowing warnings
8 years ago
Allofich
73463cd12f
Remove unnecessary virtual destructor
8 years ago
Allofich
8c5aae0722
Add virtual destructors
8 years ago
scrawl
da0e20edcd
Merge pull request #991 from MiroslavR/opface
...
Implement Face instruction (Feature #1424 )
9 years ago
MiroslavR
f6f3f71db5
Improve format specifiers for message boxes
9 years ago
MiroslavR
dc0bc5b68c
Implement Face instruction (Feature #1424 )
9 years ago
scrawl
d7c7bb850b
ToggleAI cleanup
9 years ago
scrawl
3a2dccad4b
Implement 'Show' script instruction
9 years ago
scrawl
f0971ee8ad
Implement Fixme script instruction
9 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
ea0be6e737
Update ScriptArgs documentation
9 years ago
scrawl
23cd2056bf
Ignore extra arguments in playSound and playSound3D.
...
A common mistake in mods is to use playSound with volume/pitch arguments, which only playSoundVP supports. Previously these extra arguments raised a parser error, making the respective mod unusable.
9 years ago
scrawl
e695619aa5
ExprParser: Warn about ignored arguments
9 years ago
scrawl
deb7f3caf6
Print deletion state in ObjectReferenceInfo
9 years ago
Marc Zinnschlag
06efd72a89
allow keywords as strings in messagebox instruction ( Fixes #2991 )
9 years ago
Marc Zinnschlag
b61b732207
fixed an interference with script warning mode and error downgrading ( Fixes #2990 )
9 years ago
Marc Zinnschlag
7239481672
Merge remote-tracking branch 'scrawl/scrawl-patch-2'
9 years ago
scrawl
f7d0d06134
Compiler: remove unused mNameStartingWithDigit
9 years ago
Emmanuel Anne
b911abd7d8
add a few more possible arguments to choice
...
this fixes some travel dialogs for "Antares Big Mod"
9 years ago
Marc Zinnschlag
435e52306a
adjusted a workaround for names starting with digits that interfered with some numerical expressions written without spaces
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
a47617c21f
Fix tab indentations in apps/ and components/
9 years ago
Marc Zinnschlag
4d94f38f4b
replaced context-sensitive implementation of allowing digits at the beginning of names with a more general implementation ( Fixes #1730 )
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
Marc Zinnschlag
20106bb90f
allow keywords in quotes ( Fixes #2794 )
10 years ago
scrawl
b3f5ac5dbb
Include cleanup
10 years ago
scrawl
1d76607005
Add ORI (ObjectReferenceInfo) alias for BetaComment ( Fixes #2723 )
10 years ago
scrawl
ea0339d471
Make the string argument to BetaComment optional
10 years ago
Marc Zinnschlag
ee2763f2d4
Allow 5th parameter for PlaceAtMe (numeric value, ignored) ( Fixes #2591 )
10 years ago
Rohit Nirmal
396fba7fa9
Silence -Wreorder warnings, and remove -Wno-reorder.
10 years ago
dteviot
1d7f3474fa
Fixed more MSVC 2013 warnings.
10 years ago
Scott Howard
e2ef8c4022
fix -Wnewline-eof warnings
10 years ago
scrawl
3ccf4642b4
Implement ToggleScripts
10 years ago
scrawl
a619cff615
Implement EnableLevelupMenu to trigger level-up
10 years ago
Marc Zinnschlag
cd62dbc5b7
Merge remote-tracking branch 'scrawl/essimporter'
10 years ago
scrawl
5104a5a023
Add missing setFactionReaction instruction, use absolute storage instead of difference
...
Seems to be closer to how MW is storing it (it has the complete FACT record in the savegame, actually).
This (somewhat) breaks OMW savegame compatibility in that old changes are discarded, but I don't think the faction reactions are quest relevant anywhere.
10 years ago
Marc Zinnschlag
375d426dd0
check for premature end of scripts more consistently
10 years ago
Marc Zinnschlag
4b88ef5891
fixed QuickFileParser handling of begin line (skip it instead of trying to make sense of it)
10 years ago
scrawl
d919a0186e
Comment out unused opSkipOnZero
10 years ago
Marc Zinnschlag
ac7c2a1473
some cleanup
10 years ago
Marc Zinnschlag
bbbf431ae3
double bug in script name handling workaround ( Fixes #1730 )
10 years ago
Marc Zinnschlag
120873a66d
another workaround for script translation messup
10 years ago
Marc Zinnschlag
057d0913d6
Merge branch 'scriptfixes'
10 years ago
Marc Zinnschlag
fc1d42a7d2
fixed exclusion for certain characters at the start of names
10 years ago
Marc Zinnschlag
b951251572
handle junk in argument lists ( Fixes #2206 )
10 years ago
Marc Zinnschlag
5cb94da9c5
compensate for incorrect minus character in translated dialogue script ( Fixes #2207 )
10 years ago
scrawl
31d28e727f
Implement leveled list script functions ( Fixes #1546 )
10 years ago
Marc Zinnschlag
ed5387fb8c
replaced stay [ ignoring implementation with one that does not interfere with other workarounds ( Fixes #2205 )
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
scrawl
0ca11eab1c
Ignore extra argument for removeItem ( Fixes #2208 )
10 years ago
scrawl
2601b26217
Merge branch 'master' of https://github.com/OpenMW/openmw
10 years ago
scrawl
886903d70e
Implement HitAttemptOnMe function (Bug #2078 )
10 years ago
scrawl
be16f1d0a5
Implement PcForce1stPerson, PcForce3rdPerson, PcGet3rdPerson (Bug #2078 )
10 years ago
Marc Zinnschlag
cda0363f29
allow a space in the middle of multi-character comparison operators ( Fixes #2185 )
10 years ago
Marc Zinnschlag
109fbab546
changed column/row numbering in script compiler error messages from being starting at 0 to starting at 1
10 years ago
Marc Zinnschlag
86037149cd
add optional string argument for activate instruction (ignored)
10 years ago
Marc Zinnschlag
95dfb07816
make [ a whitespace character in scripts ( Fixes #2126 )
10 years ago
scrawl
bf0669e18c
Ignore some extra string arguments to ShowMap ( Fixes #2029 )
...
Required for a dialogue result script in Morrowind.esm ("ShowMap Dren Plantation").
This must do the same as "ShowMap Dren", which actually does work properly, since ShowMap supports partial string matching.
10 years ago
Marc Zinnschlag
a0dbb40c8e
Allow script names starting with digits ( Fixes #1730 )
10 years ago
scrawl
c010c28337
Implement ToggleWorld instruction
10 years ago
scrawl
7252cb63a6
Fix cppcheck issues
10 years ago
slothlife
35ced14e45
Fix for MSVC warnings
10 years ago
Marc Zinnschlag
9ae9104a45
Merge branch 'openmw-32'
10 years ago
Marc Zinnschlag
14f32563e7
fixed script compiler code ordering issue
10 years ago
scrawl
267cf4e140
Implement ResetActors script instruction ( Fixes #1859 )
10 years ago
scrawl
174153b2da
Revert "Fix member variable case problem"
...
This reverts commit f0354ea04c
.
Fixes #759 (again)
Conflicts:
components/compiler/lineparser.cpp
10 years ago
Marc Zinnschlag
52f6a2ec7b
remote local variable access was always using variable with index 1 instead of the index specified by the access request ( Fixes #1739 )
10 years ago
Marc Zinnschlag
736ab76f68
limit argument error workaround to PositionCell instruction ( Fixes #1732 )
10 years ago
scrawl
2db50da8dd
Implement magic effect script instructions (Feature #1489 )
11 years ago
Marc Zinnschlag
33c36bf0df
Merge remote-tracking branch 'scrawl/master'
11 years ago
Digmaster
a32ab842ae
Added ForceJump/ForceMoveJump commands
11 years ago
scrawl
0c1c468f70
Accept a useless extra integer argument for addItem ( Fixes #1726 )
11 years ago
scrawl
45af34d189
Merge branch 'master' of https://github.com/OpenMW/openmw
11 years ago
scrawl
543bb22e8f
Implement collision script instructions ( Fixes #1111 )
11 years ago
Marc Zinnschlag
ad50b926f5
reducing some stray arguments again
11 years ago
Marc Zinnschlag
17bd094afd
allow a few more stray arguments
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
2e355df8b3
removed function ScriptManager::getLocalIndex (was redundant and was also depending on precompiled scripts)
11 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
e33ee52b91
make stray names in the begin line a warning instead of an error
11 years ago
Marc Zinnschlag
35b27ea8cb
ignore stray string argument after GetDisabled
11 years ago
Marc Zinnschlag
e8322da663
added support for targeted scripts to script compiler
11 years ago
Marc Zinnschlag
563c2e5730
be a bit more relaxed about allowing - in names ( Fixes #1593 )
11 years ago
scrawl
2506c16bf5
Add a dummy GetStat function returning 0 ( Fixes #1589 )
11 years ago
scrawl
b259c5def2
Make GetFactionReaction garbage argument optional
11 years ago
scrawl
b52977e44c
Add dummy Face implementation for now (Bug #1541 )
11 years ago
scrawl
750d8b5589
Allow garbage integer argument for addSpell ( Fixes #1539 )
11 years ago
scrawl
9a26cf22e6
Implement toggleMenus
11 years ago
scrawl
1dc9e151cb
Count werewolf kills ( Fixes #1525 )
11 years ago
scrawl
2477456f99
Implement Murder crimes and OnMurder instruction ( Fixes #1315 )
11 years ago
scrawl
ec66484472
Fix forceGreeting with explicit references ( Fixes #1518 )
11 years ago
scrawl
fd59a4a79e
Fix some doxygen typos
11 years ago
scrawl
77388fe2ce
Implement BetaComment instruction (dumps reference info)
11 years ago
scrawl
3788fb042e
Implement MenuTest script instruction ( Fixes #1454 )
11 years ago
scrawl
2dd54dbcfc
Implement ClearInfoActor script instruction ( Fixes #1422 )
11 years ago
Marc Zinnschlag
f112c78858
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
e68600eda2
Make Activate instruction work properly even when onActivate was not called in the same frame.
...
There are two major differences to the old implementation:
- Activate can now be called on its own, e.g. in the console. In Vanilla this appears to be a no-op, so it is unlikely to be used and the potential for breakage is low.
- The Action to execute is now determined when Activate is called, not when OnActivate is called. This however makes sense, since there may be a time difference between the two, and the object (or the player) could have changed in the meantime, requiring a different Action.
Fixes #1166 and #1346 .
11 years ago
cc9cii
bbe77d656a
Minor fixes from static analysis.
11 years ago
Marc Zinnschlag
be39395ce7
Merge remote-tracking branch 'scrawl/master'
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
3e2eed9269
Implement getFactionReaction function
...
Strange bug when using value != 0 for the garbage argument?
11 years ago
scrawl
e266c39c5d
Implement modFactionReaction instruction ( Closes #1347 )
11 years ago
Thomas
085fb2c5a2
Simplified documentation a bit
11 years ago
Thomas
a61d804de6
now that I've found the documentation, fixed some stuff for extensions
11 years ago
Thomas
8f90dd43ec
Changed things to use typedef ScriptARgs/ScriptReturn, which makes finding out what those weird strings meant much much easier
11 years ago
Thomas
c2127845af
Added onKnockdown command
11 years ago
scrawl
f921f2e7db
Make PcRaiseRank, PcLowerRank and PcJoinFaction properly accept references instead of using the actor that the player talked to last.
...
This also solves a potential crash when no actor has been talked to yet, e.g. immediately after loading a savegame.
11 years ago
scrawl
452b522bc3
Fix typos
11 years ago
scrawl
c8c0e5de38
Fixed code issues found with unity build. Missing include guards, duplicated functions, ...
11 years ago
Marc Zinnschlag
0d84adb2c6
allow x->(y) instead of (x->y)
11 years ago
Marc Zinnschlag
fd665a1994
ignore conditions after an else (only works if condition is put in parentheses)
11 years ago
Marc Zinnschlag
d213c6c36a
fixed a constness-issue
11 years ago
Marc Zinnschlag
451e1f413b
instead of using pre-compiled variable lists for remote member access get the variable list from the remote script on the fly
11 years ago
Marc Zinnschlag
e76ef92669
also allow the use of keywords as remote local variables in set statements
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