2011-06-13 18:48:36 +02:00
|
|
|
/*
|
2019-08-03 19:43:48 +02:00
|
|
|
* This software is licensed under the terms of the MIT License.
|
2017-02-11 04:52:08 +01:00
|
|
|
* See COPYING for further information.
|
2011-06-13 18:48:36 +02:00
|
|
|
* ---
|
2024-05-16 23:30:41 +02:00
|
|
|
* Copyright (c) 2011-2024, Lukas Weber <laochailan@web.de>.
|
|
|
|
* Copyright (c) 2012-2024, Andrei Alexeyev <akari@taisei-project.org>.
|
2011-06-13 18:48:36 +02:00
|
|
|
*/
|
|
|
|
|
2021-08-12 23:09:01 +02:00
|
|
|
#pragma once
|
2017-11-25 20:45:11 +01:00
|
|
|
#include "taisei.h"
|
2011-06-13 18:48:36 +02:00
|
|
|
|
2011-06-24 19:16:05 +02:00
|
|
|
#include "menu.h"
|
2011-06-13 18:48:36 +02:00
|
|
|
|
2024-05-03 04:18:27 +02:00
|
|
|
typedef struct IngameMenuContext {
|
|
|
|
const char *title;
|
|
|
|
} IngameMenuContext;
|
|
|
|
|
2017-03-19 03:32:14 +01:00
|
|
|
void draw_ingame_menu_bg(MenuData *menu, float f);
|
2017-04-20 23:50:33 +02:00
|
|
|
void draw_ingame_menu(MenuData *menu);
|
2012-08-13 19:20:40 +02:00
|
|
|
|
2023-04-07 05:47:47 +02:00
|
|
|
MenuData *create_ingame_menu(void);
|
|
|
|
MenuData *create_ingame_menu_replay(void);
|
2017-04-20 23:50:33 +02:00
|
|
|
|
2017-12-26 12:07:40 +01:00
|
|
|
void update_ingame_menu(MenuData *menu);
|
|
|
|
|
2017-04-20 23:50:33 +02:00
|
|
|
void restart_game(MenuData *m, void *arg);
|