From 2f164ae23bcd8a857081529189b484a1515f2834 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Fri, 20 Jan 2023 10:10:54 -0500 Subject: youarelazy --- src/include/memory.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/include/memory.h') 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; -- cgit v1.2.3