Commit Graph
42 Commits
Author SHA1 Message Date
elsid f99ed6f1db Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
2022-08-03 22:06:24 +02:00
Bret CurtisandBret Curtis d1fb854521 move most of the files from esm to esm3, keep common code in esm; this is make space for a future with esm4
esm typo

esm typo
2022-01-23 17:04:48 +01:00
psi29a d8bed73ada Merge branch 'local_crache' into 'master'
Cache failed compilation when getting locals

Closes #6123

See merge request OpenMW/openmw!988
2021-07-08 22:16:15 +00:00
Evil Eye eced6f2126 Implement the help command 2021-07-07 18:48:25 +02:00
Evil Eye 9a7c07173d Cache failed compilation when getting locals 2021-07-04 10:58:12 +02:00
Evil Eye 67c8d73fe0 Allow scripts to fail per target 2021-06-19 19:26:55 +02:00
Capostrophic a211527b4b Fix AppVeyor warnings 2020-08-07 09:59:16 +03:00
Andrei Kortunov 9f349e8d91 Use more C++11 in the scripting system code 2020-07-30 20:57:25 +04:00
Andrei Kortunov b05d071e69 Resume failed scripts execution after game reload (feature #5524) 2020-07-14 10:53:01 +04:00
unknown 3b4782959e Allow targeting non-unique actors with StartScript (bug #2311) 2020-05-10 14:57:06 +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
Andrei Kortunov bd2188a0f8 Use the logging system for compiler errors 2019-04-23 22:20:18 +04:00
Andrei Kortunov 5a4d0cec3a Use new logging system for game itself 2018-08-14 23:05:43 +04:00
scrawl 29556a1802 More consistent wording of errors/warnings
A Warning indicates a potential problem in the content file(s) that the user told OpenMW to load. E.g. this might cause an object to not display at all or as intended, however the rest of the game will run fine.

An Error, however, is more likely to be a bug with the engine itself - it means that basic assumptions have been violated and the engine might not run correctly anymore.

The above mostly applies to errors/warnings during game-play; startup issues are handled differently: when a file is completely invalid/corrupted to the point that the engine can not start, that might cause messages that are worded as Error due to the severity of the issue but are not necessarily the engine's fault.

Hopefully, being a little more consistent here will alleviate confusion among users as to when a log message should be reported and to whom.
2017-03-04 21:48:31 +01:00
scrawl 3f27c8cc97 Always print context for script warnings to remove the need for verbose option
(Fixes #2813)
2017-02-21 04:32:59 +01:00
Marc Zinnschlag 2a981a5272 make sure local variables are loaded when trying to access them from outside of a script (Fixes #2659) 2015-09-15 13:58:07 +02:00
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
2015-08-18 23:06:12 +02:00
Marc Zinnschlag c97845d35d better script compiler diagnostics 2014-10-17 10:59:25 +02:00
scrawl 7252cb63a6 Fix cppcheck issues 2014-09-26 17:48:14 +02:00
Marc Zinnschlag 9f69db0d69 added missing const to ScriptManager::getLocals 2014-07-25 08:12:53 +02:00
Marc Zinnschlag 2e355df8b3 removed function ScriptManager::getLocalIndex (was redundant and was also depending on precompiled scripts) 2014-07-25 07:59:50 +02:00
Marc Zinnschlag d87630b41a blacklisting for scripts in OpenMW 2014-07-21 09:34:10 +02:00
scrawl a4ce9d6a7f Always show the script name when a script fails to compile 2014-06-20 23:56:21 +02:00
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 2014-02-14 11:15:16 +01:00
Marc Zinnschlag dc433a3c09 fixed case handling problem for local variable access 2014-02-12 13:38:16 +01:00
Marc Zinnschlag 9de2922d22 fixed case problem in remote member variable access 2014-02-11 13:56:56 +01:00
Marc Zinnschlag 4ee43612f6 added new switch: --script-warn 2014-02-02 14:09:59 +01:00
scrawl 03cf383be7 Merge branch 'master' of https://github.com/zinnschlag/openmw into savedgame
Conflicts:
	apps/openmw/mwgui/referenceinterface.cpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
	apps/openmw/mwscript/cellextensions.cpp
	apps/openmw/mwworld/cells.cpp
	apps/openmw/mwworld/cells.hpp
	apps/openmw/mwworld/cellstore.cpp
	apps/openmw/mwworld/store.cpp
	apps/openmw/mwworld/worldimp.cpp
2014-01-24 18:28:35 +01:00
scrawl 154fae9f25 Don't suppress exceptions thrown while running scripts 2014-01-08 19:52:57 +01:00
Marc Zinnschlag 74793c1c2f globals script cleanup; fixed potential case folding bug 2013-12-12 13:15:38 +01:00
Miroslav Puda 3cebb41459 missing break 2013-05-21 21:04:15 +02:00
scrawl c41f119ba6 Added new game button 2013-05-15 17:54:18 +02:00
scrawl b0199c703c Companion UI 2013-03-31 13:13:46 +02:00
Marc Zinnschlag a95431c387 fix 2013-02-23 20:20:40 +01:00
Marc Zinnschlag 3472a6f180 workaround for infinite recursion during local variable access 2013-02-23 14:40:56 +01:00
greye b3ad872845 new interface in manualref, fix various typos 2012-11-06 13:43:48 +04:00
greye ff8da265ed applying new interface vol.9, inconsistent 2012-11-06 12:36:21 +04:00
greye 2057f5619e move ESMStore to MWWorld 2012-11-05 17:18:01 +04:00
greye 7606ebafd6 resolving conflicts, minor update 2012-09-17 11:37:50 +04:00
Marc Zinnschlag 28ecfb4290 Issue #107: ScriptManager is accessed only through the interface class from now on 2012-08-08 15:18:55 +02:00