diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-29 16:57:10 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-29 16:57:10 +0000 |
commit | 1b87b6c8d4c8fb34b16eb8ddc4787f6421068222 (patch) | |
tree | cab50e8c0b765a98d81e577848ac230d058c64e1 /crawl-ref/source/prebuilt/levcomp.tab.h | |
parent | 9295e4fb393749bedc6ccdbe99c5147435949d35 (diff) | |
download | crawl-ref-1b87b6c8d4c8fb34b16eb8ddc4787f6421068222.tar.gz crawl-ref-1b87b6c8d4c8fb34b16eb8ddc4787f6421068222.zip |
Allow maps to use SHUFFLE: directive to shuffle symbols in the map definition
(David).
For instance, SHUFFLE: def will shuffle its argument (to "efd", for instance)
and replace each occurrence of the symbols in its argument with the
corresponding symbol in the shuffled list (so all d will be replaced with e,
all e with f, and all f with d in the example).
Multiple SHUFFLE: lines can be used, and each shuffle will be applied
independently.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@906 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/prebuilt/levcomp.tab.h')
-rw-r--r-- | crawl-ref/source/prebuilt/levcomp.tab.h | 91 |
1 files changed, 46 insertions, 45 deletions
diff --git a/crawl-ref/source/prebuilt/levcomp.tab.h b/crawl-ref/source/prebuilt/levcomp.tab.h index e34d9c3b72..d875786253 100644 --- a/crawl-ref/source/prebuilt/levcomp.tab.h +++ b/crawl-ref/source/prebuilt/levcomp.tab.h @@ -10,51 +10,52 @@ typedef union #define DEFAULT_DEPTH 261 #define SYMBOL 262 #define TAGS 263 -#define NAME 264 -#define DEPTH 265 -#define ORIENT 266 -#define PLACE 267 -#define CHANCE 268 -#define FLAGS 269 -#define MONS 270 -#define ITEM 271 -#define ROOT_DEPTH 272 -#define ENTRY_MSG 273 -#define EXIT_MSG 274 -#define ROCK_COLOUR 275 -#define FLOOR_COLOUR 276 -#define ENCOMPASS 277 -#define FLOAT 278 -#define NORTH 279 -#define EAST 280 -#define SOUTH 281 -#define WEST 282 -#define NORTHEAST 283 -#define SOUTHEAST 284 -#define SOUTHWEST 285 -#define NORTHWEST 286 -#define LEVEL 287 -#define END 288 -#define PVAULT 289 -#define PMINIVAULT 290 -#define MONSTERS 291 -#define ENDMONSTERS 292 -#define CHARACTER 293 -#define NO_HMIRROR 294 -#define NO_VMIRROR 295 -#define NO_ROTATE 296 -#define PANDEMONIC 297 -#define DASH 298 -#define COMMA 299 -#define QUOTE 300 -#define OPAREN 301 -#define CPAREN 302 -#define INTEGER 303 -#define STRING 304 -#define MAP_LINE 305 -#define MONSTER_NAME 306 -#define ITEM_INFO 307 -#define IDENTIFIER 308 +#define SHUFFLE 264 +#define NAME 265 +#define DEPTH 266 +#define ORIENT 267 +#define PLACE 268 +#define CHANCE 269 +#define FLAGS 270 +#define MONS 271 +#define ITEM 272 +#define ROOT_DEPTH 273 +#define ENTRY_MSG 274 +#define EXIT_MSG 275 +#define ROCK_COLOUR 276 +#define FLOOR_COLOUR 277 +#define ENCOMPASS 278 +#define FLOAT 279 +#define NORTH 280 +#define EAST 281 +#define SOUTH 282 +#define WEST 283 +#define NORTHEAST 284 +#define SOUTHEAST 285 +#define SOUTHWEST 286 +#define NORTHWEST 287 +#define LEVEL 288 +#define END 289 +#define PVAULT 290 +#define PMINIVAULT 291 +#define MONSTERS 292 +#define ENDMONSTERS 293 +#define CHARACTER 294 +#define NO_HMIRROR 295 +#define NO_VMIRROR 296 +#define NO_ROTATE 297 +#define PANDEMONIC 298 +#define DASH 299 +#define COMMA 300 +#define QUOTE 301 +#define OPAREN 302 +#define CPAREN 303 +#define INTEGER 304 +#define STRING 305 +#define MAP_LINE 306 +#define MONSTER_NAME 307 +#define ITEM_INFO 308 +#define IDENTIFIER 309 extern YYSTYPE yylval; |