Adventure Writing System to C compiler, version 1.9.6, September 2018 - April 2021
Davide Bucci
Usage: aws2c [options] inputfile.aws outputfile
then compile (along with file inout.c) using your favourite C compiler.
Available options:
-h this help
-u convert UTF-8 characters into standard ASCII chars.
è -> e é -> e
-r same as -u, but keep accents as separate chars.
è -> e' è -> e`
-s same as -u, but only employs the single accent '.
é -> e' è -> e'
-c compress text with Huffman algorithm.
-d employ 6 directions instead of 10.
-m employ hardcoded messages instead of an array.
-n do not clear screen every time a new room is shown.
-v or --version print version and exit
-w don't check for size and weight of objects (counter 119, 120
and 124 are not used).
-k don't output header.
-kk strip empty messages and automatic counters.
-5 use 5-bit compression for the dictionary.
-3 use 3-byte hash code for dictionary.
-l don't take into account light/dark situations.
-f <filename> specify the name of the file to be used for the
configuration. Default is config.h.
NOTE: if this option is used, you should compile the files
with the macro CONFIG_FILENAME defined to the configuration
file name, within ". For example, for gcc
gcc -DCONFIG_FILENAME=\"test.h\" ...
--verbose write plenty of things.
|