diff options
author | Fox Caminiti <fox@foxcam.net> | 2023-01-20 10:10:54 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2023-01-20 10:10:54 -0500 |
commit | 2f164ae23bcd8a857081529189b484a1515f2834 (patch) | |
tree | c7f5b163f7e1585a8fbdb3b8fb7fb012761ae239 /src/include/memory.h | |
parent | 1d0d8549411e23394059f420f053cc3ee28dacfb (diff) |
youarelazy
Diffstat (limited to 'src/include/memory.h')
-rw-r--r-- | src/include/memory.h | 11 |
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; |