chiark / gitweb /
New upstream version 1.18
[chroma-debian.git] / sdlscreen.h
diff --git a/sdlscreen.h b/sdlscreen.h
new file mode 100644 (file)
index 0000000..bb4298b
--- /dev/null
@@ -0,0 +1,33 @@
+/*  
+    sdlscreen.h
+
+    Copyright (C) 2010-2019 Amf
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version. 
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+#define MOUSE_BUTTONS_MAX       6
+
+#define ACTIONS_GAME            0
+#define ACTIONS_EDIT            1
+#define ACTIONS_MENU            2
+
+void screen_size(int width, int height, int fullscreen);
+void screen_clear(int r, int g, int b);
+void screen_resize(int width, int height, int fullscreen);
+void screen_resizeevent(SDL_Event *event);
+void screen_redraw(int x, int y, int w, int h);
+void screen_plotimage(SDL_Surface *psurface, int x, int y);
+void screen_cursor(int cursor);