projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- added read_string_vector
[supertux.git]
/
src
/
title.cpp
diff --git
a/src/title.cpp
b/src/title.cpp
index
3d877a1
..
13f878b
100644
(file)
--- a/
src/title.cpp
+++ b/
src/title.cpp
@@
-124,22
+124,18
@@
int title(void)
quit = 1;
}
}
quit = 1;
}
}
-#ifdef JOY_YES
else if (event.type == SDL_JOYAXISMOTION && event.jaxis.axis == JOY_Y)
{
if (event.jaxis.value > 1024)
else if (event.type == SDL_JOYAXISMOTION && event.jaxis.axis == JOY_Y)
{
if (event.jaxis.value > 1024)
- menuaction = MN_DOWN;
+ menuaction = M
ENU_ACTIO
N_DOWN;
else if (event.jaxis.value < -1024)
else if (event.jaxis.value < -1024)
- menuaction = MN_UP;
+ menuaction = M
ENU_ACTIO
N_UP;
}
else if (event.type == SDL_JOYBUTTONDOWN)
{
/* Joystick button: Continue: */
}
else if (event.type == SDL_JOYBUTTONDOWN)
{
/* Joystick button: Continue: */
-
- menuaction = MN_HIT;
+ menuaction = MENU_ACTION_HIT;
}
}
-#endif
-
}
/* Draw the background: */
}
/* Draw the background: */