Initial source commit
This commit is contained in:
commit
f1384c11ee
335 changed files with 52715 additions and 0 deletions
21
gamma256/gameSource/iPhone/testScreenDrawer.cpp
Normal file
21
gamma256/gameSource/iPhone/testScreenDrawer.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
|
||||
#include "drawIntoScreen.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
void drawIntoScreen( Uint32 *inScreenBuffer, int inWidth, int inHeight ) {
|
||||
// add dot at random spot
|
||||
int x = rand() % inWidth;
|
||||
int y = rand() % inHeight;
|
||||
|
||||
int i = y * inWidth + x;
|
||||
|
||||
inScreenBuffer[ i ] = 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
void initScreenDrawer( Uint32 *inScreenBuffer, int inWidth, int inHeight ) {
|
||||
}
|
||||
|
||||
void freeScreenDrawer() {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue