mirror of https://git.sr.ht/~kikoodx/momento
16 lines
293 B
C
16 lines
293 B
C
|
/* SPDX-License-Identifier: GPL-3.0-or-later */
|
||
|
/* Copyright (C) 2021 KikooDX */
|
||
|
|
||
|
#include "titlescreen.h"
|
||
|
#include <gint/keyboard.h>
|
||
|
|
||
|
/* Return 1 if game state should change. */
|
||
|
int titlescreen_update(struct TitleScreen *titlescreen)
|
||
|
{
|
||
|
if (keydown(KEY_SHIFT)) {
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
return 0;
|
||
|
}
|