mirror of https://git.sr.ht/~kikoodx/momento
15 lines
327 B
C
15 lines
327 B
C
/* 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. */
|
|
int pause_update(struct Pause *restrict pause, struct Input input);
|
|
void pause_draw(struct Pause pause);
|