mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 03:23:45 +01:00
Fix compiler error on MSVC with ENABLE_TOUCH=TRUE
This commit is contained in:
parent
84fb663d6c
commit
7e51e2dea6
@ -35,14 +35,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
|
|
||||||
using namespace irr::core;
|
using namespace irr::core;
|
||||||
|
|
||||||
const char **button_imagenames = (const char *[]) {
|
const char *button_imagenames[] = {
|
||||||
"jump_btn.png",
|
"jump_btn.png",
|
||||||
"down.png",
|
"down.png",
|
||||||
"zoom.png",
|
"zoom.png",
|
||||||
"aux1_btn.png"
|
"aux1_btn.png"
|
||||||
};
|
};
|
||||||
|
|
||||||
const char **joystick_imagenames = (const char *[]) {
|
const char *joystick_imagenames[] = {
|
||||||
"joystick_off.png",
|
"joystick_off.png",
|
||||||
"joystick_bg.png",
|
"joystick_bg.png",
|
||||||
"joystick_center.png"
|
"joystick_center.png"
|
||||||
|
@ -85,8 +85,8 @@ typedef enum
|
|||||||
// Very slow button repeat frequency
|
// Very slow button repeat frequency
|
||||||
#define SLOW_BUTTON_REPEAT 1.0f
|
#define SLOW_BUTTON_REPEAT 1.0f
|
||||||
|
|
||||||
extern const char **button_imagenames;
|
extern const char *button_imagenames[];
|
||||||
extern const char **joystick_imagenames;
|
extern const char *joystick_imagenames[];
|
||||||
|
|
||||||
struct button_info
|
struct button_info
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user