From daa8d57a866e2866369e432cf1d624179edc8875 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 27 May 2014 02:04:07 +0200 Subject: ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. --- engines/tinsel/debugger.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'engines/tinsel/debugger.cpp') diff --git a/engines/tinsel/debugger.cpp b/engines/tinsel/debugger.cpp index 45e3a05903..ab2e0f19cd 100644 --- a/engines/tinsel/debugger.cpp +++ b/engines/tinsel/debugger.cpp @@ -74,8 +74,8 @@ Console::~Console() { bool Console::cmd_item(int argc, const char **argv) { if (argc < 2) { - DebugPrintf("%s item_number\n", argv[0]); - DebugPrintf("Sets the currently active 'held' item\n"); + debugPrintf("%s item_number\n", argv[0]); + debugPrintf("Sets the currently active 'held' item\n"); return true; } @@ -86,14 +86,14 @@ bool Console::cmd_item(int argc, const char **argv) { bool Console::cmd_scene(int argc, const char **argv) { if (argc < 1 || argc > 3) { - DebugPrintf("%s [scene_number [entry number]]\n", argv[0]); - DebugPrintf("If no parameters are given, prints the current scene.\n"); - DebugPrintf("Otherwise changes to the specified scene number. Entry number defaults to 1 if none provided\n"); + debugPrintf("%s [scene_number [entry number]]\n", argv[0]); + debugPrintf("If no parameters are given, prints the current scene.\n"); + debugPrintf("Otherwise changes to the specified scene number. Entry number defaults to 1 if none provided\n"); return true; } if (argc == 1) { - DebugPrintf("Current scene is %d\n", GetSceneHandle() >> SCNHANDLE_SHIFT); + debugPrintf("Current scene is %d\n", GetSceneHandle() >> SCNHANDLE_SHIFT); return true; } @@ -106,15 +106,15 @@ bool Console::cmd_scene(int argc, const char **argv) { bool Console::cmd_music(int argc, const char **argv) { if (argc < 2) { - DebugPrintf("%s track_number or %s -offset\n", argv[0], argv[0]); - DebugPrintf("Plays the MIDI track number provided, or the offset inside midi.dat\n"); - DebugPrintf("A positive number signifies a track number, whereas a negative signifies an offset\n"); + debugPrintf("%s track_number or %s -offset\n", argv[0], argv[0]); + debugPrintf("Plays the MIDI track number provided, or the offset inside midi.dat\n"); + debugPrintf("A positive number signifies a track number, whereas a negative signifies an offset\n"); return true; } int param = strToInt(argv[1]); if (param == 0) { - DebugPrintf("Track number/offset can't be 0!\n"); + debugPrintf("Track number/offset can't be 0!\n"); } else if (param > 0) { // Track provided PlayMidiSequence(GetTrackOffset(param - 1), false); @@ -128,8 +128,8 @@ bool Console::cmd_music(int argc, const char **argv) { bool Console::cmd_sound(int argc, const char **argv) { if (argc < 2) { - DebugPrintf("%s id\n", argv[0]); - DebugPrintf("Plays the sound with the given ID\n"); + debugPrintf("%s id\n", argv[0]); + debugPrintf("Plays the sound with the given ID\n"); return true; } @@ -140,7 +140,7 @@ bool Console::cmd_sound(int argc, const char **argv) { else _vm->_sound->playSample(id, 0, false, 0, 0, PRIORITY_TALK, Audio::Mixer::kSpeechSoundType); } else { - DebugPrintf("Sample %d does not exist!\n", id); + debugPrintf("Sample %d does not exist!\n", id); } return true; @@ -148,15 +148,15 @@ bool Console::cmd_sound(int argc, const char **argv) { bool Console::cmd_string(int argc, const char **argv) { if (argc < 2) { - DebugPrintf("%s id\n", argv[0]); - DebugPrintf("Prints the string with the given ID\n"); + debugPrintf("%s id\n", argv[0]); + debugPrintf("Prints the string with the given ID\n"); return true; } char tmp[TBUFSZ]; int id = strToInt(argv[1]); LoadStringRes(id, tmp, TBUFSZ); - DebugPrintf("%s\n", tmp); + debugPrintf("%s\n", tmp); return true; } -- cgit v1.2.3