RetroArch/cheevos/cheevos_menu.h

42 lines
1.4 KiB
C
Raw Normal View History

2018-09-02 13:23:37 +00:00
/* RetroArch - A frontend for libretro.
* Copyright (C) 2015-2018 - Andre Leiradella
2021-06-01 17:59:27 +00:00
* Copyright (C) 2019-2021 - Brian Weiss
2018-09-02 13:23:37 +00:00
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
2021-06-01 17:59:27 +00:00
#ifndef __RARCH_CHEEVOS_MENU_H
#define __RARCH_CHEEVOS_MENU_H
#ifdef HAVE_MENU
2018-09-02 13:23:37 +00:00
2020-02-17 21:28:21 +00:00
#include <stdint.h>
2021-06-01 17:59:27 +00:00
#include <stdlib.h>
2020-02-17 21:28:21 +00:00
#include <boolean.h>
2019-04-22 02:01:20 +00:00
2021-06-01 17:59:27 +00:00
#include <retro_common_api.h>
2018-09-02 13:23:37 +00:00
RETRO_BEGIN_DECLS
2021-06-01 17:59:27 +00:00
void rcheevos_menu_populate(void* data);
void rcheevos_menu_populate_hardcore_pause_submenu(void* data);
bool rcheevos_menu_get_state(unsigned menu_offset, char* buffer, size_t buffer_size);
bool rcheevos_menu_get_sublabel(unsigned menu_offset, char* buffer, size_t buffer_size);
uintptr_t rcheevos_menu_get_badge_texture(unsigned menu_offset);
2018-09-02 13:23:37 +00:00
RETRO_END_DECLS
2021-06-01 17:59:27 +00:00
#endif /* HAVE_MENU */
#endif /* __RARCH_CHEEVOS_MENU_H */