moved entry to corelib
parent
528e35537f
commit
f395f27532
|
@ -1,8 +1,9 @@
|
|||
#include "engine.h"
|
||||
#include "entry.h"
|
||||
#include "world.h"
|
||||
#include "corelib/assets.h"
|
||||
#include "corelib/render.h"
|
||||
#include "corelib/input.h"
|
||||
#include "assets.h"
|
||||
#include "render.h"
|
||||
#include "input.h"
|
||||
|
||||
#include "time.h"
|
||||
|
||||
static double _delta_time = 0;
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
#ifndef _engine_h
|
||||
#define _engine_h
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern float delta_time();
|
||||
extern void set_frame_interval(double frame_interval);
|
||||
extern void set_frame_rate_limit(int fps);
|
||||
|
@ -16,8 +12,4 @@ extern void update_game();
|
|||
extern void update_ui();
|
||||
extern void game_exit();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _engine_h */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "engine.h"
|
||||
#include "world.h"
|
||||
#include "corelib/entry.h"
|
||||
#include "corelib/world.h"
|
||||
#include "corelib/input.h"
|
||||
#include "corelib/render.h"
|
||||
#include "corelib/assets.h"
|
||||
|
|
Loading…
Reference in New Issue