Skip to content

Commit

Permalink
PEGASUS: Add the bomb detonation game
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Dec 13, 2011
1 parent 5f276bf commit bbabf27
Show file tree
Hide file tree
Showing 4 changed files with 1,592 additions and 6 deletions.
1 change: 1 addition & 0 deletions engines/pegasus/module.mk
Expand Up @@ -55,6 +55,7 @@ MODULE_OBJS = \
neighborhood/zoom.o \
neighborhood/caldoria/caldoria.o \
neighborhood/caldoria/caldoria4dsystem.o \
neighborhood/caldoria/caldoriabomb.o \
neighborhood/caldoria/caldoriamessages.o \
neighborhood/caldoria/caldoriamirror.o \
neighborhood/mars/energybeam.o \
Expand Down
8 changes: 2 additions & 6 deletions engines/pegasus/neighborhood/caldoria/caldoria.cpp
Expand Up @@ -35,6 +35,7 @@
#include "pegasus/items/biochips/biochipitem.h"
#include "pegasus/neighborhood/caldoria/caldoria.h"
#include "pegasus/neighborhood/caldoria/caldoria4dsystem.h"
#include "pegasus/neighborhood/caldoria/caldoriabomb.h"
#include "pegasus/neighborhood/caldoria/caldoriamessages.h"
#include "pegasus/neighborhood/caldoria/caldoriamirror.h"
#include "pegasus/neighborhood/tsa/fulltsa.h"
Expand Down Expand Up @@ -1522,17 +1523,12 @@ GameInteraction *Caldoria::makeInteraction(const tInteractionID interactionID) {
switch (interactionID) {
case kCaldoria4DInteractionID:
return new Caldoria4DSystem(this);
break;
case kCaldoriaBombInteractionID:
// TODO
error("STUB: Bomb game");
break;
return new CaldoriaBomb(this, _vm);
case kCaldoriaMessagesInteractionID:
return new CaldoriaMessages(this, kCaldoriaMessagesNotificationID, _vm);
break;
case kCaldoriaMirrorInteractionID:
return new CaldoriaMirror(this);
break;
}

return 0;
Expand Down

0 comments on commit bbabf27

Please sign in to comment.