2010-10-12 10:55:23 +02:00
|
|
|
/*
|
2011-03-05 13:44:21 +01:00
|
|
|
* This software is licensed under the terms of the MIT-License
|
|
|
|
* See COPYING for further information.
|
|
|
|
* ---
|
|
|
|
* Copyright (C) 2011, Lukas Weber <laochailan@web.de>
|
2010-10-12 10:55:23 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef STAGE_H
|
|
|
|
#define STAGE_H
|
|
|
|
|
2011-06-25 12:41:40 +02:00
|
|
|
typedef void (*StageRule)(void);
|
|
|
|
|
|
|
|
void stage_loop(StageRule start, StageRule end, StageRule draw, StageRule event);
|
|
|
|
|
2010-10-12 10:55:23 +02:00
|
|
|
void stage_start();
|
|
|
|
|
|
|
|
void stage_logic();
|
|
|
|
void stage_draw();
|
|
|
|
void stage_input();
|
|
|
|
|
|
|
|
void stage_end();
|
|
|
|
|
2011-04-25 19:40:21 +02:00
|
|
|
void apply_bg_shaders();
|
2010-10-12 10:55:23 +02:00
|
|
|
#endif
|