Wizapply Documents
Cross-platform C framework very compact libraries and tools.
Status: Inactive
Brought to you by:
smilytics

#include <use_sherry.h>
#include <shEntryPoint.h>
static void UpdateFunc(void);
static void DrawFunc(void);
int Initialize()
{ //!App initialize Process
shInitCreateSherry("smatcha sample",320,480,0,Direct3D9);
shSetClearColor(0.1f,0.1f,0.1f);
shSetSpriteScSize(320, 480);
shSetUpdateThread(60,UpdateFunc);
shSetDrawThread(DrawFunc);
return 0;
}
int Terminate()
{ //!App exit process
shExitSherry();
return 0;
}
void UpdateFunc(void)
{ //!Update
}
void DrawFunc(void)
{ //!Draw
shClear();
shFontSize(16);
shPrintf(30,30,"sample");
}