Commit Graph

29 Commits (0.7.1-build-fixes)

Author SHA1 Message Date
Andrei Kortunov bd2188a0f8 Use the logging system for compiler errors 6 years ago
Andrei Kortunov 5a4d0cec3a Use new logging system for game itself 6 years ago
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.
8 years ago
scrawl 3f27c8cc97 Always print context for script warnings to remove the need for verbose option
(Fixes #2813)
8 years ago
Marc Zinnschlag 2a981a5272 make sure local variables are loaded when trying to access them from outside of a script (Fixes #2659) 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 c97845d35d better script compiler diagnostics 10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
Marc Zinnschlag 9f69db0d69 added missing const to ScriptManager::getLocals 11 years ago
Marc Zinnschlag 2e355df8b3 removed function ScriptManager::getLocalIndex (was redundant and was also depending on precompiled scripts) 11 years ago
Marc Zinnschlag d87630b41a blacklisting for scripts in OpenMW 11 years ago
scrawl a4ce9d6a7f Always show the script name when a script fails to compile 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 dc433a3c09 fixed case handling problem for local variable access 11 years ago
Marc Zinnschlag 9de2922d22 fixed case problem in remote member variable access 11 years ago
Marc Zinnschlag 4ee43612f6 added new switch: --script-warn 11 years ago
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
11 years ago
scrawl 154fae9f25 Don't suppress exceptions thrown while running scripts 11 years ago
Marc Zinnschlag 74793c1c2f globals script cleanup; fixed potential case folding bug 11 years ago
Miroslav Puda 3cebb41459 missing break 12 years ago
scrawl c41f119ba6 Added new game button 12 years ago
scrawl b0199c703c Companion UI 12 years ago
Marc Zinnschlag a95431c387 fix 12 years ago
Marc Zinnschlag 3472a6f180 workaround for infinite recursion during local variable access 12 years ago
greye b3ad872845 new interface in manualref, fix various typos 12 years ago
greye ff8da265ed applying new interface vol.9, inconsistent 12 years ago
greye 2057f5619e move ESMStore to MWWorld 12 years ago
greye 7606ebafd6 resolving conflicts, minor update 12 years ago
Marc Zinnschlag 28ecfb4290 Issue #107: ScriptManager is accessed only through the interface class from now on 13 years ago