Compare commits

..

No commits in common. "6649d769c28d483a0b9df907a872010ccdd71cec" and "deeaad06e1967354708c6f441dc7e528d0433f6e" have entirely different histories.

3 changed files with 0 additions and 8 deletions

View File

@ -189,7 +189,3 @@ int input_get_mousedown(int mousebtn) {
uint32_t mask = SDL_BUTTON(mousebtn);
return (SDL_GetMouseState(NULL, NULL) & mask) != 0;
}
void input_disconnect_all() {
g_key_listeners_endptr = g_key_listeners;
}

View File

@ -30,8 +30,6 @@ extern void input_init();
extern void update_input();
extern void input_notify_event(SDL_Event event);
extern void input_disconnect_all();
#ifdef __cplusplus
}
#endif

View File

@ -1,7 +1,6 @@
#include "scene.h"
#include "ctype.h"
#include "input.h"
#include "stdint.h"
#include "stddef.h"
#include "stdlib.h"
@ -201,7 +200,6 @@ int _validate_scene(FILE* file) {
void load_scene(const char* filename) {
FILE* file = fopen(filename, "r");
if(_validate_scene(file)) {
input_disconnect_all();
world_clear();
_parse_scene(file);
fclose(file);