Implement play/stop cap and shell music
This commit is contained in:
+12
-7
@@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
# include <OpenGL/gl3.h>
|
||||
# include <SDL2/SDL.h>
|
||||
@@ -17,10 +15,17 @@
|
||||
extern int WINDOW_WIDTH;
|
||||
extern int WINDOW_HEIGHT;
|
||||
|
||||
extern void context_init(const char *title, int width, int height, int major, int minor);
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern bool context_flip_frame_poll_events(void);
|
||||
extern void context_init(const char *title, int width, int height, int major, int minor);
|
||||
extern bool context_flip_frame_poll_events(void);
|
||||
extern SDL_GameController *context_get_controller(void);
|
||||
extern SDL_Window *context_get_window(void);
|
||||
extern SDL_GLContext context_get_gl_context(void);
|
||||
extern void context_terminate(void);
|
||||
|
||||
extern SDL_GameController *context_get_controller(void);
|
||||
|
||||
extern void context_terminate(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user