// $Id: TileImageConstants.h 9132 2008-08-05 04:22:40Z mrimer $

/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is Deadly Rooms of Death.
 *
 * The Initial Developer of the Original Code is
 * Caravel Software.
 * Portions created by the Initial Developer are Copyright (C) 1995, 1996,
 * 1997, 2000, 2001, 2002, 2005, 2007 Caravel Software. All Rights Reserved.
 *
 * Contributor(s):
 *
 * ***** END LICENSE BLOCK ***** */

#ifndef TILEIMAGECONSTANTS_H
#define TILEIMAGECONSTANTS_H

#include <BackEndLib/Types.h>

//Tile image constants--ordering corresponds to order within bitmap containing
//all the tile images.
#define TI_SMAN_IYN     0
#define TI_SMAN_IYNE 1
#define TI_SMAN_IYE     2
#define TI_SMAN_IYSE 3
#define TI_SMAN_IYS     4
#define TI_SMAN_IYSW 5
#define TI_SMAN_IYW     6
#define TI_SMAN_IYNW 7
#define TI_SNK_N     8
#define TI_SNK_E     9
#define TI_SNK_S     10
#define TI_SNK_W     11
#define TI_SNK_EW    12
#define TI_SNK_NS    13
#define TI_SNK_NW    14
#define TI_SNK_NE    15
//********************************************************************************
#define TI_SWORD_IYN 16
#define TI_SWORD_IYNE   17
#define TI_SWORD_IYE 18
#define TI_SWORD_IYSE   19
#define TI_SWORD_IYS 20
#define TI_SWORD_IYSW   21
#define TI_SWORD_IYW 22
#define TI_SWORD_IYNW   23
#define TI_SNKT_S    24
#define TI_SNKT_W    25
#define TI_SNKT_N    26
#define TI_SNKT_E    27
#define TI_WALL_REF  28
#define TI_TAR_SEI   29
#define TI_SNK_SW    30
#define TI_SNK_SE    31
//********************************************************************************
#define TI_SMAN_YN      32
#define TI_SMAN_YNE     33
#define TI_SMAN_YE      34
#define TI_SMAN_YSE     35
#define TI_SMAN_YS      36
#define TI_SMAN_YSW     37
#define TI_SMAN_YW      38
#define TI_SMAN_YNW     39
#define TI_TAR_NWSEI 40
#define TI_DOOR_YO      41
#define TI_DOOR_Y    42
#define TI_DOOR_G    43
#define TI_SNK_AN    44
#define TI_SNK_AE    45
#define TI_SNK_AS    46
#define TI_SNK_AW    47
//********************************************************************************
#define TI_SWORD_YN     48
#define TI_SWORD_YNE 49
#define TI_SWORD_YE     50
#define TI_SWORD_YSE 51
#define TI_SWORD_YS     52
#define TI_SWORD_YSW 53
#define TI_SWORD_YW     54
#define TI_SWORD_YNW 55
#define TI_TAR_NESWI 56
#define TI_TRAPDOOR     57
#define TI_DOOR_C    58
#define TI_TAR_NSEW     59
#define TI_TAREYE_WO 60
#define TI_TAREYE_EO 61
#define TI_TAREYE_WC 62
#define TI_TAREYE_EC 63
//********************************************************************************
#define TI_OB_11_3_11    64
#define TI_OB_11_3_21    65
#define TI_OB_11_3_31    66
#define TI_OB_11_3_12    67
#define TI_OB_11_3_22    68
#define TI_OB_11_3_32    69
#define TI_OB_11_3_13    70
#define TI_OB_11_3_23    71
#define TI_EYE_N     72
#define TI_EYE_NE    73
#define TI_EYE_E     74
#define TI_EYE_SE    75
#define TI_EYE_S     76
#define TI_EYE_SW    77
#define TI_EYE_W     78
#define TI_EYE_NW    79
//********************************************************************************
#define TI_ROACH_AN     80
#define TI_ROACH_ANE 81
#define TI_ROACH_AE     82
#define TI_ROACH_ASE 83
#define TI_ROACH_AS     84
#define TI_ROACH_ASW 85
#define TI_ROACH_AW     86
#define TI_ROACH_ANW 87
#define TI_EYE_AN    88
#define TI_EYE_ANE      89
#define TI_EYE_AE    90
#define TI_EYE_ASE      91
#define TI_EYE_AS    92
#define TI_EYE_ASW      93
#define TI_EYE_AW    94
#define TI_EYE_ANW      95
//********************************************************************************
#define TI_ROACH_N      96
#define TI_ROACH_NE     97
#define TI_ROACH_E      98
#define TI_ROACH_SE     99
#define TI_ROACH_S      100
#define TI_ROACH_SW     101
#define TI_ROACH_W      102
#define TI_ROACH_NW     103
//#define TI_WISP2        104
#define TI_TRAPDOOR_F   105
#define TI_MUDBLOOD_1   106
#define TI_MUDBLOOD_2   107
#define TI_TAR_N        108
#define TI_SHADO_DNE    109
#define TI_ZSLEEP       110
#define TI_SHADO_DNW    111
//********************************************************************************
#define TI_QROACH_AN    112
#define TI_QROACH_ANE   113
#define TI_QROACH_AE    114
#define TI_QROACH_ASE   115
#define TI_QROACH_AS    116
#define TI_QROACH_ASW   117
#define TI_QROACH_AW    118
#define TI_QROACH_ANW   119
#define TI_STAIRS       120
#define TI_SKELETONKEY  121
#define TI_TAR_E        122
#define TI_OB_1_3NW     123
#define TI_OB_1_3N      124
#define TI_OB_1_3NE     125
#define TI_SHADO_DSW    126
#define TI_OB_7_1       127
//********************************************************************************
#define TI_QROACH_N     128
#define TI_QROACH_NE    129
#define TI_QROACH_E     130
#define TI_QROACH_SE    131
#define TI_QROACH_S     132
#define TI_QROACH_SW    133
#define TI_QROACH_W     134
#define TI_QROACH_NW    135
#define TI_DOOR_YC      136
#define TI_OB_1_2NW     137
#define TI_OB_1_2NE     138
#define TI_OB_2_2NW     139
#define TI_OB_2_2NE     140
#define TI_SHADO_DN     141
#define TI_OB_8_1       142
#define TI_SHADO_DW     143
//********************************************************************************
#define TI_GOBLIN_AN    144
#define TI_GOBLIN_ANE   145
#define TI_GOBLIN_AE    146
#define TI_GOBLIN_ASE   147
#define TI_GOBLIN_AS    148
#define TI_GOBLIN_ASW   149
#define TI_GOBLIN_AW    150
#define TI_GOBLIN_ANW   151
#define TI_DOOR_GC      152
#define TI_STAIRSUP     153
#define TI_DOOR_CC      154
#define TI_DOOR_RC      155
#define TI_SHADO_DNWI   156
#define TI_EXPLOSION_3  157
#define TI_EXPLOSION_4  158
#define TI_SHADO_DNESW  159
//********************************************************************************
#define TI_GOBLIN_N     160
#define TI_GOBLIN_NE    161
#define TI_GOBLIN_E     162
#define TI_GOBLIN_SE    163
#define TI_GOBLIN_S     164
#define TI_GOBLIN_SW    165
#define TI_GOBLIN_W     166
#define TI_GOBLIN_NW    167
#define TI_DOOR_BC      168
#define TI_OB_2_3NW     169
#define TI_OB_2_3N      170
#define TI_OB_2_3NE     171
#define TI_OB_1_3W      172
#define TI_OB_1_3       173
#define TI_OB_1_3E      174
//#define TI_WISP3        175
//********************************************************************************
#define TI_REGG_A4      176
#define TI_REGG_A3      177
#define TI_REGG_A2      178
#define TI_REGG_4       179
#define TI_REGG_3       180
#define TI_REGG_2       181
#define TI_WATER_TOP    182
#define TI_DOOR_R       183
#define TI_OB_2_3W      184
#define TI_OB_2_3       185
#define TI_OB_2_3E      186
#define TI_OB_1_2SW     187
#define TI_OB_1_2SE     188
#define TI_OB_2_2SW     189
#define TI_OB_2_2SE     190
//#define TI_WISP4        191
//********************************************************************************
#define TI_TAR_W        192
#define TI_SCROLL       193
#define TI_ORB_L        194
#define TI_ORB_D        195
#define TI_HEALTH_BIG   196
#define TI_HEALTH_MED   197
#define TI_BRAIN        198
#define TI_BRAIN_A      199
#define TI_OB_11_3_33   200
#define TI_OB_11_1      201
#define TI_WUBBA        202
#define TI_TAR_S        203
#define TI_WUBBA_A      204
#define TI_SPIKE        205
//#define TI_EYEGAZE_EW   206
//#define TI_EYEGAZE_NWSE 207
//********************************************************************************
#define TI_WW_N         208
#define TI_WW_NE     209
#define TI_WW_E         210
#define TI_WW_SE     211
#define TI_WW_S         212
#define TI_WW_SW     213
#define TI_WW_W         214
#define TI_WW_NW     215
#define TI_ARROW_N      216
#define TI_ARROW_NE     217
#define TI_ARROW_E      218
#define TI_ARROW_SE     219
#define TI_ARROW_S      220
#define TI_ARROW_SW     221
#define TI_ARROW_W      222
#define TI_ARROW_NW     223
//********************************************************************************
#define TI_MIMIC_SWORD_N   224
#define TI_MIMIC_SWORD_NE  225
#define TI_MIMIC_SWORD_E   226
#define TI_MIMIC_SWORD_SE  227
#define TI_MIMIC_SWORD_S   228
#define TI_MIMIC_SWORD_SW  229
#define TI_MIMIC_SWORD_W   230
#define TI_MIMIC_SWORD_NW  231
#define TI_WW_AN     232
#define TI_WW_ANE    233
#define TI_WW_AE     234
#define TI_WW_ASE    235
#define TI_WW_AS     236
#define TI_WW_ASW    237
#define TI_WW_AW     238
#define TI_WW_ANW    239
//********************************************************************************
#define TI_MIMIC_N      240
#define TI_MIMIC_NE     241
#define TI_MIMIC_E      242
#define TI_MIMIC_SE     243
#define TI_MIMIC_S      244
#define TI_MIMIC_SW     245
#define TI_MIMIC_W      246
#define TI_MIMIC_NW     247
#define TI_TAR_NW    248
#define TI_TAR_NE    249
#define TI_TAR_SW    250
#define TI_TAR_SE    251
#define TI_TAR_SWI      252
#define TI_TAR_NEI      253
#define TI_TAR_NWI      254
#define TI_TEMPTY    255      //empty t-layer

//********************************************************************************
#define TI_CHECKPOINT   256
#define TI_TARBLOOD_1   257
#define TI_TARBLOOD_2   258
#define TI_DOOR_YN      259
#define TI_DOOR_YS      260
#define TI_BLOOD_1      261
#define TI_BLOOD_2      262
#define TI_DEBRIS_1     263
#define TI_DEBRIS_2     264
#define TI_REGG_1       265
#define TI_REGG_A1      266
#define TI_VERMIN_1     267
#define TI_VERMIN_2     268
#define TI_HOT          269
#define TI_OB_3_2NW     270
#define TI_OB_3_2NE     271
#define TI_OB_4_2NW     272
#define TI_OB_4_2NE     273
#define TI_OB_3_1       274
//#define TI_EYEGAZE_NS   275
//#define TI_EYEGAZE_NESW 276
#define TI_TOKEN_TAROFF 277
#define TI_OB_3_2SW     278
#define TI_OB_3_2SE     279
#define TI_OB_4_2SW     280
#define TI_OB_4_2SE     281
#define TI_OB_4_1       282
#define TI_MONEYDOOR    283
#define TI_FLOOR_IMAGE  284
#define TI_DOOR_YSE     285
#define TI_DOOR_YSWE 286
#define TI_DOOR_YSW     287
#define TI_DOOR_YNSE 288
#define TI_DOOR_YNSWE   289
#define TI_DOOR_YNSW 290
#define TI_DOOR_YNE     291
#define TI_DOOR_YNWE 292
#define TI_DOOR_YNW     293
#define TI_DOOR_YWE     294
#define TI_DOOR_YNS     295
#define TI_DOOR_YW      296
#define TI_DOOR_YE      297

#define TI_DOOR_GSE     298
#define TI_DOOR_GSWE 299
#define TI_DOOR_GSW     300
#define TI_DOOR_GNSE 301
#define TI_DOOR_GNSWE   302
#define TI_DOOR_GNSW 303
#define TI_DOOR_GNE     304
#define TI_DOOR_GNWE 305
#define TI_DOOR_GNW     306
#define TI_DOOR_GWE     307
#define TI_DOOR_GNS     308
#define TI_DOOR_GW      309
#define TI_DOOR_GE      310
#define TI_DOOR_GN      311
#define TI_DOOR_GS      312

#define TI_DOOR_CSE     313
#define TI_DOOR_CSWE 314
#define TI_DOOR_CSW     315
#define TI_DOOR_CNSE 316
#define TI_DOOR_CNSWE   317
#define TI_DOOR_CNSW 318
#define TI_DOOR_CNE     319
#define TI_DOOR_CNWE 320
#define TI_DOOR_CNW     321
#define TI_DOOR_CWE     322
#define TI_DOOR_CNS     323
#define TI_DOOR_CW      324
#define TI_DOOR_CE      325
#define TI_DOOR_CN      326
#define TI_DOOR_CS      327

#define TI_DOOR_RSE     328
#define TI_DOOR_RSWE 329
#define TI_DOOR_RSW     330
#define TI_DOOR_RNSE 331
#define TI_DOOR_RNSWE   332
#define TI_DOOR_RNSW 333
#define TI_DOOR_RNE     334
#define TI_DOOR_RNWE 335
#define TI_DOOR_RNW     336
#define TI_DOOR_RWE     337
#define TI_DOOR_RNS     338
#define TI_DOOR_RW      339
#define TI_DOOR_RE      340
#define TI_DOOR_RN      341
#define TI_DOOR_RS      342

#define TI_SWIRLDOT_1   343
#define TI_SWIRLDOT_2   344
#define TI_SWIRLDOT_3   345
#define TI_SWIRLDOT_4   346
#define TI_SWIRLDOT_5   347

#define TI_CHECKPOINT_L 348

#define TI_OB_1_3SW     349
#define TI_OB_1_3S      350
#define TI_OB_1_3SE     351
#define TI_OB_2_3SW     352
#define TI_OB_2_3S      353
#define TI_OB_2_3SE     354
#define TI_OB_1_1       355
#define TI_OB_2_1       356
#define TI_OB_7_2NW     357
#define TI_OB_7_2NE     358
#define TI_OB_8_2NW     359
#define TI_OB_8_2NE     360

//********************************************************************************
//New 2.0 stuff here:
#define TI_GUARD_SWORD_N   361
#define TI_GUARD_SWORD_NE  362
#define TI_GUARD_SWORD_E   363
#define TI_GUARD_SWORD_SE  364
#define TI_GUARD_SWORD_S   365
#define TI_GUARD_SWORD_SW  366
#define TI_GUARD_SWORD_W   367
#define TI_GUARD_SWORD_NW  368
#define TI_SLAYER_SWORD_N   369
#define TI_SLAYER_SWORD_NE  370
#define TI_SLAYER_SWORD_E   371
#define TI_SLAYER_SWORD_SE  372
#define TI_SLAYER_SWORD_S   373
#define TI_SLAYER_SWORD_SW  374
#define TI_SLAYER_SWORD_W   375
#define TI_SLAYER_SWORD_NW  376
#define TI_BLOOD_G_1    377
#define TI_BLOOD_G_2    378
//********************************************************************************
#define TI_SNK_B_N      379
#define TI_SNK_B_E      380
#define TI_SNK_B_S      381
#define TI_SNK_B_W      382
#define TI_SNK_B_EW     383
#define TI_SNK_B_NS     384
#define TI_SNK_B_NW     385
#define TI_SNK_B_NE     386
#define TI_SNK_B_AS     387
#define TI_SNKT_B_S     388
#define TI_SNKT_B_W     389
#define TI_SNKT_B_N     390
#define TI_SNKT_B_E     391
#define TI_SNK_B_AN     392
#define TI_SNK_B_AE     393
#define TI_SNK_B_SW     394
#define TI_SNK_B_SE     395
#define TI_SNK_B_AW     396
//********************************************************************************
#define TI_DOOR_BSE     397
#define TI_DOOR_BSWE    398
#define TI_DOOR_BSW     399
#define TI_DOOR_BNSE    400
#define TI_DOOR_BNSWE   401
#define TI_DOOR_BNSW    402
#define TI_DOOR_BNE     403
#define TI_DOOR_BNWE    404
#define TI_DOOR_BNW     405
#define TI_DOOR_BWE     406
#define TI_DOOR_BNS     407
#define TI_DOOR_BW      408
#define TI_DOOR_BE      409
#define TI_DOOR_BN      410
#define TI_DOOR_BS      411
#define TI_DOOR_B       412
//********************************************************************************
#define TI_ROCK_AN      413
#define TI_ROCK_ANE     414
#define TI_ROCK_AE      415
#define TI_ROCK_ASE     416
#define TI_ROCK_AS      417
#define TI_ROCK_ASW     418
#define TI_ROCK_AW      419
#define TI_ROCK_ANW     420
#define TI_ROCK_N       421
#define TI_ROCK_NE      422
#define TI_ROCK_E       423
#define TI_ROCK_SE      424
#define TI_ROCK_S       425
#define TI_ROCK_SW      426
#define TI_ROCK_W       427
#define TI_ROCK_NW      428
#define TI_ROCK_BRKN    429
#define TI_ROCK_ABRKN   430
//********************************************************************************
#define TI_OBS_1_1_11   431
#define TI_OBS_1_1_21   432
#define TI_OBS_1_1_12   433
#define TI_OBS_1_1_22   434

#define TI_BOMB         435
#define TI_EXPLOSION_1  436
#define TI_EXPLOSION_2  437
#define TI_FUSE_SE      438
#define TI_FUSE_SWE     439
#define TI_FUSE_SW      440
#define TI_FUSE_S       441
#define TI_FUSE_NSE     442
#define TI_FUSE_NSWE    443
#define TI_FUSE_NSW     444
#define TI_FUSE_NS      445
#define TI_FUSE_NE      446
#define TI_FUSE_NWE     447
#define TI_FUSE_NW      448
#define TI_FUSE_N       449
#define TI_FUSE_E       450
#define TI_FUSE_WE      451
#define TI_FUSE_W       452
#define TI_FUSE         453
#define TI_SPARK_1      454
#define TI_SPARK_2      455
#define TI_SPARK_3      456
//********************************************************************************
#define TI_DEF_UP       457
#define TI_NODIAGONAL   458
#define TI_SLAYERDEBRIS 459
#define TI_TUNNEL_W     460
#define TI_TUNNEL_E     461
#define TI_TUNNEL_N     462
#define TI_TUNNEL_S     463
//********************************************************************************
//Obstacles 1, 7-10.
//Obstacle naming convention: TI_OB_<obstacle #>_<size>_<relative coord>
#define TI_OB_7_2SW     464
#define TI_OB_7_2SE     465
#define TI_OB_8_2SW     466
#define TI_OB_8_2SE     467
#define TI_OB_9_4_11    468
#define TI_OB_9_4_21    469
#define TI_OB_9_4_31    470
#define TI_OB_9_4_41    471
#define TI_OB_9_2_11    472
#define TI_OB_9_2_21    473
#define TI_OB_9_1       474
#define TI_OB_9_4_12    475
#define TI_OB_9_4_22    476
#define TI_OB_9_4_32    477
#define TI_OB_9_4_42    478
#define TI_OB_9_2_12    479
#define TI_OB_9_2_22    480
#define TI_OB_9_4_13    481
#define TI_OB_9_4_23    482
#define TI_OB_9_4_33    483
#define TI_OB_9_4_43    484
#define TI_OB_9_4_14    485
#define TI_OB_9_4_24    486
#define TI_OB_9_4_34    487
#define TI_OB_9_4_44    488
#define TI_OB_10_4_11    489
#define TI_OB_10_4_21    490
#define TI_OB_10_4_31    491
#define TI_OB_10_4_41    492
#define TI_OB_10_2_11    493
#define TI_OB_10_2_21    494
#define TI_OB_10_1       495
#define TI_OB_10_4_12    496
#define TI_OB_10_4_22    497
#define TI_OB_10_4_32    498
#define TI_OB_10_4_42    499
#define TI_OB_10_2_12    500
#define TI_OB_10_2_22    501
#define TI_OB_10_4_13    502
#define TI_OB_10_4_23    503
#define TI_OB_10_4_33    504
#define TI_OB_10_4_43    505
#define TI_OB_10_4_14    506
#define TI_OB_10_4_24    507
#define TI_OB_10_4_34    508
#define TI_OB_10_4_44    509
#define TI_OBS_1_2_11    510
#define TI_OBS_1_2_21    511
#define TI_OBS_1_2_31    512
#define TI_OBS_1_2_12    513
#define TI_OBS_1_2_22    514
#define TI_OBS_1_2_32    515
#define TI_OBS_1_2_13    516
#define TI_OBS_1_2_23    517
#define TI_OBS_1_2_33    518
#define TI_ROTATE_NW_N   519
#define TI_ROTATE_N_NE   520
//********************************************************************************
#define TI_SEEP_AN     521
#define TI_SEEP_ANE    522
#define TI_SEEP_AE     523
#define TI_SEEP_ASE    524
#define TI_SEEP_AS     525
#define TI_SEEP_ASW    526
#define TI_SEEP_AW     527
#define TI_SEEP_ANW    528
#define TI_SEEP_N      529
#define TI_SEEP_NE     530
#define TI_SEEP_E      531
#define TI_SEEP_SE     532
#define TI_SEEP_S      533
#define TI_SEEP_SW     534
#define TI_SEEP_W      535
#define TI_SEEP_NW     536
//*****************************************************************************
#define TI_DOOR_YOSE     537
#define TI_DOOR_YOSWE    538
#define TI_DOOR_YOSW     539
#define TI_DOOR_YONSE    540
#define TI_DOOR_YONSWE   541
#define TI_DOOR_YONSW    542
#define TI_DOOR_YONE     543
#define TI_DOOR_YONWE    544
#define TI_DOOR_YONW     545
#define TI_DOOR_YOWE     546
#define TI_DOOR_YONS     547
#define TI_DOOR_YOW      548
#define TI_DOOR_YOE      549
#define TI_DOOR_YON      550
#define TI_DOOR_YOS      551
#define TI_TRAPDOOR_EDGE    552
#define TI_SHIELD1       553
#define TI_SHIELD2       554
#define TI_SHIELD3       555
#define TI_SHIELD4       556
#define TI_SHIELD5       557
#define TI_SWORD6        558
#define TI_STRONGHIT     559
#define TI_MONEYDOOR_O  560
#define TI_HALPH_N      561
#define TI_HALPH_NE     562
#define TI_HALPH_E      563
#define TI_HALPH_SE     564
#define TI_HALPH_S      565
#define TI_HALPH_SW     566
#define TI_HALPH_W      567
#define TI_HALPH_NW     568
//********************************************************************************
#define TI_GOBLIN_SWORD_N    569
#define TI_GOBLIN_SWORD_NE   570
#define TI_GOBLIN_SWORD_E    571
#define TI_GOBLIN_SWORD_SE   572
#define TI_GOBLIN_SWORD_S    573
#define TI_GOBLIN_SWORD_SW   574
#define TI_GOBLIN_SWORD_W    575
#define TI_GOBLIN_SWORD_NW   576
#define TI_SLAYER_N     577
#define TI_SLAYER_NE    578
#define TI_SLAYER_E     579
#define TI_SLAYER_SE    580
#define TI_SLAYER_S     581
#define TI_SLAYER_SW    582
#define TI_SLAYER_W     583
#define TI_SLAYER_NW    584
//#define TI_WISP1        585
//********************************************************************************
#define TI_OB_5_5_11    586
#define TI_OB_5_5_21    587
#define TI_OB_5_5_31    588
#define TI_OB_5_5_41    589
#define TI_OB_5_5_51    590
#define TI_OB_6_5_11    591
#define TI_OB_6_5_21    592
#define TI_OB_6_5_31    593
#define TI_OB_6_5_41    594
#define TI_OB_6_5_51    595
#define TI_OB_5_3_11    596
#define TI_OB_5_3_21    597
#define TI_OB_5_3_31    598
#define TI_OB_6_3_11    599
#define TI_OB_6_3_21    600
#define TI_OB_6_3_31    601
//********************************************************************************
#define TI_FLOOR_M      602
#define TI_WALL_M       603
#define TI_PIT_M        604
//********************************************************************************
//See later comments about naming convention for TI_WALL_*.
#define TI_WALL_BNW     605
#define TI_WALL_BNW4    606
#define TI_WALL_BNE     607
#define TI_WALL_BNE8    608
#define TI_WALL_BSW     609
#define TI_WALL_BSW2    610
#define TI_WALL_BSE     611
#define TI_WALL_BSE1    612
#define TI_WALL_BNWE    613
#define TI_WALL_BNSE    614
#define TI_WALL_BSWE    615
#define TI_WALL_BNSW    616
#define TI_WALL_BNSWE   617
#define TI_WALL_BNS     618
#define TI_WALL_BWE     619
#define TI_WALL_BN      620
#define TI_WALL_BN4     621
#define TI_WALL_BN8     622
#define TI_WALL_BN12    623
#define TI_WALL_BS      624
#define TI_WALL_BS1     625
#define TI_WALL_BS2     626
#define TI_WALL_BS3     627
#define TI_WALL_BW      628
#define TI_WALL_BW2     629
#define TI_WALL_BW4     630
#define TI_WALL_BW6     631
#define TI_WALL_BE      632
#define TI_WALL_BE1     633
#define TI_WALL_BE8     634
#define TI_WALL_BE9     635
#define TI_WALL_B       636
#define TI_WALL_B1      637
#define TI_WALL_B2      638
#define TI_WALL_B3      639
#define TI_WALL_B4      640
#define TI_WALL_B5      641
#define TI_WALL_B6      642
#define TI_WALL_B7      643
#define TI_WALL_B8      644
#define TI_WALL_B9      645
#define TI_WALL_B10     646
#define TI_WALL_B11     647
#define TI_WALL_B12     648
#define TI_WALL_B13     649
#define TI_WALL_B14     650
#define TI_WALL_B15     651
#define TI_ROTATE_NE_E  652
#define TI_ROTATE_E_SE  653
#define TI_ROTATE_SE_S  654
#define TI_ROTATE_S_SW  655
#define TI_ROTATE_SW_W  656
#define TI_ROTATE_W_NW  657
//********************************************************************************
#define TI_FLOOR        658
#define TI_ROAD         659
#define TI_GRASS        660
#define TI_DIRT         661
#define TI_ALT          662
//********************************************************************************
//Walls follow this naming convention: TI_WALL_ + B (if broken wall) + S (if secret wall) + 
//compass directions of any edges, (i.e. NWE means edges on north, west and east sides) +
//4-bit number representing indented corners, where 1 is northwest indent, 2 is northeast,
//4 is southeast, and 8 is southwest.  If no number is present, then no corners are indented.
#define TI_WALL_NW      663
#define TI_WALL_NW4     664
#define TI_WALL_NE      665
#define TI_WALL_NE8     666
#define TI_WALL_SW      667
#define TI_WALL_SW2     668
#define TI_WALL_SE      669
#define TI_WALL_SE1     670
#define TI_WALL_NWE     671
#define TI_WALL_NSE     672
#define TI_WALL_SWE     673
#define TI_WALL_NSW     674
#define TI_WALL_NSWE    675
#define TI_WALL_NS      676
#define TI_WALL_WE      677
#define TI_WALL_N       678
#define TI_WALL_N4      679
#define TI_WALL_N8      680
#define TI_WALL_N12     681
#define TI_WALL_S       682
#define TI_WALL_S1      683
#define TI_WALL_S2      684
#define TI_WALL_S3      685
#define TI_WALL_W       686
#define TI_WALL_W2      687
#define TI_WALL_W4      688
#define TI_WALL_W6      689
#define TI_WALL_E       690
#define TI_WALL_E1      691
#define TI_WALL_E8      692
#define TI_WALL_E9      693
#define TI_WALL         694
#define TI_WALL_1       695
#define TI_WALL_2       696
#define TI_WALL_3       697
#define TI_WALL_4       698
#define TI_WALL_5       699
#define TI_WALL_6       700
#define TI_WALL_7       701
#define TI_WALL_8       702
#define TI_WALL_9       703
#define TI_WALL_10      704
#define TI_WALL_11      705
#define TI_WALL_12      706
#define TI_WALL_13      707
#define TI_WALL_14      708
#define TI_WALL_15      709
#define TI_WALL_HNW     710
#define TI_WALL_HNW4    711
#define TI_WALL_HNE     712
#define TI_WALL_HNE8    713
#define TI_WALL_HSW     714
#define TI_WALL_HSW2    715
#define TI_WALL_HSE     716
#define TI_WALL_HSE1    717
#define TI_WALL_HNWE    718
#define TI_WALL_HNSE    719
#define TI_WALL_HSWE    720
#define TI_WALL_HNSW    721
#define TI_WALL_HNSWE   722
#define TI_WALL_HNS     723
#define TI_WALL_HWE     724
#define TI_WALL_HN      725
#define TI_WALL_HN4     726
#define TI_WALL_HN8     727
#define TI_WALL_HN12    728
#define TI_WALL_HS      729
#define TI_WALL_HS1     730
#define TI_WALL_HS2     731
#define TI_WALL_HS3     732
#define TI_WALL_HW      733
#define TI_WALL_HW2     734
#define TI_WALL_HW4     735
#define TI_WALL_HW6     736
#define TI_WALL_HE      737
#define TI_WALL_HE1     738
#define TI_WALL_HE8     739
#define TI_WALL_HE9     740
#define TI_WALL_H       741
#define TI_WALL_H1      742
#define TI_WALL_H2      743
#define TI_WALL_H3      744
#define TI_WALL_H4      745
#define TI_WALL_H5      746
#define TI_WALL_H6      747
#define TI_WALL_H7      748
#define TI_WALL_H8      749
#define TI_WALL_H9      750
#define TI_WALL_H10     751
#define TI_WALL_H11     752
#define TI_WALL_H12     753
#define TI_WALL_H13     754
#define TI_WALL_H14     755
#define TI_WALL_H15     756
//*****************************************************************************
#define TI_GOBLINKING_N   757
#define TI_GOBLINKING_NE  758
#define TI_GOBLINKING_E   759
#define TI_GOBLINKING_SE  760
#define TI_GOBLINKING_S   761
#define TI_GOBLINKING_SW  762
#define TI_GOBLINKING_W   763
#define TI_GOBLINKING_NW  764
#define TI_GUARD_N      765
#define TI_GUARD_NE     766
#define TI_GUARD_E      767
#define TI_GUARD_SE     768
#define TI_GUARD_S      769
#define TI_GUARD_SW     770
#define TI_GUARD_W      771
#define TI_GUARD_NW     772
//*****************************************************************************
#define TI_CITIZEN1_N    773
#define TI_CITIZEN1_NE   774
#define TI_CITIZEN1_E    775
#define TI_CITIZEN1_SE   776
#define TI_CITIZEN1_S    777
#define TI_CITIZEN1_SW   778
#define TI_CITIZEN1_W    779
#define TI_CITIZEN1_NW    780
#define TI_NEGOTIATOR_N      781
#define TI_NEGOTIATOR_NE     782
#define TI_NEGOTIATOR_E      783
#define TI_NEGOTIATOR_SE     784
#define TI_NEGOTIATOR_S      785
#define TI_NEGOTIATOR_SW     786
#define TI_NEGOTIATOR_W      787
#define TI_NEGOTIATOR_NW     788
//*****************************************************************************
#define TI_WALL_BREF         789
#define TI_WALL_HREF         790
#define TI_MUDEYE_WO          791
#define TI_MUDEYE_EO          792
#define TI_MUDEYE_WC          793
#define TI_MUDEYE_EC          794
#define TI_MUD_SEI            795
#define TI_MUD_NWSEI          796
#define TI_MUD_NESWI          797
#define TI_MUD_NSEW           798
#define TI_MUD_N              799
#define TI_MUD_E              800
#define TI_MUD_W              801
#define TI_MUD_S              802
#define TI_MUD_NW             803
#define TI_MUD_NE             804
#define TI_MUD_SW             805
#define TI_MUD_SE             806
#define TI_MUD_SWI            807
#define TI_MUD_NEI            808
#define TI_MUD_NWI            809
//*****************************************************************************
//Obstacles 5-6.
#define TI_OB_5_5_12    810
#define TI_OB_5_5_22    811
#define TI_OB_5_5_32    812
#define TI_OB_5_5_42    813
#define TI_OB_5_5_52    814
#define TI_OB_6_5_12    815
#define TI_OB_6_5_22    816
#define TI_OB_6_5_32    817
#define TI_OB_6_5_42    818
#define TI_OB_6_5_52    819
#define TI_OB_5_3_12    820
#define TI_OB_5_3_22    821
#define TI_OB_5_3_32    822
#define TI_OB_6_3_12    823
#define TI_OB_6_3_22    824
#define TI_OB_6_3_32    825
#define TI_OB_5_5_13    826
#define TI_OB_5_5_23    827
#define TI_OB_5_5_33    828
#define TI_OB_5_5_43    829
#define TI_OB_5_5_53    830
#define TI_OB_6_5_13    831
#define TI_OB_6_5_23    832
#define TI_OB_6_5_33    833
#define TI_OB_6_5_43    834
#define TI_OB_6_5_53    835
#define TI_OB_5_3_13    836
#define TI_OB_5_3_23    837
#define TI_OB_5_3_33    838
#define TI_OB_6_3_13    839
#define TI_OB_6_3_23    840
#define TI_OB_6_3_33    841
#define TI_OB_5_5_14    842
#define TI_OB_5_5_24    843
#define TI_OB_5_5_34    844
#define TI_OB_5_5_44    845
#define TI_OB_5_5_54    846
#define TI_OB_6_5_14    847
#define TI_OB_6_5_24    848
#define TI_OB_6_5_34    849
#define TI_OB_6_5_44    850
#define TI_OB_6_5_54    851
#define TI_OB_5_1       852
#define TI_OB_6_1       853
#define TI_OB_5_5_15    854
#define TI_OB_5_5_25    855
#define TI_OB_5_5_35    856
#define TI_OB_5_5_45    857
#define TI_OB_5_5_55    858
#define TI_OB_6_5_15    859
#define TI_OB_6_5_25    860
#define TI_OB_6_5_35    861
#define TI_OB_6_5_45    862
#define TI_OB_6_5_55    863
//*****************************************************************************
//Obstacle shadows 1-11.
//Obstacle shadow naming convention: TI_OBS_<obstacle #>_<size>_<relative shadow coord>
#define TI_OBS_1_3_11   864
#define TI_OBS_1_3_21   865
#define TI_OBS_1_3_31   866
#define TI_OBS_1_3_41   867
#define TI_OBS_1_3_12   868
#define TI_OBS_1_3_22   869
#define TI_OBS_1_3_32   870
#define TI_OBS_1_3_42   871
#define TI_OBS_1_3_13   872
#define TI_OBS_1_3_23   873
#define TI_OBS_1_3_33   874
#define TI_OBS_1_3_43   875
#define TI_OBS_1_3_14   876
#define TI_OBS_1_3_24   877
#define TI_OBS_1_3_34   878
#define TI_OBS_1_3_44   879

#define TI_OBS_2_1_11   880
#define TI_OBS_2_1_21   881
#define TI_OBS_2_1_12   882
#define TI_OBS_2_1_22   883
#define TI_OBS_2_2_11   884
#define TI_OBS_2_2_21   885
#define TI_OBS_2_2_31   886
#define TI_OBS_2_2_12   887
#define TI_OBS_2_2_22   888
#define TI_OBS_2_2_32   889
#define TI_OBS_2_2_13   890
#define TI_OBS_2_2_23   891
#define TI_OBS_2_2_33   892
#define TI_OBS_2_3_11   893
#define TI_OBS_2_3_21   894
#define TI_OBS_2_3_31   895
#define TI_OBS_2_3_41   896
#define TI_OBS_2_3_12   897
#define TI_OBS_2_3_22   898
#define TI_OBS_2_3_32   899
#define TI_OBS_2_3_42   900
#define TI_OBS_2_3_13   901
#define TI_OBS_2_3_23   902
#define TI_OBS_2_3_33   903
#define TI_OBS_2_3_43   904
#define TI_OBS_2_3_14   905
#define TI_OBS_2_3_24   906
#define TI_OBS_2_3_34   907
#define TI_OBS_2_3_44   908

#define TI_OBS_3_1_11   909
#define TI_OBS_3_1_21   910
#define TI_OBS_3_1_12   911
#define TI_OBS_3_1_22   912
#define TI_OBS_3_2_11   913
#define TI_OBS_3_2_21   914
#define TI_OBS_3_2_31   915
#define TI_OBS_3_2_12   916
#define TI_OBS_3_2_22   917
#define TI_OBS_3_2_32   918
#define TI_OBS_3_2_13   919
#define TI_OBS_3_2_23   920
#define TI_OBS_3_2_33   921

#define TI_OBS_4_1_11   922
#define TI_OBS_4_1_21   923
#define TI_OBS_4_1_12   924
#define TI_OBS_4_1_22   925
#define TI_OBS_4_2_11   926
#define TI_OBS_4_2_21   927
#define TI_OBS_4_2_31   928
#define TI_OBS_4_2_12   929
#define TI_OBS_4_2_22   930
#define TI_OBS_4_2_32   931
#define TI_OBS_4_2_13   932
#define TI_OBS_4_2_23   933
#define TI_OBS_4_2_33   934

#define TI_OBS_5_1_11   935
#define TI_OBS_5_1_21   936
#define TI_OBS_5_1_12   937
#define TI_OBS_5_1_22   938
#define TI_OBS_5_3_11   939
#define TI_OBS_5_3_21   940
#define TI_OBS_5_3_31   941
#define TI_OBS_5_3_41   942
#define TI_OBS_5_3_12   943
#define TI_OBS_5_3_22   944
#define TI_OBS_5_3_32   945
#define TI_OBS_5_3_42   946
#define TI_OBS_5_3_13   947
#define TI_OBS_5_3_23   948
#define TI_OBS_5_3_33   949
#define TI_OBS_5_3_43   950
#define TI_OBS_5_3_14   951
#define TI_OBS_5_3_24   952
#define TI_OBS_5_3_34   953
#define TI_OBS_5_3_44   954
#define TI_OBS_5_5_11   955
#define TI_OBS_5_5_21   956
#define TI_OBS_5_5_31   957
#define TI_OBS_5_5_41   958
#define TI_OBS_5_5_51   959
#define TI_OBS_5_5_61   960
#define TI_OBS_5_5_12   961
#define TI_OBS_5_5_22   962
#define TI_OBS_5_5_32   963
#define TI_OBS_5_5_42   964
#define TI_OBS_5_5_52   965
#define TI_OBS_5_5_62   966
#define TI_OBS_5_5_13   967
#define TI_OBS_5_5_23   968
#define TI_OBS_5_5_33   969
#define TI_OBS_5_5_43   970
#define TI_OBS_5_5_53   971
#define TI_OBS_5_5_63   972
#define TI_OBS_5_5_14   973
#define TI_OBS_5_5_24   974
#define TI_OBS_5_5_34   975
#define TI_OBS_5_5_44   976
#define TI_OBS_5_5_54   977
#define TI_OBS_5_5_64   978
#define TI_OBS_5_5_15   979
#define TI_OBS_5_5_25   980
#define TI_OBS_5_5_35   981
#define TI_OBS_5_5_45   982
#define TI_OBS_5_5_55   983
#define TI_OBS_5_5_65   984
#define TI_OBS_5_5_16   985
#define TI_OBS_5_5_26   986
#define TI_OBS_5_5_36   987
#define TI_OBS_5_5_46   988
#define TI_OBS_5_5_56   989
#define TI_OBS_5_5_66   990

#define TI_OBS_6_1_11   991
#define TI_OBS_6_1_21   992
#define TI_OBS_6_1_12   993
#define TI_OBS_6_1_22   994
#define TI_OBS_6_3_11   995
#define TI_OBS_6_3_21   996
#define TI_OBS_6_3_31   997
#define TI_OBS_6_3_41   998
#define TI_OBS_6_3_12   999
#define TI_OBS_6_3_22  1000
#define TI_OBS_6_3_32  1001
#define TI_OBS_6_3_42  1002
#define TI_OBS_6_3_13  1003
#define TI_OBS_6_3_23  1004
#define TI_OBS_6_3_33  1005
#define TI_OBS_6_3_43  1006
#define TI_OBS_6_3_14  1007
#define TI_OBS_6_3_24  1008
#define TI_OBS_6_3_34  1009
#define TI_OBS_6_3_44  1010
#define TI_OBS_6_5_11  1011
#define TI_OBS_6_5_21  1012
#define TI_OBS_6_5_31  1013
#define TI_OBS_6_5_41  1014
#define TI_OBS_6_5_51  1015
#define TI_OBS_6_5_61  1016
#define TI_OBS_6_5_12  1017
#define TI_OBS_6_5_22  1018
#define TI_OBS_6_5_32  1019
#define TI_OBS_6_5_42  1020
#define TI_OBS_6_5_52  1021
#define TI_OBS_6_5_62  1022
#define TI_OBS_6_5_13  1023
#define TI_OBS_6_5_23  1024
#define TI_OBS_6_5_33  1025
#define TI_OBS_6_5_43  1026
#define TI_OBS_6_5_53  1027
#define TI_OBS_6_5_63  1028
#define TI_OBS_6_5_14  1029
#define TI_OBS_6_5_24  1030
#define TI_OBS_6_5_34  1031
#define TI_OBS_6_5_44  1032
#define TI_OBS_6_5_54  1033
#define TI_OBS_6_5_64  1034
#define TI_OBS_6_5_15  1035
#define TI_OBS_6_5_25  1036
#define TI_OBS_6_5_35  1037
#define TI_OBS_6_5_45  1038
#define TI_OBS_6_5_55  1039
#define TI_OBS_6_5_65  1040
#define TI_OBS_6_5_16  1041
#define TI_OBS_6_5_26  1042
#define TI_OBS_6_5_36  1043
#define TI_OBS_6_5_46  1044
#define TI_OBS_6_5_56  1045
#define TI_OBS_6_5_66  1046

#define TI_OBS_7_1_11  1047
#define TI_OBS_7_1_21  1048
#define TI_OBS_7_1_12  1049
#define TI_OBS_7_1_22  1050
#define TI_OBS_7_2_11  1051
#define TI_OBS_7_2_21  1052
#define TI_OBS_7_2_31  1053
#define TI_OBS_7_2_12  1054
#define TI_OBS_7_2_22  1055
#define TI_OBS_7_2_32  1056
#define TI_OBS_7_2_13  1057
#define TI_OBS_7_2_23  1058
#define TI_OBS_7_2_33  1059

#define TI_OBS_8_1_11  1060
#define TI_OBS_8_1_21  1061
#define TI_OBS_8_1_12  1062
#define TI_OBS_8_1_22  1063
#define TI_OBS_8_2_11  1064
#define TI_OBS_8_2_21  1065
#define TI_OBS_8_2_31  1066
#define TI_OBS_8_2_12  1067
#define TI_OBS_8_2_22  1068
#define TI_OBS_8_2_32  1069
#define TI_OBS_8_2_13  1070
#define TI_OBS_8_2_23  1071
#define TI_OBS_8_2_33  1072

#define TI_OBS_9_1_11  1073
#define TI_OBS_9_1_21  1074
#define TI_OBS_9_1_12  1075
#define TI_OBS_9_1_22  1076
#define TI_OBS_9_2_11  1077
#define TI_OBS_9_2_21  1078
#define TI_OBS_9_2_31  1079
#define TI_OBS_9_2_12  1080
#define TI_OBS_9_2_22  1081
#define TI_OBS_9_2_32  1082
#define TI_OBS_9_2_13  1083
#define TI_OBS_9_2_23  1084
#define TI_OBS_9_2_33  1085
#define TI_OBS_9_4_11  1086
#define TI_OBS_9_4_21  1087
#define TI_OBS_9_4_31  1088
#define TI_OBS_9_4_41  1089
#define TI_OBS_9_4_51  1090
#define TI_OBS_9_4_12  1091
#define TI_OBS_9_4_22  1092
#define TI_OBS_9_4_32  1093
#define TI_OBS_9_4_42  1094
#define TI_OBS_9_4_52  1095
#define TI_OBS_9_4_13  1096
#define TI_OBS_9_4_23  1097
#define TI_OBS_9_4_33  1098
#define TI_OBS_9_4_43  1099
#define TI_OBS_9_4_53  1100
#define TI_OBS_9_4_14  1101
#define TI_OBS_9_4_24  1102
#define TI_OBS_9_4_34  1103
#define TI_OBS_9_4_44  1104
#define TI_OBS_9_4_54  1105
#define TI_OBS_9_4_15  1106
#define TI_OBS_9_4_25  1107
#define TI_OBS_9_4_35  1108
#define TI_OBS_9_4_45  1109
#define TI_OBS_9_4_55  1110

#define TI_OBS_10_1_11  1111
#define TI_OBS_10_1_21  1112
#define TI_OBS_10_1_12  1113
#define TI_OBS_10_1_22  1114
#define TI_OBS_10_2_11  1115
#define TI_OBS_10_2_21  1116
#define TI_OBS_10_2_31  1117
#define TI_OBS_10_2_12  1118
#define TI_OBS_10_2_22  1119
#define TI_OBS_10_2_32  1120
#define TI_OBS_10_2_13  1121
#define TI_OBS_10_2_23  1122
#define TI_OBS_10_2_33  1123
#define TI_OBS_10_4_11  1124
#define TI_OBS_10_4_21  1125
#define TI_OBS_10_4_31  1126
#define TI_OBS_10_4_41  1127
#define TI_OBS_10_4_51  1128
#define TI_OBS_10_4_12  1129
#define TI_OBS_10_4_22  1130
#define TI_OBS_10_4_32  1131
#define TI_OBS_10_4_42  1132
#define TI_OBS_10_4_52  1133
#define TI_OBS_10_4_13  1134
#define TI_OBS_10_4_23  1135
#define TI_OBS_10_4_33  1136
#define TI_OBS_10_4_43  1137
#define TI_OBS_10_4_53  1138
#define TI_OBS_10_4_14  1139
#define TI_OBS_10_4_24  1140
#define TI_OBS_10_4_34  1141
#define TI_OBS_10_4_44  1142
#define TI_OBS_10_4_54  1143
#define TI_OBS_10_4_15  1144
#define TI_OBS_10_4_25  1145
#define TI_OBS_10_4_35  1146
#define TI_OBS_10_4_45  1147
#define TI_OBS_10_4_55  1148

#define TI_OBS_11_1_11  1149
#define TI_OBS_11_1_21  1150
#define TI_OBS_11_1_12  1151
#define TI_OBS_11_1_22  1152
#define TI_OBS_11_3_11  1153
#define TI_OBS_11_3_21  1154
#define TI_OBS_11_3_31  1155
#define TI_OBS_11_3_41  1156
#define TI_OBS_11_3_12  1157
#define TI_OBS_11_3_22  1158
#define TI_OBS_11_3_32  1159
#define TI_OBS_11_3_42  1160
#define TI_OBS_11_3_13  1161
#define TI_OBS_11_3_23  1162
#define TI_OBS_11_3_33  1163
#define TI_OBS_11_3_43  1164
#define TI_OBS_11_3_14  1165
#define TI_OBS_11_3_24  1166
#define TI_OBS_11_3_34  1167
#define TI_OBS_11_3_44  1168
//*****************************************************************************
#define TI_FUSE2_SE     1169
#define TI_FUSE2_SWE    1170
#define TI_FUSE2_SW     1171
#define TI_FUSE2_S      1172
#define TI_FUSE2_NSE    1173
#define TI_FUSE2_NSWE   1174
#define TI_FUSE2_NSW    1175
#define TI_FUSE2_NS     1176
#define TI_FUSE2_NE     1177
#define TI_FUSE2_NWE    1178
#define TI_FUSE2_NW     1179
#define TI_FUSE2_N      1180
#define TI_FUSE2_E      1181
#define TI_FUSE2_WE     1182
#define TI_FUSE2_W      1183
#define TI_FUSE2        1184
//*****************************************************************************
#define TI_TARBABY_N    1185
#define TI_TARBABY_NE   1186
#define TI_TARBABY_E    1187
#define TI_TARBABY_SE   1188
#define TI_TARBABY_S    1189
#define TI_TARBABY_SW   1190
#define TI_TARBABY_W    1191
#define TI_TARBABY_NW   1192
#define TI_TARBABY_AN   1193
#define TI_TARBABY_ANE  1194
#define TI_TARBABY_AE   1195
#define TI_TARBABY_ASE  1196
#define TI_TARBABY_AS   1197
#define TI_TARBABY_ASW  1198
#define TI_TARBABY_AW   1199
#define TI_TARBABY_ANW  1200
#define TI_MUDBABY_N    1201
#define TI_MUDBABY_NE   1202
#define TI_MUDBABY_E    1203
#define TI_MUDBABY_SE   1204
#define TI_MUDBABY_S    1205
#define TI_MUDBABY_SW   1206
#define TI_MUDBABY_W    1207
#define TI_MUDBABY_NW   1208
#define TI_MUDBABY_AN   1209
#define TI_MUDBABY_ANE  1210
#define TI_MUDBABY_AE   1211
#define TI_MUDBABY_ASE  1212
#define TI_MUDBABY_AS   1213
#define TI_MUDBABY_ASW  1214
#define TI_MUDBABY_AW   1215
#define TI_MUDBABY_ANW  1216
//*****************************************************************************
//3.0 tiles
#define TI_SNK_G_W      1217
#define TI_SNK_G_EW     1218
#define TI_SNKT_G_E     1219

#define TI_SNKT_G_W     1220
#define TI_SNK_G_E      1221
#define TI_SNK_G_NW     1222
#define TI_SNK_G_NE     1223
#define TI_SNK_G_AN     1224

#define TI_SNK_G_N      1225
#define TI_SNKT_G_N     1226
#define TI_SNK_G_SW     1227
#define TI_SNK_G_SE     1228
#define TI_SNK_G_NS     1229

#define TI_SNKT_G_S     1230
#define TI_SNK_G_S      1231
#define TI_SNK_G_AW     1232
#define TI_SNK_G_AE     1233
#define TI_SNK_G_AS     1234

#define TI_AUMTLICH_AN    1235
#define TI_AUMTLICH_ANE   1236
#define TI_AUMTLICH_AE    1237
#define TI_AUMTLICH_ASE   1238
#define TI_AUMTLICH_AS    1239
#define TI_AUMTLICH_ASW   1240
#define TI_AUMTLICH_AW    1241
#define TI_AUMTLICH_ANW   1242
#define TI_AUMTLICH_N     1243
#define TI_AUMTLICH_NE    1244
#define TI_AUMTLICH_E     1245
#define TI_AUMTLICH_SE    1246
#define TI_AUMTLICH_S     1247
#define TI_AUMTLICH_SW    1248
#define TI_AUMTLICH_W     1249
#define TI_AUMTLICH_NW    1250
#define TI_ZGAZE_EW     1251
#define TI_ZGAZE_NWSE   1252
#define TI_ZGAZE_NS     1253
#define TI_ZGAZE_NESW   1254

#define TI_ACCESSORY4   1255
#define TI_TOKEN_TARON  1256
#define TI_MIRROR       1257
#define TI_ATK_UP       1258
#define TI_YELLOWKEY    1259
#define TI_GREENKEY     1260
#define TI_BLUEKEY      1261
#define TI_SWORD1       1262
#define TI_SWORD2       1263
#define TI_SWORD3       1264
#define TI_SWORD4       1265
#define TI_SWORD5       1266

#define TI_PIRATE_N   1267
#define TI_PIRATE_NE  1268
#define TI_PIRATE_E   1269
#define TI_PIRATE_SE  1270
#define TI_PIRATE_S   1271
#define TI_PIRATE_SW  1272
#define TI_PIRATE_W   1273
#define TI_PIRATE_NW  1274

#define TI_WATERSKIPPER_AN       1275
#define TI_WATERSKIPPER_ANE      1276
#define TI_WATERSKIPPER_AE       1277
#define TI_WATERSKIPPER_ASE      1278
#define TI_WATERSKIPPER_AS       1279
#define TI_WATERSKIPPER_ASW      1280
#define TI_WATERSKIPPER_AW       1281
#define TI_WATERSKIPPER_ANW      1282
#define TI_WATERSKIPPER_N        1283
#define TI_WATERSKIPPER_NE       1284
#define TI_WATERSKIPPER_E        1285
#define TI_WATERSKIPPER_SE       1286
#define TI_WATERSKIPPER_S        1287
#define TI_WATERSKIPPER_SW       1288
#define TI_WATERSKIPPER_W        1289
#define TI_WATERSKIPPER_NW       1290
#define TI_SKIPPERNEST      1291
//#define TI_SKIPPERNEST_A    1292

#define TI_FEGUNDO_N    1293
#define TI_FEGUNDO_NE   1294
#define TI_FEGUNDO_E    1295
#define TI_FEGUNDO_SE   1296
#define TI_FEGUNDO_S    1297
#define TI_FEGUNDO_SW   1298
#define TI_FEGUNDO_W    1299
#define TI_FEGUNDO_NW   1300
#define TI_FEGUNDO_AN   1301
#define TI_FEGUNDO_ANE  1302
#define TI_FEGUNDO_AE   1303
#define TI_FEGUNDO_ASE  1304
#define TI_FEGUNDO_AS   1305
#define TI_FEGUNDO_ASW  1306
#define TI_FEGUNDO_AW   1307
#define TI_FEGUNDO_ANW  1308

#define TI_GENERIC_EQUIPMENT  1309
#define TI_NODEFENSEHIT 1310
#define TI_SWORD10        1311
#define TI_SHIELD6        1312
#define TI_ACCESSORY12    1313

#define TI_PLATFORM_W         1314
#define TI_PLATFORM_W_E       1315
#define TI_PLATFORM_W_WE      1316
#define TI_PLATFORM_W_W       1317
#define TI_PLATFORM_W_S       1318
#define TI_PLATFORM_W_SE      1319
#define TI_PLATFORM_W_SWE     1320
#define TI_PLATFORM_W_SW      1321
#define TI_PLATFORM_W_NS      1322
#define TI_PLATFORM_W_NSE     1323
#define TI_PLATFORM_W_NSWE    1324
#define TI_PLATFORM_W_NSW     1325
#define TI_PLATFORM_W_N       1326
#define TI_PLATFORM_W_NE      1327
#define TI_PLATFORM_W_NWE     1328
#define TI_PLATFORM_W_NW      1329

#define TI_PLATFORM_P         1330
#define TI_PLATFORM_P_E       1331
#define TI_PLATFORM_P_WE      1332
#define TI_PLATFORM_P_W       1333
#define TI_PLATFORM_P_S       1334
#define TI_PLATFORM_P_SE      1335
#define TI_PLATFORM_P_SWE     1336
#define TI_PLATFORM_P_SW      1337
#define TI_PLATFORM_P_NS      1338
#define TI_PLATFORM_P_NSE     1339
#define TI_PLATFORM_P_NSWE    1340
#define TI_PLATFORM_P_NSW     1341
#define TI_PLATFORM_P_N       1342
#define TI_PLATFORM_P_NE      1343
#define TI_PLATFORM_P_NWE     1344
#define TI_PLATFORM_P_NW      1345

#define TI_LIGHT_CEILING 1346
#define TI_GOLEMDEBRIS1  1347
#define TI_GOLEMDEBRIS2  1348
#define TI_BRIAR         1349
#define TI_TOKEN_SWORD   1350
#define TI_MAP           1351

#define TI_WALL_IMAGE    1352
#define TI_ACCESSORY10   1353
#define TI_DARK_CEILING  1354
#define TI_WALLLIGHT     1355
#define TI_BRIAR2        1356
#define TI_PIT_IMAGE     1357

#define TI_WATER         1358
#define TI_WATER_E       1359
#define TI_WATER_WE      1360
#define TI_WATER_W       1361
#define TI_WATER_S       1362
#define TI_WATER_SE      1363
#define TI_WATER_SWE     1364
#define TI_WATER_SW      1365
#define TI_WATER_NS      1366
#define TI_WATER_NSE     1367
#define TI_WATER_NSWE    1368
#define TI_WATER_NSW     1369
#define TI_WATER_N       1370
#define TI_WATER_NE      1371
#define TI_WATER_NWE     1372
#define TI_WATER_NW      1373

//*****************************************************************************
#define TI_DOOR_GOSE     1374
#define TI_DOOR_GOSWE    1375
#define TI_DOOR_GOSW     1376
#define TI_DOOR_GOS      1377
#define TI_DOOR_GONSE    1378
#define TI_DOOR_GONSWE   1379
#define TI_DOOR_GONSW    1380
#define TI_DOOR_GONS     1381
#define TI_DOOR_GONE     1382
#define TI_DOOR_GONWE    1383
#define TI_DOOR_GONW     1384
#define TI_DOOR_GON      1385
#define TI_DOOR_GOE      1386
#define TI_DOOR_GOWE     1387
#define TI_DOOR_GOW      1388
#define TI_DOOR_GO       1389
#define TI_DOOR_COSE     1390
#define TI_DOOR_COSWE    1391
#define TI_DOOR_COSW     1392
#define TI_DOOR_COS      1393
#define TI_DOOR_CONSE    1394
#define TI_DOOR_CONSWE   1395
#define TI_DOOR_CONSW    1396
#define TI_DOOR_CONS     1397
#define TI_DOOR_CONE     1398
#define TI_DOOR_CONWE    1399
#define TI_DOOR_CONW     1400
#define TI_DOOR_CON      1401
#define TI_DOOR_COE      1402
#define TI_DOOR_COWE     1403
#define TI_DOOR_COW      1404
#define TI_DOOR_CO       1405
#define TI_DOOR_ROSE     1406
#define TI_DOOR_ROSWE    1407
#define TI_DOOR_ROSW     1408
#define TI_DOOR_ROS      1409
#define TI_DOOR_RONSE    1410
#define TI_DOOR_RONSWE   1411
#define TI_DOOR_RONSW    1412
#define TI_DOOR_RONS     1413
#define TI_DOOR_RONE     1414
#define TI_DOOR_RONWE    1415
#define TI_DOOR_RONW     1416
#define TI_DOOR_RON      1417
#define TI_DOOR_ROE      1418
#define TI_DOOR_ROWE     1419
#define TI_DOOR_ROW      1420
#define TI_DOOR_RO       1421
#define TI_DOOR_BOSE     1422
#define TI_DOOR_BOSWE    1423
#define TI_DOOR_BOSW     1424
#define TI_DOOR_BOS      1425
#define TI_DOOR_BONSE    1426
#define TI_DOOR_BONSWE   1427
#define TI_DOOR_BONSW    1428
#define TI_DOOR_BONS     1429
#define TI_DOOR_BONE     1430
#define TI_DOOR_BONWE    1431
#define TI_DOOR_BONW     1432
#define TI_DOOR_BON      1433
#define TI_DOOR_BOE      1434
#define TI_DOOR_BOWE     1435
#define TI_DOOR_BOW      1436
#define TI_DOOR_BO       1437
//*****************************************************************************

#define TI_GOO          1438
#define TI_GOO_E        1439
#define TI_GOO_WE       1440
#define TI_GOO_W        1441
#define TI_GOO_S        1442
#define TI_GOO_SE       1443
#define TI_GOO_SWE      1444
#define TI_GOO_SW       1445
#define TI_GOO_NS       1446
#define TI_GOO_NSE      1447
#define TI_GOO_NSWE     1448
#define TI_GOO_NSW      1449
#define TI_GOO_N        1450
#define TI_GOO_NE       1451
#define TI_GOO_NWE      1452
#define TI_GOO_NW       1453

#define TI_SPIDER_N     1454
#define TI_SPIDER_NE    1455
#define TI_SPIDER_E     1456
#define TI_SPIDER_SE    1457
#define TI_SPIDER_S     1458
#define TI_SPIDER_SW    1459
#define TI_SPIDER_W     1460
#define TI_SPIDER_NW    1461
#define TI_SPIDER_AN    1462
#define TI_SPIDER_ANE   1463
#define TI_SPIDER_AE    1464
#define TI_SPIDER_ASE   1465
#define TI_SPIDER_AS    1466
#define TI_SPIDER_ASW   1467
#define TI_SPIDER_AW    1468
#define TI_SPIDER_ANW   1469
#define TI_EYE_WN       1470
#define TI_EYE_WNE      1471
#define TI_EYE_WE       1472
#define TI_EYE_WSE      1473
#define TI_EYE_WS       1474
#define TI_EYE_WSW      1475
#define TI_EYE_WW       1476
#define TI_EYE_WNW      1477

//*****************************************************************************
#define TI_GELEYE_WO    1478
#define TI_GELEYE_EO    1479
#define TI_GELEYE_WC    1480
#define TI_GELEYE_EC    1481
#define TI_GELBLOOD_1   1482
#define TI_GELBLOOD_2   1483
#define TI_GELBABY_N    1484
#define TI_GELBABY_NE   1485
#define TI_GELBABY_E    1486
#define TI_GELBABY_SE   1487
#define TI_GELBABY_S    1488
#define TI_GELBABY_SW   1489
#define TI_GELBABY_W    1490
#define TI_GELBABY_NW   1491
#define TI_GELBABY_AN   1492
#define TI_GELBABY_ANE  1493
#define TI_GELBABY_AE   1494
#define TI_GELBABY_ASE  1495
#define TI_GELBABY_AS   1496
#define TI_GELBABY_ASW  1497
#define TI_GELBABY_AW   1498
#define TI_GELBABY_ANW  1499
#define TI_GEL_NW       1500
#define TI_GEL_N        1501
#define TI_GEL_NE       1502
#define TI_GEL_NWI      1503
#define TI_GEL_NEI      1504
#define TI_GEL_W        1505
#define TI_GEL_NSEW     1506
#define TI_GEL_E        1507
#define TI_GEL_NESWI    1508
#define TI_GEL_NWSEI    1509
#define TI_GEL_SW       1510
#define TI_GEL_S        1511
#define TI_GEL_SE       1512
#define TI_GEL_SEI      1513
#define TI_GEL_SWI      1514
//*****************************************************************************
#define TI_SNOWFLAKE_a1 1515
#define TI_SNOWFLAKE_a2 1516
#define TI_SNOWFLAKE_a3 1517
#define TI_SNOWFLAKE_a4 1518
#define TI_SNOWFLAKE_b1 1519
#define TI_SNOWFLAKE_b2 1520
#define TI_SNOWFLAKE_b3 1521
#define TI_SNOWFLAKE_b4 1522

#define TI_CITIZEN_N    1523
#define TI_CITIZEN_NE   1524
#define TI_CITIZEN_E    1525
#define TI_CITIZEN_SE   1526
#define TI_CITIZEN_S    1527
#define TI_CITIZEN_SW   1528
#define TI_CITIZEN_W    1529
#define TI_CITIZEN_NW   1530
//*****************************************************************************
#define TI_PP        1531
#define TI_PP_E      1532
#define TI_PP_WE     1533
#define TI_PP_W      1534
#define TI_PP_S      1535
#define TI_PP_SE     1536
#define TI_PP_SWE    1537
#define TI_PP_SW     1538
#define TI_PP_NS     1539
#define TI_PP_NSE    1540
#define TI_PP_NSWE   1541
#define TI_PP_NSW    1542
#define TI_PP_N      1543
#define TI_PP_NE     1544
#define TI_PP_NWE    1545
#define TI_PP_NW     1546
#define TI_PP_CSE     1547
#define TI_PP_CSWE    1548
#define TI_PP_CSW     1549
#define TI_PP_CS      1550
#define TI_PP_CNSE    1551
#define TI_PP_CNSWE   1552
#define TI_PP_CNSW    1553
#define TI_PP_CNS     1554
#define TI_PP_CNE     1555
#define TI_PP_CNWE    1556
#define TI_PP_CNW     1557
#define TI_PP_CN      1558
#define TI_PP_CE      1559
#define TI_PP_CWE     1560
#define TI_PP_CW      1561
#define TI_PP_C       1562
#define TI_PPT        1563
#define TI_PPT_E      1564
#define TI_PPT_WE     1565
#define TI_PPT_W      1566
#define TI_PPT_S      1567
#define TI_PPT_SE     1568
#define TI_PPT_SWE    1569
#define TI_PPT_SW     1570
#define TI_PPT_NS     1571
#define TI_PPT_NSE    1572
#define TI_PPT_NSWE   1573
#define TI_PPT_NSW    1574
#define TI_PPT_N      1575
#define TI_PPT_NE     1576
#define TI_PPT_NWE    1577
#define TI_PPT_NW     1578
#define TI_PPT_CSE     1579
#define TI_PPT_CSWE    1580
#define TI_PPT_CSW     1581
#define TI_PPT_CS      1582
#define TI_PPT_CNSE    1583
#define TI_PPT_CNSWE   1584
#define TI_PPT_CNSW    1585
#define TI_PPT_CNS     1586
#define TI_PPT_CNE     1587
#define TI_PPT_CNWE    1588
#define TI_PPT_CNW     1589
#define TI_PPT_CN      1590
#define TI_PPT_CE      1591
#define TI_PPT_CWE     1592
#define TI_PPT_CW      1593
#define TI_PPT_C       1594

#define TI_ACCESSORY8  1595
#define TI_ACCESSORY5  1596
#define TI_ACCESSORY6  1597
#define TI_ACCESSORY9  1598

//*****************************************************************************
#define TI_ROCKGIANT_N    1599
#define TI_ROCKGIANT_N1   1600
#define TI_ROCKGIANT_NE   1601
#define TI_ROCKGIANT_NE1  1602
#define TI_ROCKGIANT_E    1603
#define TI_ROCKGIANT_E1   1604
#define TI_ROCKGIANT_SE   1605
#define TI_ROCKGIANT_SE1  1606
#define TI_ROCKGIANT_S    1607
#define TI_ROCKGIANT_S1   1608
#define TI_ROCKGIANT_SW   1609
#define TI_ROCKGIANT_SW1  1610
#define TI_ROCKGIANT_W    1611
#define TI_ROCKGIANT_W1   1612
#define TI_ROCKGIANT_NW   1613
#define TI_ROCKGIANT_NW1  1614
#define TI_ROCKGIANT_N2   1615
#define TI_ROCKGIANT_N3   1616
#define TI_ROCKGIANT_NE2  1617
#define TI_ROCKGIANT_NE3  1618
#define TI_ROCKGIANT_E2   1619
#define TI_ROCKGIANT_E3   1620
#define TI_ROCKGIANT_SE2  1621
#define TI_ROCKGIANT_SE3  1622
#define TI_ROCKGIANT_S2   1623
#define TI_ROCKGIANT_S3   1624
#define TI_ROCKGIANT_SW2  1625
#define TI_ROCKGIANT_SW3  1626
#define TI_ROCKGIANT_W2   1627
#define TI_ROCKGIANT_W3   1628
#define TI_ROCKGIANT_NW2  1629
#define TI_ROCKGIANT_NW3  1630

#define TI_ROCKGIANTA_N    1631
#define TI_ROCKGIANTA_N1   1632
#define TI_ROCKGIANTA_NE   1633
#define TI_ROCKGIANTA_NE1  1634
#define TI_ROCKGIANTA_E    1635
#define TI_ROCKGIANTA_E1   1636
#define TI_ROCKGIANTA_SE   1637
#define TI_ROCKGIANTA_SE1  1638
#define TI_ROCKGIANTA_S    1639
#define TI_ROCKGIANTA_S1   1640
#define TI_ROCKGIANTA_SW   1641
#define TI_ROCKGIANTA_SW1  1642
#define TI_ROCKGIANTA_W    1643
#define TI_ROCKGIANTA_W1   1644
#define TI_ROCKGIANTA_NW   1645
#define TI_ROCKGIANTA_NW1  1646
#define TI_ROCKGIANTA_N2   1647
#define TI_ROCKGIANTA_N3   1648
#define TI_ROCKGIANTA_NE2  1649
#define TI_ROCKGIANTA_NE3  1650
#define TI_ROCKGIANTA_E2   1651
#define TI_ROCKGIANTA_E3   1652
#define TI_ROCKGIANTA_SE2  1653
#define TI_ROCKGIANTA_SE3  1654
#define TI_ROCKGIANTA_S2   1655
#define TI_ROCKGIANTA_S3   1656
#define TI_ROCKGIANTA_SW2  1657
#define TI_ROCKGIANTA_SW3  1658
#define TI_ROCKGIANTA_W2   1659
#define TI_ROCKGIANTA_W3   1660
#define TI_ROCKGIANTA_NW2  1661
#define TI_ROCKGIANTA_NW3  1662
//*****************************************************************************
#define TI_TOKEN_CW       1663
#define TI_TOKEN_CCW      1664
#define TI_TOKEN_TARMUD   1665
#define TI_TOKEN_TARGEL   1666
#define TI_TOKEN_GELMUD   1667
#define TI_ACCESSORY11    1668
#define TI_ACCESSORY7     1669
#define TI_LIGHT          1670
#define TI_TOKEN_SWORDOFF 1671
#define TI_TRAPDOOR2      1672
//*****************************************************************************
//Briar.
#define TI_BRIAR_SE       1673
#define TI_BRIAR_SWE      1674
#define TI_BRIAR_SWE2     1675
#define TI_BRIAR_SW       1676
#define TI_BRIAR_S        1677
#define TI_BRIAR_E        1678
#define TI_BRIAR_WE       1679
#define TI_BRIAR_W        1680
#define TI_BRIAR_NSE      1681
#define TI_BRIAR_NSWE     1682
#define TI_BRIAR_NSWE2    1683
#define TI_BRIAR_NSW      1684
#define TI_BRIAR_NS       1685
#define TI_BRIAR_SE2      1686
#define TI_BRIAR_SW2      1687
#define TI_BRIAR_S2       1688
#define TI_BRIAR_NSE2     1689
#define TI_BRIAR_NSWE3    1690
#define TI_BRIAR_NSWE4    1691
#define TI_BRIAR_NSW2     1692
#define TI_BRIAR_N        1693
#define TI_BRIAR_NE       1694
#define TI_BRIAR_NW       1695
#define TI_BRIAR_NS2      1696
#define TI_BRIAR_NE2      1697
#define TI_BRIAR_NWE      1698
#define TI_BRIAR_NWE2     1699
#define TI_BRIAR_NW2      1700
#define TI_BRIAR_E2       1701
#define TI_BRIAR_WE2      1702
#define TI_BRIAR_W2       1703
#define TI_BRIAR_N2       1704
//*****************************************************************************
#define TI_BRIDGE         1705
#define TI_BRIDGE_VEDGE   1706
#define TI_BRIDGE_V       1707
#define TI_BRIDGE_HEDGE   1708
#define TI_BRIDGE_H       1709
//*****************************************************************************
//Obstacle 12.
#define TI_OB_12_1        1710
#define TI_OB_12_2W       1711
#define TI_OB_12_2E       1712
#define TI_OBS_12_1_11    1713
#define TI_OBS_12_1_21    1714
#define TI_OBS_12_1_12    1715
#define TI_OBS_12_1_22    1716
#define TI_OBS_12_2_11    1717
#define TI_OBS_12_2_21    1718
#define TI_OBS_12_2_31    1719
#define TI_OBS_12_2_12    1720
#define TI_OBS_12_2_22    1721
#define TI_OBS_12_2_32    1722
//Obstacles 13-16.
#define TI_OB_13_1        1723
#define TI_OBS_13_1_11    1724
#define TI_OBS_13_1_21    1725
#define TI_OBS_13_1_12    1726
#define TI_OBS_13_1_22    1727
#define TI_OB_14_1        1728
#define TI_OBS_14_1_11    1729
#define TI_OBS_14_1_21    1730
#define TI_OBS_14_1_12    1731
#define TI_OBS_14_1_22    1732
#define TI_OB_15_1        1733
#define TI_OBS_15_1_11    1734
#define TI_OBS_15_1_21    1735
#define TI_OBS_15_1_12    1736
#define TI_OBS_15_1_22    1737
#define TI_OB_16_1        1738
#define TI_OBS_16_1_11    1739
#define TI_OBS_16_1_21    1740
#define TI_OBS_16_1_12    1741
#define TI_OBS_16_1_22    1742
//Obstacles 17-21.
#define TI_OB_17_1        1743
#define TI_OBS_17_1_11    1744
#define TI_OBS_17_1_21    1745
#define TI_OBS_17_1_12    1746
#define TI_OBS_17_1_22    1747
#define TI_OB_18_1        1748
#define TI_OBS_18_1_11    1749
#define TI_OBS_18_1_21    1750
#define TI_OBS_18_1_12    1751
#define TI_OBS_18_1_22    1752
#define TI_OB_19_1        1753
#define TI_OBS_19_1_11    1754
#define TI_OBS_19_1_21    1755
#define TI_OBS_19_1_12    1756
#define TI_OBS_19_1_22    1757
#define TI_OB_20_1        1758
#define TI_OBS_20_1_11    1759
#define TI_OBS_20_1_21    1760
#define TI_OBS_20_1_12    1761
#define TI_OBS_20_1_22    1762
#define TI_OB_21_1        1763
#define TI_OBS_21_1_11    1764
#define TI_OBS_21_1_21    1765
#define TI_OBS_21_1_12    1766
#define TI_OBS_21_1_22    1767
//Obstacle 22.
#define TI_OB_22_1        1768
#define TI_OBS_22_1_11    1769
#define TI_OBS_22_1_21    1770
#define TI_OBS_22_1_12    1771
#define TI_OBS_22_1_22    1772
#define TI_OB_22_2_11     1773
#define TI_OB_22_2_21     1774
#define TI_OB_22_2_12     1775
#define TI_OB_22_2_22     1776
#define TI_OBS_22_2_11    1777
#define TI_OBS_22_2_21    1778
#define TI_OBS_22_2_31    1779
#define TI_OBS_22_2_12    1780
#define TI_OBS_22_2_22    1781
#define TI_OBS_22_2_32    1782
#define TI_OBS_22_2_13    1783
#define TI_OBS_22_2_23    1784
#define TI_OBS_22_2_33    1785
#define TI_OB_22_3_11     1786
#define TI_OB_22_3_21     1787
#define TI_OB_22_3_31     1788
#define TI_OB_22_3_12     1789
#define TI_OB_22_3_22     1790
#define TI_OB_22_3_32     1791
#define TI_OB_22_3_13     1792
#define TI_OB_22_3_23     1793
#define TI_OB_22_3_33     1794
#define TI_OBS_22_3_11    1795
#define TI_OBS_22_3_21    1796
#define TI_OBS_22_3_31    1797
#define TI_OBS_22_3_41    1798
#define TI_OBS_22_3_12    1799
#define TI_OBS_22_3_22    1800
#define TI_OBS_22_3_32    1801
#define TI_OBS_22_3_42    1802
#define TI_OBS_22_3_13    1803
#define TI_OBS_22_3_23    1804
#define TI_OBS_22_3_33    1805
#define TI_OBS_22_3_43    1806
#define TI_OBS_22_3_14    1807
#define TI_OBS_22_3_24    1808
#define TI_OBS_22_3_34    1809
#define TI_OBS_22_3_44    1810
//Obstacle 23.
#define TI_OB_23_1        1811
#define TI_OBS_23_1_11    1812
#define TI_OBS_23_1_21    1813
#define TI_OBS_23_1_12    1814
#define TI_OBS_23_1_22    1815
#define TI_OB_23_2_11     1816
#define TI_OB_23_2_21     1817
#define TI_OB_23_2_12     1818
#define TI_OB_23_2_22     1819
#define TI_OBS_23_2_11    1820
#define TI_OBS_23_2_21    1821
#define TI_OBS_23_2_31    1822
#define TI_OBS_23_2_12    1823
#define TI_OBS_23_2_22    1824
#define TI_OBS_23_2_32    1825
#define TI_OBS_23_2_13    1826
#define TI_OBS_23_2_23    1827
#define TI_OBS_23_2_33    1828
//Obstacle 24.
#define TI_OB_24_1        1829
#define TI_OBS_24_1_11    1830
#define TI_OBS_24_1_21    1831
#define TI_OBS_24_1_12    1832
#define TI_OBS_24_1_22    1833
#define TI_OB_24_4_11     1834
#define TI_OB_24_4_21     1835
#define TI_OB_24_4_31     1836
#define TI_OB_24_4_41     1837
#define TI_OB_24_4_12     1838
#define TI_OB_24_4_22     1839
#define TI_OB_24_4_32     1840
#define TI_OB_24_4_42     1841
#define TI_OB_24_4_13     1842
#define TI_OB_24_4_23     1843
#define TI_OB_24_4_33     1844
#define TI_OB_24_4_43     1845
#define TI_OB_24_4_14     1846
#define TI_OB_24_4_24     1847
#define TI_OB_24_4_34     1848
#define TI_OB_24_4_44     1849
#define TI_OBS_24_4_11    1850
#define TI_OBS_24_4_21    1851
#define TI_OBS_24_4_31    1852
#define TI_OBS_24_4_41    1853
#define TI_OBS_24_4_51    1854
#define TI_OBS_24_4_12    1855
#define TI_OBS_24_4_22    1856
#define TI_OBS_24_4_32    1857
#define TI_OBS_24_4_42    1858
#define TI_OBS_24_4_52    1859
#define TI_OBS_24_4_13    1860
#define TI_OBS_24_4_23    1861
#define TI_OBS_24_4_33    1862
#define TI_OBS_24_4_43    1863
#define TI_OBS_24_4_53    1864
#define TI_OBS_24_4_14    1865
#define TI_OBS_24_4_24    1866
#define TI_OBS_24_4_34    1867
#define TI_OBS_24_4_44    1868
#define TI_OBS_24_4_54    1869
#define TI_OBS_24_4_15    1870
#define TI_OBS_24_4_25    1871
#define TI_OBS_24_4_35    1872
#define TI_OBS_24_4_45    1873
#define TI_OBS_24_4_55    1874
//Obstacle 25.
#define TI_OB_25_1        1875
#define TI_OBS_25_1_11    1876
#define TI_OBS_25_1_21    1877
#define TI_OBS_25_1_12    1878
#define TI_OBS_25_1_22    1879
#define TI_OB_25_3_11     1880
#define TI_OB_25_3_21     1881
#define TI_OB_25_3_31     1882
#define TI_OB_25_3_12     1883
#define TI_OB_25_3_22     1884
#define TI_OB_25_3_32     1885
#define TI_OB_25_3_13     1886
#define TI_OB_25_3_23     1887
#define TI_OB_25_3_33     1888
#define TI_OBS_25_3_11    1889
#define TI_OBS_25_3_21    1890
#define TI_OBS_25_3_31    1891
#define TI_OBS_25_3_41    1892
#define TI_OBS_25_3_12    1893
#define TI_OBS_25_3_22    1894
#define TI_OBS_25_3_32    1895
#define TI_OBS_25_3_42    1896
#define TI_OBS_25_3_13    1897
#define TI_OBS_25_3_23    1898
#define TI_OBS_25_3_33    1899
#define TI_OBS_25_3_43    1900
#define TI_OBS_25_3_14    1901
#define TI_OBS_25_3_24    1902
#define TI_OBS_25_3_34    1903
#define TI_OBS_25_3_44    1904
//Obstacle 26.
#define TI_OB_26_1        1905
#define TI_OBS_26_1_11    1906
#define TI_OBS_26_1_21    1907
#define TI_OBS_26_1_12    1908
#define TI_OBS_26_1_22    1909
#define TI_OB_26_2_11     1910
#define TI_OB_26_2_21     1911
#define TI_OB_26_2_12     1912
#define TI_OB_26_2_22     1913
#define TI_OBS_26_2_11    1914
#define TI_OBS_26_2_21    1915
#define TI_OBS_26_2_31    1916
#define TI_OBS_26_2_12    1917
#define TI_OBS_26_2_22    1918
#define TI_OBS_26_2_32    1919
#define TI_OBS_26_2_13    1920
#define TI_OBS_26_2_23    1921
#define TI_OBS_26_2_33    1922
//Obstacle 27.
#define TI_OB_27_1        1923
#define TI_OBS_27_1_11    1924
#define TI_OBS_27_1_21    1925
#define TI_OBS_27_1_12    1926
#define TI_OBS_27_1_22    1927
#define TI_OB_27_2_N      1928
#define TI_OB_27_2_S      1929
#define TI_OBS_27_2_11    1930
#define TI_OBS_27_2_21    1931
#define TI_OBS_27_2_12    1932
#define TI_OBS_27_2_22    1933
#define TI_OBS_27_2_13    1934
#define TI_OBS_27_2_23    1935
//Obstacle 28.
#define TI_OB_28_1        1936
#define TI_OBS_28_1_11    1937
#define TI_OBS_28_1_21    1938
#define TI_OBS_28_1_12    1939
#define TI_OBS_28_1_22    1940
//*****************************************************************************
//Briar edge.
#define TI_BRIAREDGE_SE    1941
#define TI_BRIAREDGE_SWE   1942
#define TI_BRIAREDGE_SWE2  1943
#define TI_BRIAREDGE_SW    1944
#define TI_BRIAREDGE_S     1945
#define TI_BRIAREDGE_E     1946
#define TI_BRIAREDGE_WE    1947
#define TI_BRIAREDGE_W     1948
#define TI_BRIAREDGE_NSE   1949
#define TI_BRIAREDGE_NSWE  1950
#define TI_BRIAREDGE_NSWE2 1951
#define TI_BRIAREDGE_NSW   1952
#define TI_BRIAREDGE_NS    1953
#define TI_BRIAREDGE_SE2   1954
#define TI_BRIAREDGE_SW2   1955
#define TI_BRIAREDGE_S2    1956
#define TI_BRIAREDGE_NSE2  1957
#define TI_BRIAREDGE       1958
#define TI_BRIAREDGE2      1959
#define TI_BRIAREDGE_NSW2  1960
#define TI_BRIAREDGE_N     1961
#define TI_BRIAREDGE_NE    1962
#define TI_BRIAREDGE_NW    1963
#define TI_BRIAREDGE_NS2   1964
#define TI_BRIAREDGE_NE2   1965
#define TI_BRIAREDGE_NWE   1966
#define TI_BRIAREDGE_NWE2  1967
#define TI_BRIAREDGE_NW2   1968
#define TI_BRIAREDGE_E2    1969
#define TI_BRIAREDGE_WE2   1970
#define TI_BRIAREDGE_W2    1971
#define TI_BRIAREDGE_N2    1972
//Briar root.
#define TI_BRIARROOT      1973
#define TI_BRIARROOT_E    1974
#define TI_BRIARROOT_WE   1975
#define TI_BRIARROOT_W    1976
#define TI_BRIARROOT_S    1977
#define TI_BRIARROOT_SE   1978
#define TI_BRIARROOT_SWE  1979
#define TI_BRIARROOT_SW   1980
#define TI_BRIARROOT_NS   1981
#define TI_BRIARROOT_NSE  1982
#define TI_BRIARROOT_NSWE 1983
#define TI_BRIARROOT_NSW  1984
#define TI_BRIARROOT_N    1985
#define TI_BRIARROOT_NE   1986
#define TI_BRIARROOT_NWE  1987
#define TI_BRIARROOT_NW   1988
//*****************************************************************************
//Obstacles 29-32.
#define TI_OB_29_1        1989
#define TI_OB_30_1        1990
#define TI_OB_31_1        1991
#define TI_OB_31_2W       1992
#define TI_OB_31_2E       1993
#define TI_OB_32_1        1994

#define TI_OBS_29_1_11    1995
#define TI_OBS_29_1_21    1996
#define TI_OBS_29_1_12    1997
#define TI_OBS_29_1_22    1998

#define TI_OBS_30_1_11    1999
#define TI_OBS_30_1_21    2000
#define TI_OBS_30_1_12    2001
#define TI_OBS_30_1_22    2002

#define TI_OBS_31_1_11    2003
#define TI_OBS_31_1_21    2004
#define TI_OBS_31_1_12    2005
#define TI_OBS_31_1_22    2006

#define TI_OBS_31_2_11    2007
#define TI_OBS_31_2_21    2008
#define TI_OBS_31_2_31    2009
#define TI_OBS_31_2_12    2010
#define TI_OBS_31_2_22    2011
#define TI_OBS_31_2_32    2012

#define TI_OBS_32_1_11    2013
#define TI_OBS_32_1_21    2014
#define TI_OBS_32_1_12    2015
#define TI_OBS_32_1_22    2016
//*****************************************************************************
#define TI_SWORD7         2017
#define TI_SWORD7_N       2018
#define TI_SWORD7_NE      2019
#define TI_SWORD7_E       2020
#define TI_SWORD7_SE      2021
#define TI_SWORD7_S       2022
#define TI_SWORD7_SW      2023
#define TI_SWORD7_W       2024
#define TI_SWORD7_NW      2025
#define TI_SWORD8         2026
#define TI_SWORD8_N       2027
#define TI_SWORD8_NE      2028
#define TI_SWORD8_E       2029
#define TI_SWORD8_SE      2030
#define TI_SWORD8_S       2031
#define TI_SWORD8_SW      2032
#define TI_SWORD8_W       2033
#define TI_SWORD8_NW      2034
#define TI_ACCESSORY1     2035
#define TI_ACCESSORY2     2036
//*****************************************************************************
#define TI_OB_30_3W       2037
#define TI_OB_30_3C       2038
#define TI_OB_30_3E       2039

#define TI_OBS_30_3_11    2040
#define TI_OBS_30_3_21    2041
#define TI_OBS_30_3_31    2042
#define TI_OBS_30_3_41    2043
#define TI_OBS_30_3_12    2044
#define TI_OBS_30_3_22    2045
#define TI_OBS_30_3_32    2046
#define TI_OBS_30_3_42    2047
//*****************************************************************************
#define TI_BEETHRO_UYN    2048
#define TI_BEETHRO_UYNE   2049
#define TI_BEETHRO_UYE    2050
#define TI_BEETHRO_UYSE   2051
#define TI_BEETHRO_UYS    2052
#define TI_BEETHRO_UYSW   2053
#define TI_BEETHRO_UYW    2054
#define TI_BEETHRO_UYNW   2055

#define TI_MIMIC_UN       2056
#define TI_MIMIC_UNE      2057
#define TI_MIMIC_UE       2058
#define TI_MIMIC_USE      2059
#define TI_MIMIC_US       2060
#define TI_MIMIC_USW      2061
#define TI_MIMIC_UW       2062
#define TI_MIMIC_UNW      2063

#define TI_DECOY_UN       2064
#define TI_DECOY_UNE      2065
#define TI_DECOY_UE       2066
#define TI_DECOY_USE      2067
#define TI_DECOY_US       2068
#define TI_DECOY_USW      2069
#define TI_DECOY_UW       2070
#define TI_DECOY_UNW      2071

#define TI_SLAYER_UN      2072
#define TI_SLAYER_UNE     2073
#define TI_SLAYER_UE      2074
#define TI_SLAYER_USE     2075
#define TI_SLAYER_US      2076
#define TI_SLAYER_USW     2077
#define TI_SLAYER_UW      2078
#define TI_SLAYER_UNW     2079

#define TI_PIRATE_UN    2080
#define TI_PIRATE_UNE   2081
#define TI_PIRATE_UE    2082
#define TI_PIRATE_USE   2083
#define TI_PIRATE_US    2084
#define TI_PIRATE_USW   2085
#define TI_PIRATE_UW    2086
#define TI_PIRATE_UNW   2087

#define TI_GUARD_UN       2088
#define TI_GUARD_UNE      2089
#define TI_GUARD_UE       2090
#define TI_GUARD_USE      2091
#define TI_GUARD_US       2092
#define TI_GUARD_USW      2093
#define TI_GUARD_UW       2094
#define TI_GUARD_UNW      2095
//*****************************************************************************
#define TI_SMOKE1         2096
#define TI_SMOKE2         2097
#define TI_SMOKE3         2098
#define TI_SMOKE4         2099
#define TI_SMOKE5         2100
#define TI_SMOKE6         2101
#define TI_SMOKE7         2102
#define TI_SMOKE8         2103
#define TI_SPLASH1        2104
#define TI_SPLASH2        2105
#define TI_SPLASH3        2106
#define TI_SPLASH4        2107
#define TI_SPLASH5        2108
#define TI_SPLASH6        2109
//*****************************************************************************
#define TI_SWORD9         2110
#define TI_SWORD9_N       2111
#define TI_SWORD9_NE      2112
#define TI_SWORD9_E       2113
#define TI_SWORD9_SE      2114
#define TI_SWORD9_S       2115
#define TI_SWORD9_SW      2116
#define TI_SWORD9_W       2117
#define TI_SWORD9_NW      2118
#define TI_HEALTH_SM      2119
//*****************************************************************************
#define TI_STAIR_SH1      2120
#define TI_STAIR_SH2      2121
#define TI_STAIR_SH3      2122
#define TI_STAIR_SH4      2123
#define TI_STAIR_SH_FULL  2124
//*****************************************************************************
#define TI_ACCESSORY3     2125

#define TI_STALWART_N     2126
#define TI_STALWART_NE    2127
#define TI_STALWART_E     2128
#define TI_STALWART_SE    2129
#define TI_STALWART_S     2130
#define TI_STALWART_SW    2131
#define TI_STALWART_W     2132
#define TI_STALWART_NW    2133

#define TI_STALWART_UN    2134
#define TI_STALWART_UNE   2135
#define TI_STALWART_UE    2136
#define TI_STALWART_USE   2137
#define TI_STALWART_US    2138
#define TI_STALWART_USW   2139
#define TI_STALWART_UW    2140
#define TI_STALWART_UNW   2141


static const UINT TI_COUNT = 2142;

static inline bool bIsBriarTI(const UINT ti)
{
	return ti == TI_BRIAR || ti == TI_BRIAR2 ||
		(ti >= TI_BRIAR_SE && ti <= TI_BRIAR_N2) ||
		(ti >= TI_BRIAREDGE_SE && ti <= TI_BRIARROOT_NW);
};

#endif //...#ifndef TILEIMAGECONSTANTS_H
