Mercurial > hg > Game > Cerium
view Renderer/Engine/task/InitKey.cc @ 1161:cc1a50cac83d draft
use MemorySegment API for pp load. do not check execution of the cell side. to be continued..
author | Yutaka_Kinjyo |
---|---|
date | Thu, 05 May 2011 00:15:43 +0900 |
parents | eb6add789a24 |
children |
line wrap: on
line source
#include <stdlib.h> #include <string.h> #include "InitKey.h" #include "Func.h" #include "KeyStat.h" SchedDefineTask(InitKey); static int run(SchedTask *smanager, void *rbuf , void *wbuf) { smanager->global_alloc(KEY_STATUS, sizeof(key_stat)); return 0; }