Commit Graph

77 Commits (bd072b131bf62999a4614b535cb02925e03db7f9)

Author SHA1 Message Date
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 4322e76cb6 Fix shadowing warnings 8 years ago
scrawl a5da3a269e Fix shadowing warnings 8 years ago
MiroslavR f6f3f71db5 Improve format specifiers for message boxes 9 years ago
scrawl a94029267f Fix an inverted condition (Bug #3209) 9 years ago
scrawl ed57293e54 Allow '^' escape characters in books
http://forum.openmw.org/viewtopic.php?f=2&t=3373&p=37584&sid=1a0b015e6716b1bced37fd398ef876c7
9 years ago
scrawl 39feb547a0 Broken lower casing fix (Fixes #3068) 9 years ago
scrawl f875597be5 Don't use tolower()
See https://forum.openmw.org/viewtopic.php?f=8&t=3231&p=35968
9 years ago
Marc Zinnschlag 8eb6d337d5 deal with script execution from within a script (Fixes #2964) 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
scrawl b3f5ac5dbb Include cleanup 10 years ago
scrawl 22f01b1232 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/launcher/graphicspage.cpp
	apps/opencs/editor.cpp
	apps/opencs/model/doc/document.cpp
	apps/opencs/view/render/cell.cpp
	apps/opencs/view/render/mousestate.cpp
	apps/opencs/view/render/textoverlay.cpp
	apps/opencs/view/render/worldspacewidget.cpp
	apps/openmw/mwclass/creature.cpp
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwgui/inventorywindow.cpp
	apps/openmw/mwgui/loadingscreen.cpp
	apps/openmw/mwgui/mapwindow.cpp
	apps/openmw/mwgui/pickpocketitemmodel.cpp
	apps/openmw/mwgui/waitdialog.cpp
	apps/openmw/mwmechanics/combat.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwrender/globalmap.cpp
	apps/openmw/mwworld/physicssystem.cpp
	apps/openmw/mwworld/refdata.cpp
	apps/openmw/mwworld/scene.cpp
	apps/openmw/mwworld/worldimp.cpp
	components/sdlutil/sdlinputwrapper.cpp
	extern/shiny/Main/Factory.cpp
	extern/shiny/Main/MaterialInstance.cpp
	extern/shiny/Main/Platform.cpp
	extern/shiny/Main/ShaderSet.cpp
10 years ago
Rohit Nirmal 396fba7fa9 Silence -Wreorder warnings, and remove -Wno-reorder. 10 years ago
scrawl 8c810e3620 Move rng to components 10 years ago
dteviot 2cfc4c0286 script Random() command now returns correct range. 10 years ago
scrawl c7be850162 Add messagebox escape characters for spell/weapon cycling hotkeys 10 years ago
scrawl f7ba1dbfc8 Add error handling for getPcRank and similar defines (Fixes #2071) 10 years ago
Marc Zinnschlag 8952154488 inherit target ID when starting a script from another script 11 years ago
Marc Zinnschlag 27c84d6cb7 the reference for a targeted script is now determined when needed instead of at the start of the script execution 11 years ago
Marc Zinnschlag 75ab8de3d2 added opcode for running scripts with explicit references (targeted scripts) 11 years ago
scrawl c8c0e5de38 Fixed code issues found with unity build. Missing include guards, duplicated functions, ... 11 years ago
Marc Zinnschlag d6e212a02b Merge branch 'master' into script 11 years ago
Marc Zinnschlag 3b990795c4 added access to remote access of local variables of global scripts 11 years ago
scrawl 0cc1cd8f7e Fix message box formatting bug 11 years ago
scrawl 26d972280f Fix a few text defines 11 years ago
Lukasz Gromanowski 50b6e828cc Added asserts in Interpreter::installSegmentX methods.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl 7dc30a01cd Some changes suggested by cppcheck 12 years ago
scrawl 78e6dab9d2 Dialogue history rewrite WIP 12 years ago
Marc Zinnschlag a1ece7de30 Bug #613: fixed assert in string literal access function 12 years ago
Marc Zinnschlag b255472cc6 fixed a spelling mistake 12 years ago
Nathan Jeffords 08fa9dcd3e replaced std::string concatenation with std::ostringstream
Changed a block of code that was performing a series of string
concatenations to use an ostringstream instead. This allowed the removal
of calls to std::to_string (not C++03 compliant) and fixes an compile
error in MSVC 2010 (ambigous overload when calling std::to_string).
12 years ago
Tom Mason a14b7e4a0f small fixes on text defines 12 years ago
Tom Mason 8ac8fdff47 implemented all text defines except a few for keybindings that don't exist yet 12 years ago
Tom Mason f2c6907244 Added in text escape sequences for dialogue, messageboxes and books. builtins are placeholders, global variables work 12 years ago
Marc Zinnschlag fe85de5ea7 Issue #181: assignment to member variables 13 years ago
Marc Zinnschlag 10b27e582b Issue #181: various fixed to member variable access 13 years ago
Marc Zinnschlag ce43ff8d05 Issue #181: added member variable access opcodes 13 years ago
Marc Zinnschlag 72fca40090 Issue #181: member variable access in interpreter context 13 years ago
Marc Zinnschlag 80691250ec don't create a new virtual machine for each script and frame 14 years ago
Marc Zinnschlag 861dc6a16e redirecting output of expression evalutation to new report channel 14 years ago
Marc Zinnschlag 125319c441 splitting off console output from messageBox channel 14 years ago
Jan-Peter Nilsson a94de76801 Whitespace changes only tabs->spaces and removal of traling space (including mangle and openengline) 14 years ago
Marc Zinnschlag b3cc3073a3 changed encoding of segment 3 opcodes (increasing the number of opcodes, while reducing the width of the argument) 15 years ago
Marc Zinnschlag 08d2b80434 message box fix 15 years ago
Marc Zinnschlag 276a9db6f7 added missing button implementation for MessageBox 15 years ago
Marc Zinnschlag 72cc0a3983 fixed typo in documentation 15 years ago
Marc Zinnschlag c9a6335918 replaced flat Type_Data stack with a union 15 years ago
Marc Zinnschlag 69e607e140 implemented getdistance with explicit references 15 years ago
Marc Zinnschlag d4ac3b506e implemented enable, disable and getdisabled with explicit references 15 years ago
Marc Zinnschlag 592fa84e2d added Enable, Disable, GetDisabled 15 years ago