2019-07-20 16:03:28 +02:00
|
|
|
#include "FxEngine.h"
|
|
|
|
|
|
|
|
#include <display.h>
|
|
|
|
|
|
|
|
|
2019-07-20 16:12:33 +02:00
|
|
|
static int time_last_frame=0;
|
|
|
|
static int frame_interval=0;
|
|
|
|
|
2019-07-20 16:03:28 +02:00
|
|
|
|
|
|
|
void FE_new_frame()
|
|
|
|
{
|
2019-07-20 16:12:33 +02:00
|
|
|
|
2019-07-20 16:03:28 +02:00
|
|
|
FE_move(); // Not implemented yet !
|
|
|
|
FE_zbuffer_clear(); // Not implemented yet !
|
|
|
|
|
|
|
|
dupdate();
|
|
|
|
dclear();
|
|
|
|
}
|
|
|
|
|
|
|
|
static void FE_move() // call at each frame
|
|
|
|
{
|
|
|
|
// TODO with math functions, not implemented yet !
|
|
|
|
// TODO insert physical engine
|
2019-07-20 16:12:33 +02:00
|
|
|
}
|