DREAMWEB: Clean up monitor functions

This commit is contained in:
Willem Jan Palenstijn 2011-12-27 01:19:19 +01:00
parent 20ac0d8b5e
commit 2bbc1cbd6a
5 changed files with 27 additions and 69 deletions

View file

@ -25,7 +25,7 @@
namespace DreamGen {
typedef void (DreamGenContext::*UseCallback)(void);
typedef void (DreamBase::*UseCallback)(void);
// Note: The callback pointer has been placed before the
// ID to keep MSVC happy (otherwise, it throws warnings
@ -38,7 +38,7 @@ struct UseListEntry {
void DreamGenContext::useRoutine() {
static const UseListEntry kUseList[] = {
{ &DreamGenContext::useMon, "NETW" },
{ &DreamBase::useMon, "NETW" },
{ &DreamBase::useElevator1, "ELVA" },
{ &DreamBase::useElevator2, "ELVB" },
{ &DreamBase::useElevator3, "ELVC" },