CPC mode 5 : replaced the global Constraint_mode by a state (Image_mode) in each versioned T_Page: This allows keeping it sane when swapping to Spare, and when Undo/Redoing. Also fixed the first page when program starts, it was unnecessarily allocating pointers for the maximum number of layers(16)/frames(999)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1907 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -564,4 +564,11 @@ enum OPERATIONS
|
||||
NB_OPERATIONS ///< Number of operations handled by the engine
|
||||
};
|
||||
|
||||
enum IMAGE_MODES
|
||||
{
|
||||
IMAGE_MODE_LAYERED=0, ///< Layered image
|
||||
IMAGE_MODE_ANIMATION, ///< Animation
|
||||
IMAGE_MODE_MODE5, ///< CPC mode 5
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user