Added pawn system for input via scheme

This commit is contained in:
2022-12-20 00:15:38 +00:00
parent 9bdb7ce9cb
commit 5ae72062a2
10 changed files with 108 additions and 37 deletions

View File

@@ -4,6 +4,8 @@
#include <stdint.h>
#include "window.h"
#include "script.h"
extern int32_t mouseWheelX;
extern int32_t mouseWheelY;
extern int ychange;
@@ -26,7 +28,8 @@ void win_key_callback(GLFWwindow *w, int key, int scancode, int action, int mods
struct inputaction
{
int scancode;
};
void set_pawn(s7_pointer env);
#endif