Much much better
This commit is contained in:
1 parent
adc7f5e208
commit
4f02128553
24 files changed
+371
-360
No files matched your search
@@ -1,35 +0,0 @@
|
||||
/**
|
||||
* Copyright (c) 2021 Dominic Msters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <stdbool.h>
|
||||
#include "../platform/platform.h"
|
||||
#include "../engine/engine.h"
|
||||
|
||||
/** Information about the current game context. */
|
||||
typedef void game_t;
|
||||
|
||||
/**
|
||||
* Initialize the game context.
|
||||
*
|
||||
* @param platform The platform that the game is running on.
|
||||
* @return The game instance context.
|
||||
*/
|
||||
game_t * gameInit(platform_t *platform);
|
||||
|
||||
/**
|
||||
* Start the main game loop.
|
||||
*
|
||||
* @param game The game to start the loop for.
|
||||
*/
|
||||
void gameStart(game_t *game);
|
||||
|
||||
/**
|
||||
* Cleanup a previously constructed.
|
||||
* @param game The game to cleanup.
|
||||
*/
|
||||
void gameDispose(game_t *game);
|
||||
Reference in new issue
Block a user