From bd25daeae033e4f905ae0145831a7d8fdd92e471 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Sat, 11 Feb 2023 17:37:49 -0500 Subject: v4.0 --- src/include/defines.h | 4 ++-- src/include/main.h | 2 +- src/include/memory.h | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/include') diff --git a/src/include/defines.h b/src/include/defines.h index 2100c07..884ab46 100644 --- a/src/include/defines.h +++ b/src/include/defines.h @@ -31,8 +31,8 @@ typedef uint64 ptrsize; // is there a compiler variable for 32 vs 64 bit like #define MAX_LAYERS 2048 #define MAX_EFFECTS 32 #define MAX_SOURCES 1024 -#define MAX_HISTORY_ENTRIES 1024 -#define MAX_HISTORY_ACTIONS 4096 +#define MAX_HISTORY_ENTRIES 2048 +#define MAX_HISTORY_ACTIONS 8192 #define MAX_COMPS 1024 #define MAX_PRECOMP_RECURSIONS 4 #define MAX_MASKS 8 diff --git a/src/include/main.h b/src/include/main.h index da037dc..10604cb 100644 --- a/src/include/main.h +++ b/src/include/main.h @@ -402,7 +402,7 @@ enum gl_shape_renderflags { gl_renderflag_fill = 1 << 0, gl_renderflag_stroke = 1 << 1, - gl_renderflag_concave = 1 << 2 + gl_renderflag_convex = 1 << 2 }; struct gl_data diff --git a/src/include/memory.h b/src/include/memory.h index ae3fd61..c312c8f 100644 --- a/src/include/memory.h +++ b/src/include/memory.h @@ -46,12 +46,12 @@ struct history_action { uint64 Size; uint64 ByteOffset; uint64 ShiftAmount; // Only for type_shift - int16 Direction; // Only for type_shift + int32 Direction; // Only for type_shift }; struct history_entry { char *Name; - uint16 NumberOfActions; + uint32 NumberOfActions; }; @@ -59,8 +59,8 @@ struct history_entry { struct history_entry_list { history_entry Entry[MAX_HISTORY_ENTRIES]; history_action Action[MAX_HISTORY_ACTIONS]; - uint16 NumberOfEntries; - uint16 EntryPlayhead; + uint32 NumberOfEntries; + uint32 EntryPlayhead; }; struct memory { -- cgit v1.2.3