diff options
Diffstat (limited to 'apps/graphics/traveler/include/trv_graphicfile.h')
-rw-r--r-- | apps/graphics/traveler/include/trv_graphicfile.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/apps/graphics/traveler/include/trv_graphicfile.h b/apps/graphics/traveler/include/trv_graphicfile.h index fabec2162..dd4dd9db1 100644 --- a/apps/graphics/traveler/include/trv_graphicfile.h +++ b/apps/graphics/traveler/include/trv_graphicfile.h @@ -41,40 +41,18 @@ ****************************************************************************/ #include "trv_types.h" +#include "trv_color.h" /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ -/* MAGIC_LENGTH must be the length of the longest MAGIC string. */ - -#define MAGIC_LENGTH 5 -#define GIF_MAGIC "GIF87" -#define GIF89_MAGIC "GIF89" -#define PPM_MAGIC "P6" - /**************************************************************************** * Public Type Definitions ****************************************************************************/ -enum trv_graphicfile_format_e -{ - GRAPHICFILE_UNKNOWN = 0, - GRAPHICFILE_GIF87, - GRAPHICFILE_GIF89, - GRAPHICFILE_PPM, - GRAPHICFILE_PCX -}; - -enum trv_graphicfile_type_e -{ - GRAPHICFILE_TRUECOLOR = 0, - GRAPHICFILE_PALETTED -}; - struct trv_graphicfile_s { - uint8_t type; /* See enum trv_graphicfile_type_e */ uint16_t height; uint16_t width; int palette_entries; |