3
* An Idea and Atari version: LK Avalon, Janusz Pelc, 1989
4
* Linux Code: Arkadiusz Lipiec, 2002-2009
5
* <arkadiusz.lipiec@gmail.com>
7
* <thunorsif@hotmail.com>
9
* GNU Robbo is free software - you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2, or (at your option)
14
* GNU Robbo is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the impled warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* You should have received a copy of the GNU General Public License
20
* along with GNU CC; see the file COPYING. If not, write to the
21
* Free Software Foundation, 59 Temple Place - Suite 330,
22
* Boston, MA 02111-1307, USA.
29
#define MESSAGE_BOX_VOLUME_ID "volume"
30
#define DELAY_MESSAGE_BOX_VOLUME (1 * game_cycle_limit) /* ms */
35
/* Function prototypes */
38
/***************************************************************************
40
***************************************************************************/
42
void volume_up(void) {
47
sprintf(tempstring, "%s: %i%%", txt_Volume, volume);
48
show_message_box(REDRAW_INITIALISE, MESSAGE_BOX_VOLUME_ID, DELAY_MESSAGE_BOX_VOLUME, tempstring, FALSE, 6 * video.field_size, 2 * video.field_size);
52
/***************************************************************************
54
***************************************************************************/
56
void volume_down(void) {
61
sprintf(tempstring, "%s: %i%%", txt_Volume, volume);
62
show_message_box(REDRAW_INITIALISE, MESSAGE_BOX_VOLUME_ID, DELAY_MESSAGE_BOX_VOLUME, tempstring, FALSE, 6 * video.field_size, 2 * video.field_size);