Evil Eye
bee94e2afc
Treat commas in scripts as whitespace
2021-11-13 14:06:21 +01:00
Evil Eye
9b565c4cf9
Remove dead code
2021-10-28 22:16:43 +02:00
Evil Eye
fef902617a
Parse integer format arguments as variable names
2021-10-24 17:23:15 +02:00
Evil Eye
31aa19574b
Make PositionCell take additional junk arguments
2021-10-23 11:47:42 +02:00
Evil Eye
dfb6bdf77e
Allow integer variable names
2021-10-23 11:47:35 +02:00
Evil Eye
5037def3b3
Parse local variables sharing a name with a function as variables
2021-10-06 21:27:08 +02:00
Evil Eye
c679565893
Make names starting with digits use normal name parsing code
2021-09-26 22:13:53 +02:00
Evil Eye
6d7cb38834
Remove duplicate GetSquareRoot implementation
2021-09-19 19:53:38 +02:00
Petr Mikheev
d5cda61855
Console command "reload lua"
2021-07-09 20:24:56 +02:00
Evil Eye
eced6f2126
Implement the help command
2021-07-07 18:48:25 +02:00
jvoisin
b4cfa4328e
Merge branch 'keyword_soup' into 'master'
...
Strip quotes when treating keywords as strings
Closes #6066
See merge request OpenMW/openmw!921
2021-06-24 19:51:58 +00:00
Evil Eye
22f7d4eee2
Strip quotes when treating keywords as strings
2021-06-22 16:54:35 +02:00
jvoisin
aec3c74fa5
Sprinkle some [[noreturn]] where possible
2021-06-22 12:51:08 +02:00
Evil Eye
c1177d7ffe
Allow unquoted string arguments to start with . and -
2021-06-19 11:21:37 +02:00
Andrei Kortunov
963e1b8b3f
Fix MSVC's C4244 warnings
2021-05-12 10:34:40 +04:00
Andrei Kortunov
f9d42ed396
Fix MSVC's C4267 warnings
2021-05-12 10:34:39 +04:00
Andrei Kortunov
7fc4c9f3f6
Avoid dead code
2021-01-09 13:52:01 +04:00
Andrei Kortunov
8084a336b5
Replace zeroes and nulls by nullptrs
2020-11-29 11:14:07 +04:00
Alexei Dobrohotov
53f91a3aa5
Merge pull request #3018 from akortunov/emplace
...
Use emplace_back instead of push_back
2020-11-01 01:58:56 +03:00
unknown
71e78c66cd
Re-add missing includes removed in 5a824d0333
2020-10-25 14:33:23 +01:00
Bret Curtis
5aa053c53e
components/compiler/streamerrorhandler.cpp needs sstream for MacOS
2020-10-23 00:13:51 +02:00
Bret Curtis
5a824d0333
components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues
2020-10-22 23:57:53 +02:00
Andrei Kortunov
065ed5138e
Use emplace_back instead of push_back
2020-10-18 10:27:35 +04:00
Andrei Kortunov
8ca3c3b123
Mark overrided methods by override keyword
2020-10-16 22:18:54 +04:00
fredzio
460e69e92a
Get rid of warning: dynamic exception specifications are deprecated
2020-10-10 12:12:55 +02:00
Capostrophic
e02b66cdf4
Ignore bogus string arguments for Disable/Enable again
2020-06-06 20:04:09 +03:00
Andrei Kortunov
5468fcb29f
Store attributes and skills values as floats (bug #4021 )
2020-06-03 17:34:15 +04:00
Capostrophic
e0ecbc08df
Give new opcodes to old functions made custom
2020-05-23 11:57:15 +03:00
Evil Eye
3875b837bc
make MenuMode, Random, GetSecondsPassed regular functions
2020-05-17 22:34:54 +02:00
Evil Eye
f0e2ee45fa
reuse ImplicitRef and ExplicitRef for enable, disable, getdisabled, startscript; move scriptrunning and stopscript
2020-05-13 21:17:08 +02:00
Evil Eye
8c433d587c
less complicated context override
2020-04-04 14:09:00 +02:00
Evil Eye
a16727d5e3
implement move constructor
2020-04-02 20:27:52 +02:00
Evil Eye
8958e29187
reset errorhandler context
2020-04-02 20:14:52 +02:00
Alexei Dobrohotov
4bb41a52bf
Merge pull request #2740 from Assumeru/empty-string
...
Ignore unterminated empty strings
2020-03-30 20:22:56 +03:00
Evil Eye
15a95add08
remove false positive
2020-03-29 22:40:22 +02:00
Evil Eye
e07fa37fa3
ignore final whitespace/comments
2020-03-29 22:29:22 +02:00
Evil Eye
fea7e68fe9
silence operator precedence warning
2020-03-25 20:34:08 +01:00
Evil Eye
8dc081a60d
ignore unterminated empty strings
2020-03-25 19:52:22 +01:00
elsid
7ae7cb181d
Support recast mesh rendering
2020-03-14 09:38:24 +01:00
Capostrophic
c1f1e367fa
Accept an extra numerical argument in GetItemCount
2020-03-11 20:56:46 +03:00
Andrei Kortunov
24ce242941
Implement TestCells (feature #5219 )
2019-12-22 11:13:42 +04:00
Andrei Kortunov
34873b6065
Fix dead code
2019-11-13 15:29:18 +04:00
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
2019-11-05 22:33:14 +03:00
Alexei Dobrohotov
9ab8d88753
Accept a bogus cell string argument for Position
2019-10-30 17:54:34 +03:00
Andrei Kortunov
45ab6e1430
Implement UTF-8 support for script parser (bug #4598 )
2019-10-30 14:59:47 +04:00
Alexei Dobrohotov
dc8e5f1d12
Accept redundant volume and pitch StopSound arguments
...
Exploited in Arktwend.
2019-10-29 18:51:58 +03:00
Alexei Dobrohotov
8bc2c1ac34
Make ForceGreeting ignore any extra argument
2019-10-29 14:39:21 +03:00
Roman Siromakha
4e5aec5c30
Merge pull request #2539 from Capostrophic/scripting
...
Try to parse strings as number literals (bug #5097 )
2019-10-24 22:12:50 +02:00
Capostrophic
bde4a38181
Cast Random result to float (bug #5175 )
2019-10-03 23:20:25 +03:00
Capostrophic
138a7ac434
Expression parser: Try to parse strings as number literals (bug #5097 )
2019-09-26 02:54:17 +03:00