Initial source commit
This commit is contained in:
commit
f1384c11ee
335 changed files with 52715 additions and 0 deletions
22
gamma256/gameSource/iPhone/drawIntoScreen.h
Normal file
22
gamma256/gameSource/iPhone/drawIntoScreen.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// 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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue