PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ImageFormat.h Source File

ImageFormat.h

Go to the documentation of this file.
00001 /**************************************************************************/
00002 /*!
00003     @file     ImageFormat.h
00004     @author   Hannu Viitala
00005 
00006     @section LICENSE
00007 
00008     Pokitto development stage library
00009     Software License Agreement
00010 
00011     Copyright (c) 2015, Jonne Valola ("Author")
00012     All rights reserved.
00013 
00014     This library is intended solely for the purpose of Pokitto development.
00015 
00016     Redistribution and use in source and binary forms, with or without
00017     modification requires written permission from Author.
00018 */
00019 /**************************************************************************/
00020 
00021 #ifndef IMAGE_FORMAT_H
00022 
00023 #define POK_TRACE(str) printf("%s (%d): %s", __FILE__, __LINE__,str)
00024 
00025 extern int openImageFileFromSD (char*, uint16_t **, uint8_t **);
00026 extern int directDrawImageFileFromSD(int16_t /*sx*/, int16_t /*sy*/, char* /*filepath*/);
00027 extern int directDrawImageFileFromSD(uint16_t /*ix*/, uint16_t /*iy*/, uint16_t /*iw*/, uint16_t /*ih*/, int16_t /*sx*/, int16_t /*sy*/, char* /*filepath*/);
00028 
00029 #define IMAGE_FORMAT_H
00030 
00031 
00032 #ifndef boolean
00033 //typedef bool boolean;
00034 #endif
00035 
00036 #endif // IMAGE_FORMAT_H
00037