Commit Graph

27 Commits (7b064920dbc1766a28279b72379b7f6383f88a4f)

Author SHA1 Message Date
Evil Eye 5491512905 Use string_view in more places and reduce the number of empty string literals 2 years ago
Evil Eye 8d2b5ed8ee Combine initializer_lists 2 years ago
Evil Eye d3bc79e9b2 Reduce code duplication 2 years ago
Evil Eye 32ac7406ab Fix global variable replacement in dialogue 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
elsid f99ed6f1db
Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
2 years ago
elsid ba69146ced
Use std::string_view to avoid redundant std::string construction 2 years ago
Evil Eye 751e8cf76b Do a bounds check before calling functions defined in cctype 3 years ago
jvoisin 9db7d0278a Sprinkle some const ref 4 years ago
Andrei Kortunov 6d351b2bdd Fix MSVC 4706 warnings 4 years ago
Andrei Kortunov 2961f0d810 Allow to use the %Name for creatures (bug #4644) 6 years ago
Andrei Kortunov 1452684d9e Use new logging system for components 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 4322e76cb6 Fix shadowing warnings 8 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
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
scrawl 26d972280f Fix a few text defines 11 years ago
scrawl 7dc30a01cd Some changes suggested by cppcheck 12 years ago
scrawl 78e6dab9d2 Dialogue history rewrite WIP 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