git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@525 c06c8d41-db1a-0410-9941-cceddc491573
YRTMOMVMYSROOIO4YKAJLDW4AIO7KWYZ6RNLMY3M4VULN2NGYCCQC
* Compile the resulting C++ source files with mapdef.cc (in the main source
directory) and levcomp.cc to produce the levcomp executable.
Once you've built the level compiler, run it on the .des files in source/dat and
append the results to mapdefs.ixx:
levcomp(.exe) mapdefs.ixx < dat/vaults.des
levcomp(.exe) -a mapdefs.ixx < dat/splev.des
(the -a option tells levcomp to append to mapdefs.ixx instead of overwriting the
existing contents.)
* Compile the resulting C++ source files and levcomp.cc and link the
object files into the Crawl executable.
intermediate files are provided under source/prebuilt. The makefiles provided
with the Crawl source distribution will use these pre-generated files
automatically if flex/bison is not available.
If you're using an Integrated Development Environment and don't want to modify
the level design files at all, a pre-generated mapdefs.ixx is provided in
source/prebuilt - you can add source/prebuilt as an include directory and build
Crawl as before. (This is not necessary if you're using Xcode on OS X
- the Xcode project provided with the source distribution is aware of the level
compiler and will build and use it automatically.)
intermediate files are provided under source/prebuilt. The makefiles
provided with the Crawl source distribution will use these
pre-generated files automatically if flex/bison is not available.