1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Asteroid Busters Copyright (C) 2008, 2009, 2010 Alexander Voigt
# <Alexander.Voigt2@gmx.de>
#
# This file is part of Asteroid Busters.
#
# Asteroid Busters is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Asteroid Busters is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Asteroid Busters. If not, see
# <http://www.gnu.org/licenses/>.
# This is the configuration file for Asteroid Busters. This file is
# modified by the class TConfig, see src/config.h and src/configfile.h
#
# Advices for modification:
#
# - lines beginning with a # are ignored
# - a keyword and its value are separated by one or more spaces
# - all words after a key value pair are ignored
##########
# Screen #
##########
scr_w 640 # x-resolution (supported are: 640x480, 800x600, 1024x768, 1280x1024, 1600x1200)
scr_h 480 # y-resolution
scr_bpp 0 # Bits per pixel; if 0 than current screen depth is used (fastest)
scr_fps 0 # frames per second; if 0 than frames per second (fps) are not drawn, else fps are drawn
scr_smo 0 # smoothing; if 0 than no smoothing of images (fast), else smooth-factor (1=strong smoothing, >>1 weak)
# screen settings
scr_ful 0 # 1 = fullscreen, 0 = window
############
# Keyboard #
############
# see 'SDLKey.txt' for possible key names
### Player 1 keys
pl1_key_fwd SDLK_UP # forwards
pl1_key_bwd SDLK_DOWN # backwards
pl1_key_lef SDLK_LEFT # rotate left
pl1_key_rig SDLK_RIGHT # rotate right
pl1_key_fir SDLK_SPACE # fire
### Player 2 keys
pl2_key_fwd SDLK_w # forwards
pl2_key_bwd SDLK_s # backwards
pl2_key_lef SDLK_a # rotate left
pl2_key_rig SDLK_d # rotate right
pl2_key_fir SDLK_LALT # fire buttom
########
# Game #
########
pla_num 2 # number of players
|