diff options
author | Torbjörn Andersson | 2009-05-31 10:02:16 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2009-05-31 10:02:16 +0000 |
commit | 0999534749f6c4edb9e4d054b95f185b829adba3 (patch) | |
tree | 55744aee72afd7cc699213a88be65938e70fa0a0 /engines/parallaction | |
parent | 3b311c65d0140e8bf727910d230ffd7a7f803761 (diff) | |
download | scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.tar.gz scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.tar.bz2 scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.zip |
The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/callables_br.cpp | 2 | ||||
-rw-r--r-- | engines/parallaction/exec_br.cpp | 6 | ||||
-rw-r--r-- | engines/parallaction/gui.cpp | 2 | ||||
-rw-r--r-- | engines/parallaction/gui_br.cpp | 4 | ||||
-rw-r--r-- | engines/parallaction/parser_br.cpp | 2 | ||||
-rw-r--r-- | engines/parallaction/sound_br.cpp | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/engines/parallaction/callables_br.cpp b/engines/parallaction/callables_br.cpp index d0e9bcb5db..21703dc1dd 100644 --- a/engines/parallaction/callables_br.cpp +++ b/engines/parallaction/callables_br.cpp @@ -44,7 +44,7 @@ void Parallaction_br::_c_ferrcycle(void*) { } void Parallaction_br::_c_lipsinc(void*) { - warning("Unexpected lipsinc routine call! Please notify the team!"); + warning("Unexpected lipsinc routine call! Please notify the team"); } void Parallaction_br::_c_albcycle(void*) { diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp index 5116e21259..9289bac78d 100644 --- a/engines/parallaction/exec_br.cpp +++ b/engines/parallaction/exec_br.cpp @@ -427,14 +427,14 @@ DECLARE_INSTRUCTION_OPCODE(inc) { DECLARE_INSTRUCTION_OPCODE(put) { // NOTE: there is not a single occurrence of PUT in the scripts - warning("PUT instruction is not implemented!"); + warning("PUT instruction is not implemented"); } DECLARE_INSTRUCTION_OPCODE(wait) { // NOTE: there is not a single occurrence of WAIT in the scripts - warning("WAIT instruction is not implemented!"); + warning("WAIT instruction is not implemented"); } @@ -475,7 +475,7 @@ DECLARE_INSTRUCTION_OPCODE(mask) { DECLARE_INSTRUCTION_OPCODE(print) { // NOTE: there is not a single occurrence of PRINT in the scripts // I suppose it was used for debugging - warning("PRINT instruction is not implemented!"); + warning("PRINT instruction is not implemented"); } DECLARE_INSTRUCTION_OPCODE(text) { diff --git a/engines/parallaction/gui.cpp b/engines/parallaction/gui.cpp index 2dbe64fcf6..ee8d040f44 100644 --- a/engines/parallaction/gui.cpp +++ b/engines/parallaction/gui.cpp @@ -60,7 +60,7 @@ void Parallaction::runGuiFrame() { } if (!_menuHelper) { - error("No menu helper defined!"); + error("No menu helper defined"); } bool res = _menuHelper->run(); diff --git a/engines/parallaction/gui_br.cpp b/engines/parallaction/gui_br.cpp index c20b5edc15..0bc92efc45 100644 --- a/engines/parallaction/gui_br.cpp +++ b/engines/parallaction/gui_br.cpp @@ -414,12 +414,12 @@ public: break; case 2: // save - warning("Saving is not supported yet!"); + warning("Saving is not supported yet"); _vm->_saveLoad->saveGame(); break; case 3: // load - warning("Loading is not supported yet!"); + warning("Loading is not supported yet"); close = _vm->_saveLoad->loadGame(); break; diff --git a/engines/parallaction/parser_br.cpp b/engines/parallaction/parser_br.cpp index cc885b8149..b1dd86a693 100644 --- a/engines/parallaction/parser_br.cpp +++ b/engines/parallaction/parser_br.cpp @@ -1083,7 +1083,7 @@ void ProgramParser_br::parseRValue(ScriptVar &v, const char *str) { #if 0 // disabled because no references to lip sync has been found in the scripts v.setField(&_vm->_lipSyncVal); #endif - warning("Lip sync instruction encountered! Please notify the team!"); + warning("Lip sync instruction encountered! Please notify the team"); } } diff --git a/engines/parallaction/sound_br.cpp b/engines/parallaction/sound_br.cpp index d7f144fdeb..4915eb41e2 100644 --- a/engines/parallaction/sound_br.cpp +++ b/engines/parallaction/sound_br.cpp @@ -102,7 +102,7 @@ void MidiParser_MSC::parseMetaEvent(EventInfo &info) { if (type == 0x51) { info.ext.data = _position._play_pos; } else { - warning("unknown meta event 0x%02X\n", type); + warning("unknown meta event 0x%02X", type); info.ext.type = 0; } |