Skip to content

Commit

Permalink
TSAGE: R2R - rename the outpost alpha debugger command
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Oct 7, 2014
1 parent de434e4 commit 6b05927
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions engines/tsage/debugger.cpp
Expand Up @@ -42,7 +42,7 @@ Debugger::Debugger() : GUI::Debugger() {
registerCmd("moveobject", WRAP_METHOD(Debugger, Cmd_MoveObject));
registerCmd("hotspots", WRAP_METHOD(Debugger, Cmd_Hotspots));
registerCmd("sound", WRAP_METHOD(Debugger, Cmd_Sound));
registerCmd("setdebug", WRAP_METHOD(Debugger, Cmd_SetDebug));
registerCmd("setdebug", WRAP_METHOD(Debugger, Cmd_SetOutpostAlphaDebug));
}

static int strToInt(const char *s) {
Expand Down Expand Up @@ -344,7 +344,7 @@ bool Debugger::Cmd_Sound(int argc, const char **argv) {
/**
* Activate internal debugger, when available
*/
bool Debugger::Cmd_SetDebug(int argc, const char **argv) {
bool Debugger::Cmd_SetOutpostAlphaDebug(int argc, const char **argv) {
debugPrintf("Not available in this game\n");
return true;
}
Expand Down Expand Up @@ -720,7 +720,7 @@ bool Ringworld2Debugger::Cmd_MoveObject(int argc, const char **argv) {
/**
* Activate internal debugger, when available
*/
bool Ringworld2Debugger::Cmd_SetDebug(int argc, const char **argv) {
bool Ringworld2Debugger::Cmd_SetOutpostAlphaDebug(int argc, const char **argv) {
if (argc != 1) {
debugPrintf("Usage: %s\n", argv[0]);
return true;
Expand Down
4 changes: 2 additions & 2 deletions engines/tsage/debugger.h
Expand Up @@ -45,7 +45,7 @@ class Debugger : public GUI::Debugger {
bool Cmd_Sound(int argc, const char **argv);
virtual bool Cmd_ListObjects(int argc, const char **argv) = 0;
virtual bool Cmd_MoveObject(int argc, const char **argv) = 0;
virtual bool Cmd_SetDebug(int argc, const char **argv);
virtual bool Cmd_SetOutpostAlphaDebug(int argc, const char **argv);
};

class DemoDebugger : public Debugger {
Expand All @@ -70,7 +70,7 @@ class Ringworld2Debugger : public Debugger {
protected:
virtual bool Cmd_ListObjects(int argc, const char **argv);
virtual bool Cmd_MoveObject(int argc, const char **argv);
virtual bool Cmd_SetDebug(int argc, const char **argv);
virtual bool Cmd_SetOutpostAlphaDebug(int argc, const char **argv);
};

} // End of namespace TsAGE
Expand Down

0 comments on commit 6b05927

Please sign in to comment.