Lines 3-8
Link Here
|
3 |
# |
3 |
# |
4 |
# 2004 Travis Poppe |
4 |
# 2004 Travis Poppe |
5 |
|
5 |
|
|
|
6 |
USERDIR=$HOME/.wolf3d |
7 |
|
8 |
if [ -x $USERDIR ]; then |
9 |
echo "wolf3d appears to be installed to $USERDIR/" |
10 |
echo "" |
11 |
echo "Basic options:" |
12 |
echo "" |
13 |
echo "-nowait Skips introduction" |
14 |
echo "-nojoy Disables joystick" |
15 |
echo "-nomouse Disables mouse" |
16 |
echo "-x2 Increases screen size by x2" |
17 |
echo "-x3 Increases screen size by x3" |
18 |
echo "-fullscreen Enables fullscreen mode" |
19 |
echo "-demotest Starts wolf3d in demonstration mode" |
20 |
echo "-version Reports game version" |
21 |
echo "" |
22 |
|
23 |
cd $USERDIR |
24 |
./sdlwolf3d $* |
25 |
exit |
26 |
fi |
27 |
|
28 |
mkdir $USERDIR |
29 |
ln -s %%PREFIX%%/libexec/wolf3d/* $USERDIR |
30 |
|
31 |
echo "Installed wolf3d to $USERDIR/" |
32 |
echo "" |
6 |
echo "Basic options:" |
33 |
echo "Basic options:" |
7 |
echo "" |
34 |
echo "" |
8 |
echo "-nowait Skips introduction" |
35 |
echo "-nowait Skips introduction" |
Lines 14-18
Link Here
|
14 |
echo "-demotest Starts wolf3d in demonstration mode" |
41 |
echo "-demotest Starts wolf3d in demonstration mode" |
15 |
echo "-version Reports game version" |
42 |
echo "-version Reports game version" |
16 |
echo "" |
43 |
echo "" |
17 |
cd %%PREFIX%%/libexec/wolf3d |
44 |
|
|
|
45 |
cd $USERDIR |
18 |
./sdlwolf3d $* |
46 |
./sdlwolf3d $* |