1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00

First headless version

This commit is contained in:
Runelaenen
2015-08-19 18:07:04 +02:00
parent 408628c80c
commit fb5921db6d
7 changed files with 67 additions and 55 deletions

View File

@@ -42,6 +42,7 @@
#include "world/map.h"
#include "world/sprite.h"
#include "world/scenery.h"
#include "openrct2.h"
static int _dragX, _dragY;
static rct_windowclass _dragWindowClass;
@@ -1331,7 +1332,7 @@ void game_handle_keyboard_input()
// Handle key input
while ((key = get_next_key()) != 0) {
while (!gOpenRCT2Headless && (key = get_next_key()) != 0) {
if (key == 255)
continue;