basic sdl init graphics and engine implementaiton

This commit is contained in:
herbglitch 2022-10-29 00:22:23 -06:00
parent db1adbb838
commit 685364929b
18 changed files with 257 additions and 7 deletions

View file

@ -0,0 +1,24 @@
#ifndef ARC_GRAPHICS_WINDOW_H_
#define ARC_GRAPHICS_WINDOW_H_
typedef struct ARC_Window ARC_Window;
typedef struct ARC_WindowInfo ARC_WindowInfo;
/**
* @brief creates ARC_Window type
*
* @note the parameter data is determined by which graphics library you are using
* please refer to the graphics library section to see what needs to be passed
*
* @param window ARC_Window to initialize
* @param data Data to create ARC_Window
*/
void ARC_Window_Create(ARC_Window **window, void *data);
/**
* @brief destroys ARC_Window type
*/
void ARC_Window_Destroy(ARC_Window *window);
#endif // !ARC_GRAPHICS_WINDOW_H_