view Renderer/Engine/task/InitKey.cc @ 761:c0a8af52fa43 draft

add lights
author yutaka@henri.cr.ie.u-ryukyu.ac.jp
date Sat, 06 Feb 2010 03:02:48 +0900
parents 3bc98f6d31ff
children eb6add789a24
line wrap: on
line source

#include <stdlib.h>
#include <string.h>
#include "InitKey.h"
#include "Func.h"
#include "global_alloc.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;
}