You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
488 B
C++

#define SYS_PLATFORM_WIN32_OPENGL
#include "../l3libv2/l3libv2.h"
int game_main()
{
gl_gfx.SetDisplayMode(1024,768,0,0);
DebugOutLn("time: %f",gl_time.GetDeltaTime());
gl_time.Sleep(10);
DebugOutLn("time: %f",gl_time.GetDeltaTime());
gl_time.Sleep(40);
DebugOutLn("time: %f",gl_time.GetDeltaTime());
gl_time.Sleep(4000);
DebugOutLn("time: %f",gl_time.GetDeltaTime());
int i = 4;
while( i-- > 0 ){
DebugOutLn("%f", gl_time.GetRandF( 0.0f, 1.0f ));
}
return 0;
}