momento/include/pause.h

15 lines
327 B
C
Raw Permalink Normal View History

2021-05-06 00:06:12 +02:00
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Copyright (C) 2021 KikooDX */
#pragma once
#include "input.h"
struct Pause {
int cursor;
};
struct Pause pause_init(void);
/* Return 1 if game state should change. */
2021-05-06 03:30:43 +02:00
int pause_update(struct Pause *restrict pause, struct Input input);
2021-05-06 00:06:12 +02:00
void pause_draw(struct Pause pause);