21 lines
348 B
C
21 lines
348 B
C
|
#include "FxEngine.h"
|
||
|
|
||
|
#include <display.h>
|
||
|
|
||
|
|
||
|
static int time_since_last_frame=0;
|
||
|
|
||
|
void FE_new_frame()
|
||
|
{
|
||
|
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
|
||
|
}
|