mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-30 21:59:15 +00:00
Fix "error: implicit declaration of function" from dspsubrs
Creates an sdldefs.h, declares a few more functions in sdl.c static, and includes sdldefs.h in dspsubrs.c when necessary.
This commit is contained in:
11
inc/sdldefs.h
Normal file
11
inc/sdldefs.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef SDLDEFS_H
|
||||
#define SDLDEFS_H 1
|
||||
|
||||
void sdl_notify_damage(int x, int y, int w, int h);
|
||||
void sdl_setCursor(int hot_x, int hot_y);
|
||||
void sdl_bitblt_to_screen(int _x, int _y, int _w, int _h);
|
||||
void sdl_set_invert(int flag);
|
||||
void sdl_setMousePosition(int x, int y);
|
||||
void process_SDLevents();
|
||||
int init_SDL(char *windowtitle, int w, int h, int s);
|
||||
#endif
|
||||
Reference in New Issue
Block a user