twn_util.h: separate internal things away, remove indirect includes in places

This commit is contained in:
2024-10-12 21:16:25 +03:00
parent e70366f82f
commit 1a7322dccf
14 changed files with 45 additions and 44 deletions

View File

@ -2,21 +2,22 @@
#ifndef TWN_GAME_API_H
#define TWN_GAME_API_H
#include "twn_input.h"
#include "twn_context.h"
#include "twn_draw.h"
#include "twn_audio.h"
#include "twn_util.h"
#include "twn_input.h"
#include "twn_engine_api.h"
#include "twn_util.h"
#ifndef TWN_NOT_C
/* sole game logic and display function.
all state must be used from and saved to supplied state pointer. */
TWN_API extern void game_tick(void);
/* called when application is closing. */
TWN_API extern void game_end(void);
/* sole game logic and display function.
all state must be used from and saved to supplied state pointer. */
TWN_API extern void game_tick(void);
/* called when application is closing. */
TWN_API extern void game_end(void);
#endif
#endif