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

Committer:
Pokitto
Date:
Fri Dec 29 05:17:10 2017 +0000
Revision:
23:f88837b8f914
PokittoLib mbed and Github are back in sync with all contributions from Hanski and Spinal included

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 23:f88837b8f914 1 /**************************************************************************/
Pokitto 23:f88837b8f914 2 /*!
Pokitto 23:f88837b8f914 3 @file ImageFormat.h
Pokitto 23:f88837b8f914 4 @author Hannu Viitala
Pokitto 23:f88837b8f914 5
Pokitto 23:f88837b8f914 6 @section LICENSE
Pokitto 23:f88837b8f914 7
Pokitto 23:f88837b8f914 8 Pokitto development stage library
Pokitto 23:f88837b8f914 9 Software License Agreement
Pokitto 23:f88837b8f914 10
Pokitto 23:f88837b8f914 11 Copyright (c) 2015, Jonne Valola ("Author")
Pokitto 23:f88837b8f914 12 All rights reserved.
Pokitto 23:f88837b8f914 13
Pokitto 23:f88837b8f914 14 This library is intended solely for the purpose of Pokitto development.
Pokitto 23:f88837b8f914 15
Pokitto 23:f88837b8f914 16 Redistribution and use in source and binary forms, with or without
Pokitto 23:f88837b8f914 17 modification requires written permission from Author.
Pokitto 23:f88837b8f914 18 */
Pokitto 23:f88837b8f914 19 /**************************************************************************/
Pokitto 23:f88837b8f914 20
Pokitto 23:f88837b8f914 21 #ifndef IMAGE_FORMAT_H
Pokitto 23:f88837b8f914 22
Pokitto 23:f88837b8f914 23 #define POK_TRACE(str) printf("%s (%d): %s", __FILE__, __LINE__,str)
Pokitto 23:f88837b8f914 24
Pokitto 23:f88837b8f914 25 extern int openImageFileFromSD(char*, uint16_t **, uint8_t **);
Pokitto 23:f88837b8f914 26 extern int directDrawImageFileFromSD(int16_t /*sx*/, int16_t /*sy*/, char* /*filepath*/);
Pokitto 23:f88837b8f914 27 extern int directDrawImageFileFromSD(uint16_t /*ix*/, uint16_t /*iy*/, uint16_t /*iw*/, uint16_t /*ih*/, int16_t /*sx*/, int16_t /*sy*/, char* /*filepath*/);
Pokitto 23:f88837b8f914 28
Pokitto 23:f88837b8f914 29 #define IMAGE_FORMAT_H
Pokitto 23:f88837b8f914 30
Pokitto 23:f88837b8f914 31
Pokitto 23:f88837b8f914 32 #ifndef boolean
Pokitto 23:f88837b8f914 33 //typedef bool boolean;
Pokitto 23:f88837b8f914 34 #endif
Pokitto 23:f88837b8f914 35
Pokitto 23:f88837b8f914 36 #endif // IMAGE_FORMAT_H
Pokitto 23:f88837b8f914 37