ajout prototype get_fps
This commit is contained in:
parent
b3d1ff01a4
commit
f02b76dbd0
|
@ -3,10 +3,13 @@
|
|||
#include <display.h>
|
||||
|
||||
|
||||
static int time_since_last_frame=0;
|
||||
static int time_last_frame=0;
|
||||
static int frame_interval=0;
|
||||
|
||||
|
||||
void FE_new_frame()
|
||||
{
|
||||
|
||||
FE_move(); // Not implemented yet !
|
||||
FE_zbuffer_clear(); // Not implemented yet !
|
||||
|
||||
|
@ -18,4 +21,4 @@ static void FE_move() // call at each frame
|
|||
{
|
||||
// TODO with math functions, not implemented yet !
|
||||
// TODO insert physical engine
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ extern float FE_dh,FE_dv,FE_roulis;
|
|||
extern FE_Position FE_user={0,0,0};
|
||||
|
||||
void FE_new_frame(); // calls move function
|
||||
int FE_get_fps();
|
||||
// int FE_get_fps();
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue