Commit Graph

407 Commits (master)

Author SHA1 Message Date
Bret Curtis 5aa053c53e components/compiler/streamerrorhandler.cpp needs sstream for MacOS 4 years ago
Bret Curtis 5a824d0333 components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 4 years ago
Andrei Kortunov 065ed5138e Use emplace_back instead of push_back 4 years ago
Andrei Kortunov 8ca3c3b123 Mark overrided methods by override keyword 4 years ago
fredzio 460e69e92a Get rid of warning: dynamic exception specifications are deprecated 4 years ago
Capostrophic e02b66cdf4 Ignore bogus string arguments for Disable/Enable again 5 years ago
Andrei Kortunov 5468fcb29f Store attributes and skills values as floats (bug #4021) 5 years ago
Capostrophic e0ecbc08df Give new opcodes to old functions made custom 5 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
Evil Eye 8c433d587c less complicated context override 5 years ago
Evil Eye a16727d5e3 implement move constructor 5 years ago
Evil Eye 8958e29187 reset errorhandler context 5 years ago
Alexei Dobrohotov 4bb41a52bf
Merge pull request #2740 from Assumeru/empty-string
Ignore unterminated empty strings
5 years ago
Evil Eye 15a95add08 remove false positive 5 years ago
Evil Eye e07fa37fa3 ignore final whitespace/comments 5 years ago
Evil Eye fea7e68fe9 silence operator precedence warning 5 years ago
Evil Eye 8dc081a60d ignore unterminated empty strings 5 years ago
elsid 7ae7cb181d
Support recast mesh rendering 5 years ago
Capostrophic c1f1e367fa Accept an extra numerical argument in GetItemCount 5 years ago
Andrei Kortunov 24ce242941 Implement TestCells (feature #5219) 5 years ago
Andrei Kortunov 34873b6065 Fix dead code 5 years ago
Alexei Dobrohotov a8843fa5a8
Make sure MultiChar::data() constructs a valid string
mData may ultimately not be a valid C-string (e.g. if it contains 4 significant characters) so it may not necessarily be converted into a valid std::string
5 years ago
Alexei Dobrohotov 9ab8d88753
Accept a bogus cell string argument for Position 5 years ago
Andrei Kortunov 45ab6e1430 Implement UTF-8 support for script parser (bug #4598) 5 years ago
Alexei Dobrohotov dc8e5f1d12
Accept redundant volume and pitch StopSound arguments
Exploited in Arktwend.
5 years ago
Alexei Dobrohotov 8bc2c1ac34
Make ForceGreeting ignore any extra argument 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 8f2ed884a5 Allow usage of more keywords as string arguments (bug #5087) 5 years ago
capostrophic 168e5050bb Ignore an extra number argument in ModRegion (bug #5110) 5 years ago
Alexei Dobrohotov f984f61055
Ignore any fourth AITravel argument for now 6 years ago
Capostrophic b7afb213ae "Handle" RepairedOnMe scripting function (feature #4255) 6 years ago
Capostrophic 95751ba671 Ignore extra numerical arguments for ForceGreeting, Position(Cell), PlaceItem(Cell) 6 years ago
Capostrophic 05727f2bcd Ignore string arguments for AITravel, GetDynamic, LowerRank, RaiseRank 6 years ago
Bret Curtis e0edecf1f2
Merge pull request #2341 from Capostrophic/scripting
Allow using functions in non-conditional expressions (bug #3725)
6 years ago
Andrei Kortunov bd2188a0f8 Use the logging system for compiler errors 6 years ago
Capostrophic 3d64a46df2 Allow using functions in non-conditional expressions (bug #3725) 6 years ago
Capostrophic 6cbec4a688 Stray argument usage corrections 6 years ago
Andrei Kortunov cae456a4aa
Merge pull request #2294 from Capostrophic/arguments
Ignore extra arguments to PlayLoopSound3D too
6 years ago
Capostrophic 7ef7555c19 Ignore extra arguments to PlayLoopSound3D too 6 years ago
Capostrophic 17dce28705 Improve compiler messages 6 years ago
Bret Curtis 6cbf1288ff
Merge pull request #1929 from Capostrophic/elseif
Ignore the rest of the line after else operator (bug #3006)
6 years ago
Capostrophic cbce1a1b7c Ignore the rest of the line after else (bug #3006) 6 years ago
Capostrophic af47ec7756 Skip extra text after variable declaration (bug #4867) 6 years ago
Capostrophic 59f7df187d Add explicit variant of Journal 6 years ago
Capostrophic 9bc360267b Ignore stray explicit references for names in expressions 6 years ago
Capostrophic cc855e065a Ignore stray references for variables in Set instruction 6 years ago
Andrei Kortunov 3032b177a1 Remove redundant includes 6 years ago
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