aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJohannes Schickel2014-05-27 02:04:07 +0200
committerJohannes Schickel2014-05-27 02:04:07 +0200
commit0adca2c579c29274f3c76bfe88b80b8ba9df26da (patch)
tree46fad599fca3c62251087523be2a9d8c359f0665 /gui
parentdaa8d57a866e2866369e432cf1d624179edc8875 (diff)
downloadscummvm-rg350-0adca2c579c29274f3c76bfe88b80b8ba9df26da.tar.gz
scummvm-rg350-0adca2c579c29274f3c76bfe88b80b8ba9df26da.tar.bz2
scummvm-rg350-0adca2c579c29274f3c76bfe88b80b8ba9df26da.zip
ALL: Rename Debugger::DVar_Register to Debugger::registerVar.
Diffstat (limited to 'gui')
-rw-r--r--gui/debugger.cpp4
-rw-r--r--gui/debugger.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/debugger.cpp b/gui/debugger.cpp
index 498f19df5f..1d74db30cc 100644
--- a/gui/debugger.cpp
+++ b/gui/debugger.cpp
@@ -52,7 +52,7 @@ Debugger::Debugger() {
#endif
// Register variables
- DVar_Register("debug_countdown", &_frameCountdown, DVAR_INT, 0);
+ registerVar("debug_countdown", &_frameCountdown, DVAR_INT, 0);
// Register commands
//DCmd_Register("continue", WRAP_METHOD(Debugger, Cmd_Exit));
@@ -406,7 +406,7 @@ char *Debugger::readlineComplete(const char *input, int state) {
#endif
// Variable registration function
-void Debugger::DVar_Register(const Common::String &varname, void *pointer, VarType type, int arraySize) {
+void Debugger::registerVar(const Common::String &varname, void *pointer, VarType type, int arraySize) {
// TODO: Filter out duplicates
// TODO: Sort this list? Then we can do binary search later on when doing lookups.
assert(pointer);
diff --git a/gui/debugger.h b/gui/debugger.h
index a2a7aa2d86..6ccc77b129 100644
--- a/gui/debugger.h
+++ b/gui/debugger.h
@@ -107,7 +107,7 @@ protected:
*
* @todo replace this single method by type safe variants.
*/
- void DVar_Register(const Common::String &varname, void *variable, VarType type, int arraySize);
+ void registerVar(const Common::String &varname, void *variable, VarType type, int arraySize);
void DCmd_Register(const Common::String &cmdname, Debuglet *debuglet);