Some work on brush remapping
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1700 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
10
src/global.h
10
src/global.h
@@ -430,8 +430,16 @@ GFX2_GLOBAL T_List_of_pages * Spare_backups;
|
||||
|
||||
// -- Brush data
|
||||
|
||||
/// Pixel data of the current brush.
|
||||
/// Pixel data of the current brush (remapped).
|
||||
GFX2_GLOBAL byte * Brush;
|
||||
/// Pixel data of the current brush (before remap).
|
||||
GFX2_GLOBAL byte * Brush_original_pixels;
|
||||
/// Palette of the brush, from when it was grabbed.
|
||||
GFX2_GLOBAL T_Palette Brush_original_palette;
|
||||
/// Back_color used when the brush was grabbed
|
||||
GFX2_GLOBAL byte Brush_original_back_color;
|
||||
/// Color mapping from ::Brush_original_pixels to ::Brush
|
||||
GFX2_GLOBAL byte Brush_colormap[256];
|
||||
/// X coordinate of the brush's "hot spot". It is < ::Brush_width
|
||||
GFX2_GLOBAL word Brush_offset_X;
|
||||
/// Y coordinate of the brush's "hot spot". It is < ::Brush_height
|
||||
|
||||
Reference in New Issue
Block a user