Changed keys for Automap Viewing Distance to F9/F10 - Minus/Equal is not Layout independent
This commit is contained in:
parent
1cdf95ed2f
commit
8cc3cad3b0
|
@ -5,6 +5,7 @@ D2X-Rebirth Changelog
|
|||
main/console.c: When printing Gamelog, make sure canvas is NULL
|
||||
main/newmenu.c, main/multi.c, main/automap.c, main/gamecntl.c, ui/inputbox.c, ui/menubar.c, arch/sdl/event.c, arch/sdl/key.c, arch/include/key.h: Yet another UNICODE overhaul - Using seperate buffer for UNICODE chars and only use it in key_ascii() while still using keysyms for the rest of the program so we do not screw up readings by key values altered by modifers - possibly still room to optimize
|
||||
main/gamecntl.c: Fixed cheats!
|
||||
main/automap.c: Changed keys for Automap Viewing Distance to F9/F10 - Minus/Equal is not Layout independent
|
||||
|
||||
20081115
|
||||
--------
|
||||
|
|
|
@ -438,7 +438,7 @@ void draw_automap(int flip)
|
|||
gr_set_fontcolor(BM_XRGB(20, 20, 20), -1);
|
||||
gr_printf((SWIDTH/10.666), (SHEIGHT/1.126), TXT_TURN_SHIP);
|
||||
gr_printf((SWIDTH/10.666), (SHEIGHT/1.083), TXT_SLIDE_UPDOWN);
|
||||
gr_printf((SWIDTH/10.666), (SHEIGHT/1.043), TXT_VIEWING_DISTANCE);
|
||||
gr_printf((SWIDTH/10.666), (SHEIGHT/1.043), "F9/F10 Changes viewing distance");
|
||||
|
||||
gr_set_current_canvas(&Automap_view);
|
||||
|
||||
|
@ -664,13 +664,13 @@ void do_automap( int key_code ) {
|
|||
break;
|
||||
#endif
|
||||
|
||||
case KEY_MINUS:
|
||||
case KEY_F9:
|
||||
if (SegmentLimit > 1) {
|
||||
SegmentLimit--;
|
||||
adjust_segment_limit(SegmentLimit);
|
||||
}
|
||||
break;
|
||||
case KEY_EQUAL:
|
||||
case KEY_F10:
|
||||
if (SegmentLimit < Max_segments_away) {
|
||||
SegmentLimit++;
|
||||
adjust_segment_limit(SegmentLimit);
|
||||
|
|
Loading…
Reference in a new issue