X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=162ca4890c55ee68ad604c1751262d4da6f24b62;hb=869cd97d49c2155f59ae0a45f7fd01bb9012c3df;hp=6706f2014241f2b935cbbb5fedb6e74ffbda1d32;hpb=b197ad86c0801f6139e4f147bf22bd375c9dfb63;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index 6706f201..162ca489 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -197,6 +197,8 @@ #define DEFAULT_KEY_SNAP_RIGHT KSYM_UNDEFINED #define DEFAULT_KEY_SNAP_UP KSYM_UNDEFINED #define DEFAULT_KEY_SNAP_DOWN KSYM_UNDEFINED +#define DEFAULT_KEY_SPEED_FAST KSYM_f +#define DEFAULT_KEY_SPEED_SLOW KSYM_s // default debug setup keys and values #define DEFAULT_FRAME_DELAY_0 20 // 100 % speed @@ -1114,6 +1116,8 @@ struct AudioSystemInfo char *device_name; int device_fd; + int sample_rate; + int num_channels; int music_channel; int first_sound_channel; @@ -1382,6 +1386,9 @@ struct SetupShortcutInfo Key snap_right; Key snap_up; Key snap_down; + + Key speed_fast; + Key speed_slow; }; struct SetupSystemInfo @@ -1439,6 +1446,7 @@ struct SetupInternalInfo boolean menu_shortcuts_tape; boolean menu_shortcuts_sound; boolean menu_shortcuts_snap; + boolean menu_shortcuts_speed; boolean info_title; boolean info_elements; @@ -1541,6 +1549,7 @@ struct SetupInfo int volume_simple; int volume_loops; int volume_music; + boolean audio_sample_rate_44100; boolean network_mode; int network_player_nr;