view example/renew_task/spe/Renew4.cc @ 870:79b2d56aa27a

fix SceneGraphRoot::set_game_task.
author tkaito
date Tue, 29 Jun 2010 04:23:52 +0900
parents 44c0bce54dcf
children
line wrap: on
line source

#include <stdio.h>
#include "Renew4.h"
#include "SpeProfile.h"
#include "Func.h"

/* これは必須 */
SchedDefineTask(Renew4);

static int
run(SchedTask *s, void *rbuf, void *wbuf)
{
    SpeProfile *profile = (SpeProfile*) s->global_get(0);
    profile->ProfStop();
    profile->ProfPrint();

    s->printf("[SPE] ** running Renew4\n");
    
    s->printf("[SPE] ** finish  Renew4\n");

    s->global_free(0);

    return 0;
}