moved entry to corelib

pull/12/head
Sara 2023-06-27 08:16:31 +02:00
parent 528e35537f
commit f395f27532
3 changed files with 7 additions and 14 deletions

View File

@ -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;

View File

@ -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 */

View File

@ -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"