sdl initializing and deinitializing with temp code
This commit is contained in:
parent
df8c7f7ff1
commit
c0780b7188
9 changed files with 102 additions and 41 deletions
|
|
@ -1,13 +1,16 @@
|
|||
#ifndef ARC_ENGINE_H_
|
||||
#define ARC_ENGINE_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "arc/graphics/window.h"
|
||||
#include "arc/graphics/renderer.h"
|
||||
|
||||
typedef struct ARC_EngineData {
|
||||
ARC_Window *window;
|
||||
ARC_Renderer *renderer;
|
||||
|
||||
} ARC_EngineData;
|
||||
|
||||
//NOTE: most work below is temp, and will change once I figure out a better way to write this header
|
||||
|
|
@ -24,4 +27,8 @@ void ARC_EngineData_Destroy(ARC_EngineData *data);
|
|||
*/
|
||||
void ARC_Engine_Run(ARC_EngineData *data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // !ARC_ENGINE_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue