mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2024-09-20 11:47:34 -07:00
17 lines
415 B
C
17 lines
415 B
C
/*
|
|
This represents the API only accessible to the platform layer to fullfill for the engine layer.
|
|
*/
|
|
#pragma once
|
|
#include "engine.h"
|
|
|
|
NS_ENGINE_BEGIN
|
|
|
|
void startup();
|
|
void shutdown();
|
|
|
|
// Needs a contextual reference to four things:
|
|
// Timing, Input, Bitmap Buffer, Sound Buffer
|
|
void update_and_render( InputState* input, OffscreenBuffer* back_buffer, SoundBuffer* sound_buffer, Memory* memory );
|
|
|
|
NS_ENGINE_END
|