add relative mouse handling in mouse.asm
[retroray] / src / app.h
index acd6a71..d09be0b 100644 (file)
--- a/src/app.h
+++ b/src/app.h
@@ -21,7 +21,6 @@ along with this program.  If not, see <https://www.gnu.org/licenses/>.
 #include "sizeint.h"
 #include "logger.h"
 #include "scene.h"
-#include "font.h"
 
 enum {
        KEY_BACKSP = 8,
@@ -86,7 +85,7 @@ extern struct app_screen scr_model, scr_rend;
 struct font;
 extern struct font *uifont;
 
-extern uint32_t *framebuf;
+extern uint32_t *framebuf, *rendbuf;
 
 extern struct scene *scn;
 
@@ -114,4 +113,7 @@ void app_resize(int x, int y);
 void app_fullscreen(int fs);
 void app_vsync(int vsync);
 
+/* defined in scr_mod.c for convenience */
+void primray(cgm_ray *ray, int x, int y);
+
 #endif /* APP_H_ */