aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent/dialog.h')
-rw-r--r--engines/teenagent/dialog.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/engines/teenagent/dialog.h b/engines/teenagent/dialog.h
index 3bb7d818c1..a995565fa7 100644
--- a/engines/teenagent/dialog.h
+++ b/engines/teenagent/dialog.h
@@ -28,18 +28,24 @@
namespace TeenAgent {
class Scene;
+class TeenAgentEngine;
+
class Dialog {
public:
- static uint16 pop(Scene *scene, uint16 addr, uint16 animation1, uint16 animation2, byte color1, byte color2, byte slot1, byte slot2);
- static uint16 popMark(Scene *scene, uint16 addr) {
- return pop(scene, addr, 0, 0, 0xd1, 0xd1, 0, 0);
+ static uint16 pop(TeenAgentEngine *vm, Scene *scene, uint16 addr, uint16 animation1, uint16 animation2, byte color1, byte color2, byte slot1, byte slot2);
+
+ static uint16 popMark(TeenAgentEngine *vm, Scene *scene, uint16 addr) {
+ return pop(vm, scene, addr, 0, 0, 0xd1, 0xd1, 0, 0);
}
- static void show(Scene *scene, uint16 addr, uint16 animation1, uint16 animation2, byte color1, byte color2, byte slot1, byte slot2);
- static void showMono(Scene *scene, uint16 addr, uint16 animation, byte color, byte slot) {
- show(scene, addr, animation, animation, color, color, slot, slot);
+
+ static void show(TeenAgentEngine *vm, Scene *scene, uint16 addr, uint16 animation1, uint16 animation2, byte color1, byte color2, byte slot1, byte slot2);
+
+ static void showMono(TeenAgentEngine *vm, Scene *scene, uint16 addr, uint16 animation, byte color, byte slot) {
+ show(vm, scene, addr, animation, animation, color, color, slot, slot);
}
- static void showMark(Scene *scene, uint16 addr) {
- show(scene, addr, 0, 0, 0xd1, 0xd1, 0, 0);
+
+ static void showMark(TeenAgentEngine *vm, Scene *scene, uint16 addr) {
+ show(vm, scene, addr, 0, 0, 0xd1, 0xd1, 0, 0);
}
};