aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/glulxe/glulxe.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-04-15 20:20:33 -0700
committerPaul Gilbert2019-04-17 20:46:06 -0700
commit1c4649018388e7df15bc0787ed66b6dc7755db1d (patch)
tree15f54169008eca2a6b578ffb38f5aa401d7cd3a6 /engines/glk/glulxe/glulxe.cpp
parenta6cf55862d8c4ece72fc1f0ecda083b78b853597 (diff)
downloadscummvm-rg350-1c4649018388e7df15bc0787ed66b6dc7755db1d.tar.gz
scummvm-rg350-1c4649018388e7df15bc0787ed66b6dc7755db1d.tar.bz2
scummvm-rg350-1c4649018388e7df15bc0787ed66b6dc7755db1d.zip
GLK: GLULXE: Add serial methods
Diffstat (limited to 'engines/glk/glulxe/glulxe.cpp')
-rw-r--r--engines/glk/glulxe/glulxe.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/glk/glulxe/glulxe.cpp b/engines/glk/glulxe/glulxe.cpp
index d16ecfb8cc..9db784c969 100644
--- a/engines/glk/glulxe/glulxe.cpp
+++ b/engines/glk/glulxe/glulxe.cpp
@@ -40,7 +40,9 @@ Glulxe::Glulxe(OSystem *syst, const GlkGameDescription &gameDesc) : GlkAPI(syst,
routine_metaclass(0), string_metaclass(0), self(0), num_attr_bytes(0), cpv__start(0),
accelentries(nullptr),
// heap
- heap_start(0), alloc_count(0), heap_head(nullptr), heap_tail(nullptr) {
+ heap_start(0), alloc_count(0), heap_head(nullptr), heap_tail(nullptr),
+ // serial
+ max_undo_level(8), undo_chain_size(0), undo_chain_num(0), undo_chain(nullptr), ramcache(nullptr) {
g_vm = this;
}