stop appending repeat keys to the input buffer
[retroray] / src / app.h
index d09be0b..4cc9b3a 100644 (file)
--- a/src/app.h
+++ b/src/app.h
@@ -22,6 +22,8 @@ along with this program.  If not, see <https://www.gnu.org/licenses/>.
 #include "logger.h"
 #include "scene.h"
 
+#define CFGFILE        "retroray.cfg"
+
 enum {
        KEY_BACKSP = 8,
        KEY_ESC = 27,
@@ -105,13 +107,13 @@ void app_sball_button(int bn, int st);
 void app_chscr(struct app_screen *scr);
 
 /* defined in main.c */
-long app_getmsec(void);
-void app_redisplay(void);
+void app_redisplay(int x, int y, int w, int h);
 void app_swap_buffers(void);
 void app_quit(void);
 void app_resize(int x, int y);
 void app_fullscreen(int fs);
 void app_vsync(int vsync);
+void app_rband(int x, int y, int w, int h);
 
 /* defined in scr_mod.c for convenience */
 void primray(cgm_ray *ray, int x, int y);