summaryrefslogtreecommitdiff
path: root/meme/screen.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-02-14 02:12:42 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-02-14 02:13:28 (GMT)
commitfd505de82aa73c850d7b122dc3c9f7829995ad9c (patch)
tree26c825b2c209918c758a7dee1fa7a29e1b6195bb /meme/screen.h
parent32f2b42c5055e0783ad3c076a1bdb9d6abcb5b28 (diff)
downloadmisc-fd505de82aa73c850d7b122dc3c9f7829995ad9c.zip
misc-fd505de82aa73c850d7b122dc3c9f7829995ad9c.tar.gz
misc-fd505de82aa73c850d7b122dc3c9f7829995ad9c.tar.bz2
meme/: add screen dumps with "D"; option "-d dump.bmp" to set dump name
Diffstat (limited to 'meme/screen.h')
-rw-r--r--meme/screen.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/meme/screen.h b/meme/screen.h
index 9bfe845..f9c0c9a 100644
--- a/meme/screen.h
+++ b/meme/screen.h
@@ -1,8 +1,8 @@
/*
* screen.h - Screen dump
*
- * Written 2015 by Werner Almesberger
- * Copyright 2015 Werner Almesberger
+ * Written 2015-2016 by Werner Almesberger
+ * Copyright 2015-2016 Werner Almesberger
*
* 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
@@ -14,11 +14,13 @@
#ifndef SCREEN_H
#define SCREEN_H
+#include "SDL.h"
+
extern const char *screen_dump_name;
-void dump_screen_file(const char *name);
-void dump_screen(void);
+void dump_screen_file(SDL_Surface *s, const char *name);
+void dump_screen(SDL_Surface *s);
#endif /* !SCREEN_H */