passage/gamma256/gameSource/iPhone/drawIntoScreen.h
2025-10-03 02:19:59 -04:00

22 lines
535 B
C

// interface for generic screen drawing framework
#include <stdint.h>
typedef uint32_t Uint32;
void initScreenDrawer( Uint32 *inScreenBuffer, int inWidth, int inHeight );
// each pixel is 4 characters
void drawIntoScreen( Uint32 *inScreenBuffer, int inWidth, int inHeight );
// set device orientation from accelerometer
void setOrientation( float inX, float inY );
void touchStartPoint( float inX, float inY );
void touchMovePoint( float inX, float inY );
void touchEndPoint( float inX, float inY );
void freeScreenDrawer();