Andrei Kortunov
963e1b8b3f
Fix MSVC's C4244 warnings
4 years ago
Andrei Kortunov
f9d42ed396
Fix MSVC's C4267 warnings
4 years ago
Andrei Kortunov
7fc4c9f3f6
Avoid dead code
4 years ago
Andrei Kortunov
8084a336b5
Replace zeroes and nulls by nullptrs
4 years ago
Alexei Dobrohotov
53f91a3aa5
Merge pull request #3018 from akortunov/emplace
...
Use emplace_back instead of push_back
4 years ago
unknown
71e78c66cd
Re-add missing includes removed in 5a824d0333
4 years ago
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 )
6 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