Added love.event.quit() and love.quit() callback
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
enum {
|
||||
EVENT_NULL,
|
||||
EVENT_QUIT,
|
||||
EVENT_KEYBOARD_PRESSED,
|
||||
EVENT_KEYBOARD_RELEASED,
|
||||
EVENT_KEYBOARD_TEXTINPUT,
|
||||
@@ -21,6 +22,11 @@ enum {
|
||||
typedef union {
|
||||
int type;
|
||||
|
||||
struct {
|
||||
int type;
|
||||
int status;
|
||||
} quit;
|
||||
|
||||
struct {
|
||||
int type;
|
||||
int x, y;
|
||||
|
||||
Reference in New Issue
Block a user