summaryrefslogtreecommitdiff
path: root/src/include/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/memory.h')
-rw-r--r--src/include/memory.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/include/memory.h b/src/include/memory.h
index dab6ed4..e6b7676 100644
--- a/src/include/memory.h
+++ b/src/include/memory.h
@@ -15,9 +15,12 @@ enum memory_table_list {
F_PrincipalBitmaps,
B_Thumbnails,
+ B_PointData,
B_ScratchSpace,
B_CacheEntries,
B_CachedBitmaps,
+
+ M_Count
};
struct memory_table {
@@ -53,15 +56,17 @@ struct history_entry {
uint16 NumberOfActions;
};
+
+
struct history_entry_list {
- history_entry Entry[256];
- history_action Action[1024];
+ history_entry Entry[MAX_HISTORY_ENTRIES];
+ history_action Action[MAX_HISTORY_ACTIONS];
uint16 NumberOfEntries;
uint16 EntryPlayhead;
};
struct memory {
- memory_table Slot[16];
+ memory_table Slot[M_Count];
history_entry_list History;
uint64 ScratchPos;
uint32 EntryCount;