/***************************************************************************** * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.mozilla.org/MPL/ * * @(#) Colloidal for Ndless 2.0 (Colloidal Engine file) * Core engine file header * * Copyright (C) August 15, 2011 Joe Kim (SolusIpse) * Contact: solusipse0x5@gmail.com * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. *****************************************************************************/ #ifndef _COLLOIDAL_H_ #define _COLLOIDAL_H_ #include extern unsigned long colloidal(void); extern void idle2(void); extern void itoa2(long n, char s[]); extern void reverse(char s[]); extern inline int getPixel2(int x, int y, unsigned char* screenbuf); extern inline void brick_draw(int x, int y, unsigned char color, unsigned char* screenbuf); extern inline void player_draw(int x, int y, unsigned char color, unsigned char* screenbuf); extern inline void death_draw(int x, int y, unsigned char color, unsigned char* screenbuf); typedef struct file { char* data ; unsigned int size ; } File ; #endif