Connected the AssetManager to the GameEngine and added function in the
GameEngine API to allow for loading and removing assets as well as rendering textures using their AssetID
This commit is contained in:
1 parent
c4f1775392
commit
3f71cf0f3f
11 files changed
+156
-33
No files matched your search
+3
-2
@@ -11,11 +11,12 @@ typedef struct window {
|
||||
int height;
|
||||
Renderer *renderer;
|
||||
SDL_Window *SDL_base_window;
|
||||
SDL_Color background_color;
|
||||
} Window;
|
||||
|
||||
bool init_window(Window *wnd, const char *title, int width, int height,
|
||||
bool full_screen);
|
||||
void fill_window_with_color(const Window *wnd, SDL_Color color);
|
||||
SDL_Color color, bool full_screen);
|
||||
void clear_window(const Window *wnd);
|
||||
void swap_render_buffers(const Window *wnd);
|
||||
void destroy_window(Window *wnd);
|
||||
|
||||
|
||||
Reference in new issue
Block a user