Commit 8a13248d authored by Fabian Greffrath's avatar Fabian Greffrath

Merge tag 'upstream/1.1.2+svn287'

Upstream version 1.1.2+svn287
parents 3cf851dd aede78d6
SUBDIRS = rott
FLVRS=huntbgin darkwar rottcd rottsite
ROTTS=$(addprefix rott-,$(FLVRS))
SRCDIR=rott
all: $(ROTTS)
# Shareware Version
rott-huntbgin:
$(MAKE) -C $(SRCDIR) tidy
$(MAKE) -C $(SRCDIR) ROTT=$@
mv $(SRCDIR)/$@ .
# Commercial Version
rott-darkwar:
$(MAKE) -C $(SRCDIR) tidy
$(MAKE) -C $(SRCDIR) ROTT=$@ SHAREWARE=0
mv $(SRCDIR)/$@ .
# CD Version
rott-rottcd:
$(MAKE) -C $(SRCDIR) tidy
$(MAKE) -C $(SRCDIR) ROTT=$@ SHAREWARE=0 SUPERROTT=1
mv $(SRCDIR)/$@ .
# Site License CD Version
rott-rottsite:
$(MAKE) -C $(SRCDIR) tidy
$(MAKE) -C $(SRCDIR) ROTT=$@ SHAREWARE=0 SITELICENSE=1
mv $(SRCDIR)/$@ .
clean:
$(MAKE) -C $(SRCDIR) $@
$(RM) $(ROTTS) $(addsuffix .exe,$(ROTTS))
......@@ -71,23 +71,36 @@ distributions. Patches are always welcome. ;-)
General Hints
-------------
To compile the source code under Linux, change to the rott/ directory and type:
The following prerequisites are required to compile the source code:
make clean
autoconf
automake
pkg-config
SDL 1.2
SDL_mixer 1.2
To compile the source code, type the following:
autoreconf -fiv
./configure
make
The build system is setup to use shareware binaries. If you want to use the
registered version of ROTT, compile with:
The resulting binaries can be found in the rott/ directory.
The build system is setup to build the commercial variant of ROTT.
This variant supports the Registered Version, the "Super ROTT" CD Version and
the "Site License" CD Version of the game by automatically detecting and
loading their corresponding multiplayer map files.
make SHAREWARE=0
If you want to build the shareware version of ROTT, configure with:
You may additionally append SUPERROTT=1 or SITELICENSE=1, if you want to use
the CD version or the Site License CD version, respectively. However, make
sure to only set one of them to 1 at once. You may want to edit rott/Makefile
to make your changes persistent.
./configure --enable-shareware
It is generally recommended to build against the most recent version of
the Simple Direct Media Layer and SDL_mixer.
Additionally, you may pass the "--enable-suffix=<suffix>" parameter to
./configure in order to append a suffix to the executable file name,
e.g. to tell the commercial and the shareware variants apart. You may
also want to pass the "--enable-datadir=<datadir>" parameter to point
the executables to the location of your game data files.
------------
......
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([rott], [1.1.2])
AM_INIT_AUTOMAKE([foreign no-define])
AC_CONFIG_SRCDIR([rott/version.h])
#AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CC
AC_PROG_RANLIB
# Checks for libraries.
AC_DEFINE([USE_SDL])
PKG_CHECK_MODULES([SDL], [sdl])
PKG_CHECK_MODULES([SDL_mixer], [SDL_mixer])
# Checks for header files.
AC_DEFINE([PLATFORM_UNIX])
AC_CHECK_HEADERS([fcntl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_INT16_T
AC_TYPE_INT32_T
AC_TYPE_INT8_T
AC_TYPE_SIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
# Checks for library functions.
AC_FUNC_ALLOCA
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([memmove memset mkdir pow strcasecmp strerror strrchr strstr strtol])
# Set to build the shareware version
AC_ARG_ENABLE([shareware],
[AS_HELP_STRING([--enable-shareware],
[set to build the shareware version])],
[AC_DEFINE([SHAREWARE])],
[])
# Set executable file name suffix
AC_ARG_ENABLE([suffix],
[AS_HELP_STRING([--enable-suffix],
[set executable file name suffix])],
[suffix="$enableval"],
[suffix=no])
case "$suffix" in
no|yes)
suffix=
;;
*)
# Add leading dash
suffix=-${suffix}
;;
esac
SUFFIX=${suffix}
AC_SUBST([SUFFIX])
# Set data file directory
AC_ARG_ENABLE([datadir],
[AS_HELP_STRING([--enable-datadir],
[set data file directory])],
[datadir="$enableval"],
[datadir=no])
# Remove duplicate and trailing slashes
datadir=`echo ${datadir} | tr -s '/' | sed 's|/*$||'`
case "$datadir" in
no|yes)
;;
*)
AC_DEFINE_UNQUOTED([DATADIR], ["$datadir/"])
;;
esac
AC_CONFIG_FILES([Makefile rott/Makefile rott/audiolib/Makefile])
AC_OUTPUT
rott.xpm: rott.png
convert $^ $@
rott.png: rott.svg
inkscape --export-png=$@ $^
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32px"
height="32px"
id="svg2993"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="rott.svg">
<title
id="title3880">rott icon</title>
<defs
id="defs2995">
<linearGradient
id="linearGradient3977">
<stop
style="stop-color:#b6db00;stop-opacity:1;"
offset="0"
id="stop3979" />
<stop
style="stop-color:#924900;stop-opacity:1;"
offset="1"
id="stop3981" />
</linearGradient>
<linearGradient
id="linearGradient3961">
<stop
style="stop-color:#000024;stop-opacity:1;"
offset="0"
id="stop3963" />
<stop
style="stop-color:#494992;stop-opacity:1;"
offset="1"
id="stop3965" />
</linearGradient>
<linearGradient
id="linearGradient3945">
<stop
style="stop-color:#6d4949;stop-opacity:1;"
offset="0"
id="stop3947" />
<stop
style="stop-color:#494924;stop-opacity:1;"
offset="1"
id="stop3949" />
</linearGradient>
<linearGradient
id="linearGradient3917">
<stop
style="stop-color:#494924;stop-opacity:1;"
offset="0"
id="stop3919" />
<stop
style="stop-color:#494924;stop-opacity:0;"
offset="1"
id="stop3921" />
</linearGradient>
<linearGradient
id="linearGradient3897">
<stop
id="stop3913"
offset="0"
style="stop-color:#060927;stop-opacity:1;" />
<stop
style="stop-color:#383058;stop-opacity:1;"
offset="1"
id="stop3901" />
</linearGradient>
<linearGradient
id="linearGradient3889">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3891" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop3893" />
</linearGradient>
<linearGradient
id="linearGradient3814">
<stop
style="stop-color:#ff7d7d;stop-opacity:1;"
offset="0"
id="stop3816" />
<stop
id="stop3818"
offset="0.20312501"
style="stop-color:#590000;stop-opacity:1;" />
<stop
id="stop3820"
offset="0.328125"
style="stop-color:#000000;stop-opacity:1;" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0.42187497"
id="stop3822" />
<stop
id="stop3824"
offset="1"
style="stop-color:#555555;stop-opacity:1;" />
</linearGradient>
<linearGradient
y2="-258.17926"
x2="-300.02075"
y1="-166.01627"
x1="-300.02075"
gradientTransform="matrix(0.33655928,0,0,0.34721102,100.47477,89.642679)"
gradientUnits="userSpaceOnUse"
id="linearGradient3019"
xlink:href="#linearGradient3814"
inkscape:collect="always" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3945"
id="linearGradient3959"
x1="0"
y1="0"
x2="32"
y2="32"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3961"
id="linearGradient3975"
x1="32"
y1="32"
x2="0"
y2="0"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3977"
id="radialGradient3993"
cx="16"
cy="12.5"
fx="16"
fy="12.5"
r="3"
gradientTransform="matrix(1,0,0,1.8333333,0,-10.416667)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3977"
id="radialGradient4001"
cx="10.5"
cy="23.5"
fx="10.5"
fy="23.5"
r="5.5"
gradientTransform="matrix(1,0,0,0.63636364,0,8.5454545)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3977"
id="radialGradient4009"
cx="21.75"
cy="23.5"
fx="21.75"
fy="23.5"
r="5.25"
gradientTransform="matrix(1,0,0,0.66666667,0,7.8333333)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3945"
id="linearGradient4011"
gradientUnits="userSpaceOnUse"
x1="0"
y1="0"
x2="32"
y2="32" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="20"
inkscape:cx="18.588086"
inkscape:cy="15.921783"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:snap-bbox="false"
inkscape:bbox-paths="false"
inkscape:bbox-nodes="false"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:snap-global="true"
inkscape:window-width="1600"
inkscape:window-height="841"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:snap-to-guides="false"
inkscape:snap-nodes="true">
<inkscape:grid
type="xygrid"
id="grid3044"
empspacing="2"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true"
spacingx="0.5px"
spacingy="0.5px"
originx="-0.5px"
originy="-0.5px"
empcolor="#000000"
empopacity="0.25098039"
dotted="false"
color="#9c9cdb"
opacity="0" />
</sodipodi:namedview>
<metadata
id="metadata2998">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>rott icon</dc:title>
<cc:license
rdf:resource="http://www.gnu.org/licenses/gpl-2.0" />
<dc:creator>
<cc:Agent>
<dc:title>Fabian Greffrath</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>7 Sep 2013</dc:date>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
style="fill:url(#linearGradient4011);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:bevel;stroke-opacity:1"
d="m 0.5,28.5 14,-28 2,0 14,28 -2,3 -26,0 z"
id="path3091"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccc" />
<path
style="fill:url(#linearGradient3975);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:bevel;stroke-opacity:1"
d="m 2.5,29.5 13,-27 13,27 z"
id="path3093"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="fill:url(#radialGradient3993);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:bevel;stroke-opacity:1"
d="m 13.5,17.5 4,0 1,-1.5 -3,-10.5 -3,10.5 z"
id="path3095"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccc" />
<path
inkscape:connector-curvature="0"
id="use3097"
d="m 14.5,22.5 -1,-2 -3,0 -5,7 9,-3 z"
style="fill:url(#radialGradient4001);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:bevel;stroke-opacity:1"
sodipodi:nodetypes="cccccc" />
<path
style="fill:url(#radialGradient4009);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:bevel;stroke-opacity:1"
d="m 17.5,20.5 -1,2 0,2 9,3 -5,-7 z"
id="use3099"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccc" />
</g>
</svg>
/* XPM */
static char * rott_xpm[] = {
"32 29 35 1",
" c None",
". c #240000",
"+ c #242424",
"@ c #926D6D",
"# c #000000",
"$ c #6D4949",
"% c #926D49",
"& c #494924",
"* c #6D6D49",
"= c #494949",
"- c #49496D",
"; c #92926D",
"> c #242449",
", c #49246D",
"' c #494992",
") c #242492",
"! c #492424",
"~ c #242400",
"{ c #6D4900",
"] c #24246D",
"^ c #924900",
"/ c #926D00",
"( c #492449",
"_ c #6D4924",
": c #B69200",
"< c #929200",
"[ c #B6B600",
"} c #494900",
"| c #000049",
"1 c #240024",
"2 c #002449",
"3 c #492400",
"4 c #000024",
"5 c #6D6D00",
"6 c #B6DB00",
" .. ",
" +@@. ",
" #$%@& ",
" +*+=&. ",
" #**+-*= ",
" &;+>>=%+ ",
" .@$>>+,*$# ",
" #=%>'&+)=@! ",
" ~;=>,{&]>$*# ",
" #&@>'>^{>]=%! ",
" +@=])=^{>]]=*. ",
" #$@>']!//+]](*&# ",
" +%+)]]_:<!]>]=%~ ",
" .*=>)]]{[:}|]>>$&# ",
" &@>)]]({[[{>]>|=$+ ",
" .@=]])]+^</{12||>$$# ",
" #=@>]]]]>3{{!|||||($+ ",
" ~@(]])]]>]|||]||||>&&# ",
" #$$>]]2>>]]>]>|+>|||=$! ",
" +@+|]>+{^!||>|}{}4|||&$~ ",
" #$$|]]+{:<{1||+{/5}1||+&! ",
" !*+]>+{:6[^~||!{<<5}1||!&. ",
" #$&||({/:/{34||+3}{5{}141&!# ",
" !$12!/{{3+4||||||4+33}}14+&+# ",
" .*+|!}!+|||||||||||4441~3#4&&. ",
"#&$1111||||||||4||44444444#4+&+ ",
"~$!$$=======&=&&&&&&!!&&!!!!!&&#",
"~$$$$*$*$%$*$$$$$$$$$&$$$&$&&&&.",
" .....~...####~~.........#.###. "};
static char *rott[] = {
/* columns rows colors chars-per-pixel */
"32 32 116 2 ",
" c #030202",
". c #0B0B05",
"X c #060609",
"o c #09070A",
"O c #0C0A0B",
"+ c #100E05",
"@ c #180D00",
"# c #110E0E",
"$ c #13110D",
"% c #0B0712",
"& c #0C0A12",
"* c #060618",
"= c #0D0C1B",
"- c #110D16",
"; c #100F1C",
": c #141113",
"> c #1A1513",
", c #1C1A11",
"< c #251604",
"1 c #2A1B04",
"2 c #3E1F02",
"3 c #201C14",
"4 c #251E18",
"5 c #291F1A",
"6 c #272206",
"7 c #2D2504",
"8 c #313204",
"9 c #242014",
"0 c #2D2B16",
"q c #272018",
"w c #2A201A",
"e c #342B1F",
"r c #3C3A1F",
"t c #0A0A24",
"y c #0D0D2B",
"u c #110F22",
"i c #131224",
"p c #14132B",
"a c #18152A",
"s c #0C0C34",
"d c #0F0F39",
"f c #141434",
"g c #181837",
"h c #12123C",
"j c #19193C",
"k c #312521",
"l c #352921",
"z c #3A2D24",
"x c #3D3324",
"c c #422D02",
"v c #542A01",
"b c #433502",
"n c #553301",
"m c #7C3F00",
"M c #433C25",
"N c #433329",
"B c #4A3A2D",
"V c #4E3D30",
"C c #533E34",
"Z c #444103",
"A c #5A4901",
"S c #644F01",
"D c #6F4F00",
"F c #615201",
"G c #695600",
"H c #695800",
"J c #6C6300",
"K c #746500",
"L c #7A7000",
"P c #7E7F00",
"I c #474225",
"U c #494327",
"Y c #4C4927",
"T c #4D422B",
"R c #4E4929",
"E c #50422F",
"W c #52492D",
"Q c #554134",
"! c #564931",
"~ c #594934",
"^ c #63493F",
"/ c #151543",
"( c #1C1C44",
") c #1B1B4C",
"_ c #1F1F51",
"` c #20204D",
"' c #222254",
"] c #25255B",
"[ c #28285B",
"{ c #292963",
"} c #2E2E69",
"| c #895600",
" . c #845E00",
".. c #965A00",
"X. c #996200",
"o. c #9B6E00",
"O. c #947400",
"+. c #9C7300",
"@. c #9C7A00",
"#. c #7B8300",
"$. c #9D8B00",
"%. c #A08200",
"&. c #A28A00",
"*. c #A49300",
"=. c #A79C00",
"-. c #A2A200",
";. c #A9A300",
":. c #AAAA00",
">. c #A3B200",
",. c #ADB400",
"<. c #ACBA00",
"1. c #A7C500",
"2. c #AFC000",
"3. c #B0C300",
"4. c #B6DB00",
"5. c None",
/* pixels */
"5.5.5.5.5.5.5.5.5.5.5.5.5.5. 5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.5.5.5.5.5.X 5 ^ 5 5.5.5.5.5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.5.5.5.5.5. C > C 5.5.5.5.5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.5.5.5.5. 5 k X k w 5.5.5.5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.5.5.5.5. C [ X C 5.5.5.5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.5.5.5. 5 k a i a k 5 5.5.5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.5.5.5. C O ( j X C 5.5.5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.5.5.X 5 l i a @ a i l q 5.5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.5.5. Q . [ o D . ' o E 5.5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.5.X 5 z u [ + &.+ [ ; l w 5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.5. Q O [ j b ;.Z g ' X Q 5.5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5.X 5 z ; } - K ,.#.: ] - x q 5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5.5. Q O ' { &.3.<.X ] ( O E 5.5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5. 5 N - } ` < *.,.,.6 j [ & x q 5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5.5. Q # ` { a n %.=.;.A i ' j o E 5.5.5.5.5.5.5.5.",
"5.5.5.5.5.5. w N - { { o m o.&.&. .o ' ' O N w 5.5.5.5.5.5.5.",
"5.5.5.5.5.5. Q # ) { { & v ..o.o.n & ' _ h O E 5.5.5.5.5.5.5.",
"5.5.5.5.5. w N & { { { ' ) _ _ _ o x q 5.5.5.5.5.5.",
"5.5.5.5.5.X Q : ( { { ] { ] ] ' ' _ _ _ ) ) f $ E 5.5.5.5.5.5.",
"5.5.5.5. w B o { [ ] { ] ' ' ' ' _ _ _ ) ) ) o r q 5.5.5.5.5.",
"5.5.5.5. Q > j [ ' _ ' ) h ) y $ T 5.5.5.5.5.",
"5.5.5.X 5 V X { ] & S &.@.c i _ u 2 X.o.S O / / o M 9 5.5.5.5.",
"5.5.5. Q > j [ p 8 ,.:.*.O. _ | @.*.;.8 u / y , U 5.5.5.5.",
"5.5. w V . ] ( . >.4.<.;.&. _ X.%.=.<.1.. y h I 9 5.5.5.",
"5.5. Q 3 a ' O L :.,.;.J 7 X ) 1 S $.;.,.P . d t , U 5.5.5.",
"5. q C X ] ; c O.G 7 X & f / ) ) y & 6 H @.b & s I 9 5.5.",
"5. Q 4 f g < - f ) _ ) ) ) ) / / / y O < t * , U 5.5.",
"X w E X ] ; - f _ _ _ ) ) ) / ) / / / / / h d t O % s I 9 5.",
" B 5 p ' ' ' ' _ _ ) ) ) ) / / / / / / h d d d s s s * , r 5.",
"5.$ # $ $ 5.5.",
"5. e ~ ~ ! ! ~ ! ! ! ! W ! W W W W T W T R R R U R Y Y 0 5.5.",
"5.5. 5.5.5."
};
......@@ -4,7 +4,7 @@
# http://www.delphidude.com/personal/utilities/games/
CONFIG=$HOME/.rott/darkwar/rott.rot
EXE=./rott
EXE=rott
if [ $# != 1 ]; then
echo "usage: "$0" <RTL or RTC filename>"
......
SUBDIRS = audiolib
bin_PROGRAMS = rott@SUFFIX@
rott@SUFFIX@_SOURCES = \
byteordr.c \
cin_actr.c \
cin_efct.c \
cin_evnt.c \
cin_glob.c \
cin_main.c \
cin_util.c \
dosutil.c \
dukemusc.c \
engine.c \
isr.c \
modexlib.c \
rt_actor.c \
rt_battl.c \
rt_build.c \
rt_cfg.c \
rt_com.c \
rt_crc.c \
rt_debug.c \
rt_dmand.c \
rt_door.c \
rt_draw.c \
rt_err.c \
rt_floor.c \
rt_game.c \
rt_in.c \
rt_main.c \
rt_map.c \
rt_menu.c \
rt_msg.c \
rt_net.c \
rt_playr.c \
rt_rand.c \
rt_scale.c \
rt_sound.c \
rt_spbal.c \
rt_sqrt.c \
rt_stat.c \
rt_state.c \
rt_str.c \
rt_swift.c \
rt_ted.c \
rt_util.c \
rt_vid.c \
rt_view.c \
scriplib.c \
watcom.c \
winrott.c \
w_wad.c \
z_zone.c
rott@SUFFIX@_CFLAGS = @SDL_CFLAGS@ @SDL_mixer_CFLAGS@
rott@SUFFIX@_LDADD = audiolib/libaudiolib.a @SDL_LIBS@ @SDL_mixer_LIBS@
# Determine which version to build
# Make sure only one of the following is set to 1 at once
# Triple 0 will build the commercial/registered version
SHAREWARE ?= 1
SUPERROTT ?= 0
SITELICENSE ?= 0
# Leave at 0 to build the commercial/superrott/sitelicense version
SHAREWARE ?= 0
CPPFLAGS += -DSHAREWARE=$(SHAREWARE)
CPPFLAGS += -DSUPERROTT=$(SUPERROTT)
CPPFLAGS += -DSITELICENSE=$(SITELICENSE)
ROTT ?= rott
......
......@@ -23,6 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//#define MAXVIEWHEIGHT MAXSCREENHEIGHT
#define MAXSKYSEGS 2048
#define MAXSKYDATA 8
#define MINSKYHEIGHT 0//148 //bna++ sky change here
#define MINSKYHEIGHT 148
#endif
......@@ -84,19 +84,6 @@ typedef struct
#define MAXSILLYSTRINGS 32
#if (SHAREWARE==0)
#define STANDARDGAMELEVELS (DATADIR "DARKWAR.RTL")
#if (SUPERROTT==1)