[BACK]Return to IncludeGlobals.h CVS log [TXT][DIR] Up to [contributed] / brogue-ce / src / brogue

Annotation of brogue-ce/src/brogue/IncludeGlobals.h, Revision 1.1.1.1

1.1       rubenllo    1: /*
                      2:  *  Include Globals.h
                      3:  *  Brogue
                      4:  *
                      5:  *  Created by Brian Walker on 2/8/09.
                      6:  *  Copyright 2012. All rights reserved.
                      7:  *
                      8:  *  This file is part of Brogue.
                      9:  *
                     10:  *  This program is free software: you can redistribute it and/or modify
                     11:  *  it under the terms of the GNU Affero General Public License as
                     12:  *  published by the Free Software Foundation, either version 3 of the
                     13:  *  License, or (at your option) any later version.
                     14:  *
                     15:  *  This program is distributed in the hope that it will be useful,
                     16:  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
                     17:  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     18:  *  GNU Affero General Public License for more details.
                     19:  *
                     20:  *  You should have received a copy of the GNU Affero General Public License
                     21:  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
                     22:  */
                     23:
                     24: extern tcell tmap[DCOLS][DROWS];                        // grids with info about the map
                     25: extern pcell pmap[DCOLS][DROWS];                        // grids with info about the map
                     26: extern short **scentMap;
                     27: extern cellDisplayBuffer displayBuffer[COLS][ROWS];
                     28: extern short terrainRandomValues[DCOLS][DROWS][8];
                     29: extern short **safetyMap;                                       // used to help monsters flee
                     30: extern short **allySafetyMap;
                     31: extern short **chokeMap;
                     32:
                     33: extern const short nbDirs[8][2];
                     34: extern const short cDirs[8][2];
                     35: extern levelData *levels;
                     36: extern creature player;
                     37: extern playerCharacter rogue;
                     38: extern creature *monsters;
                     39: extern creature *dormantMonsters;
                     40: extern creature *graveyard;
                     41: extern creature *purgatory;
                     42: extern item *floorItems;
                     43: extern item *packItems;
                     44: extern item *monsterItemsHopper;
                     45: extern short numberOfWaypoints;
                     46:
                     47: extern char displayedMessage[MESSAGE_LINES][COLS];
                     48: extern boolean messageConfirmed[3];
                     49: extern char combatText[COLS];
                     50: extern short messageArchivePosition;
                     51: extern char messageArchive[MESSAGE_ARCHIVE_LINES][COLS*2];
                     52:
                     53: extern char currentFilePath[BROGUE_FILENAME_MAX];
                     54: extern unsigned long randomNumbersGenerated;
                     55:
                     56: extern char displayDetail[DCOLS][DROWS];
                     57:
                     58: #ifdef AUDIT_RNG
                     59: extern FILE *RNGLogFile;
                     60: #endif
                     61:
                     62: extern unsigned char inputRecordBuffer[INPUT_RECORD_BUFFER + 100];
                     63: extern unsigned short locationInRecordingBuffer;
                     64:
                     65: extern unsigned long positionInPlaybackFile;
                     66: extern unsigned long lengthOfPlaybackFile;
                     67: extern unsigned long recordingLocation;
                     68: extern unsigned long maxLevelChanges;
                     69: extern char annotationPathname[BROGUE_FILENAME_MAX];    // pathname of annotation file
                     70: extern unsigned long previousGameSeed;
                     71:
                     72: // basic colors
                     73: extern color white;
                     74: extern color red;
                     75: extern color blue;
                     76: extern color darkRed;
                     77: extern color gray;
                     78: extern color darkGray;
                     79: extern color veryDarkGray;
                     80: extern color black;
                     81: extern color yellow;
                     82: extern color darkYellow;
                     83: extern color teal;
                     84: extern color purple;
                     85: extern color darkPurple;
                     86: extern color brown;
                     87: extern color green;
                     88: extern color darkGreen;
                     89: extern color orange;
                     90: extern color darkOrange;
                     91: extern color darkBlue;
                     92: extern color lightBlue;
                     93: extern color pink;
                     94: extern color tanColor;
                     95: extern color sunlight;
                     96: extern color rainbow;
                     97:
                     98: // tile colors
                     99: extern color undiscoveredColor;
                    100:
                    101: extern color wallForeColor;
                    102: extern color wallBackColorStart;
                    103: extern color wallBackColorEnd;
                    104: extern color wallBackColor;
                    105: extern color graniteBackColor;
                    106: extern color floorForeColor;
                    107: extern color floorBackColor;
                    108: extern color doorForeColor;
                    109: extern color doorBackColor;
                    110:
                    111: extern color deepWaterForeColor;
                    112: extern color deepWaterBackColor;
                    113: extern color shallowWaterForeColor;
                    114: extern color shallowWaterBackColor;
                    115: extern color mudForeColor;
                    116: extern color mudBackColor;
                    117: extern color chasmForeColor;
                    118: extern color chasmEdgeBackColor;
                    119: extern color fireForeColor;
                    120:
                    121: // light colors
                    122: extern color minersLightColor;
                    123: extern color minersLightStartColor;
                    124: extern color minersLightEndColor;
                    125: extern color torchLightColor;
                    126: extern color deepWaterLightColor;
                    127: extern color redFlashColor;
                    128:
                    129: extern color discordColor;
                    130: extern color memoryColor;
                    131: extern color memoryOverlay;
                    132: extern color magicMapColor;
                    133: extern color clairvoyanceColor;
                    134: extern color telepathyMultiplier;
                    135: extern color omniscienceColor;
                    136: extern color basicLightColor;
                    137:
                    138: extern color colorDim25;
                    139: extern color colorMultiplier100;
                    140:
                    141: extern color magicMapFlashColor;
                    142:
                    143: extern color itemColor;
                    144: extern color blueBar;
                    145: extern color redBar;
                    146: extern color hiliteColor;
                    147: extern color interfaceBoxColor;
                    148: extern color interfaceButtonColor;
                    149:
                    150: extern color playerInvisibleColor;
                    151: extern color playerInShadowColor;
                    152: extern color playerInLightColor;
                    153: extern color playerInDarknessColor;
                    154:
                    155: extern const color inLightMultiplierColor;
                    156: extern const color inDarknessMultiplierColor;
                    157:
                    158: extern const color buttonHoverColor;
                    159: extern color titleButtonColor;
                    160:
                    161: // other colors
                    162: extern color centipedeColor;
                    163: extern color confusionGasColor;
                    164: extern color lightningColor;
                    165: extern color spectralImageColor;
                    166:
                    167: extern color goodMessageColor;
                    168: extern color badMessageColor;
                    169: extern color advancementMessageColor;
                    170: extern color itemMessageColor;
                    171: extern color backgroundMessageColor;
                    172:
                    173: extern color flavorTextColor;
                    174:
                    175: extern const color flameSourceColor;
                    176: extern const color flameSourceColorSecondary;
                    177: extern const color flameTitleColor;
                    178:
                    179: extern const color superVictoryColor;
                    180:
                    181: extern color *dynamicColors[NUMBER_DYNAMIC_COLORS][3];
                    182:
                    183: extern const autoGenerator autoGeneratorCatalog[NUMBER_AUTOGENERATORS];
                    184:
                    185: extern floorTileType tileCatalog[NUMBER_TILETYPES];
                    186:
                    187: extern dungeonFeature dungeonFeatureCatalog[NUMBER_DUNGEON_FEATURES];
                    188: extern dungeonProfile dungeonProfileCatalog[NUMBER_DUNGEON_PROFILES];
                    189:
                    190: extern lightSource lightCatalog[NUMBER_LIGHT_KINDS];
                    191:
                    192: extern const blueprint blueprintCatalog[NUMBER_BLUEPRINTS];
                    193:
                    194: extern creatureType monsterCatalog[NUMBER_MONSTER_KINDS];
                    195: extern monsterWords monsterText[NUMBER_MONSTER_KINDS];
                    196: extern hordeType hordeCatalog[NUMBER_HORDES];
                    197: extern const mutation mutationCatalog[NUMBER_MUTATORS];
                    198: extern const monsterClass monsterClassCatalog[MONSTER_CLASS_COUNT];
                    199:
                    200: extern const feat featTable[FEAT_COUNT];
                    201:
                    202: // ITEMS
                    203: extern char itemCategoryNames[NUMBER_ITEM_CATEGORIES][7];
                    204: extern char itemTitles[NUMBER_SCROLL_KINDS][30];
                    205: extern char titlePhonemes[NUMBER_TITLE_PHONEMES][30];
                    206: extern char itemColors[NUMBER_ITEM_COLORS][30];
                    207: extern char itemWoods[NUMBER_ITEM_WOODS][30];
                    208: extern char itemMetals[NUMBER_ITEM_METALS][30];
                    209: extern char itemGems[NUMBER_ITEM_GEMS][30];
                    210:
                    211: extern char itemColorsRef[NUMBER_ITEM_COLORS][30];
                    212: extern char itemWoodsRef[NUMBER_ITEM_WOODS][30];
                    213: extern char itemMetalsRef[NUMBER_ITEM_METALS][30];
                    214: extern char itemGemsRef[NUMBER_ITEM_GEMS][30];
                    215:
                    216: extern itemTable keyTable[NUMBER_KEY_TYPES];
                    217: extern itemTable foodTable[NUMBER_FOOD_KINDS];
                    218: extern itemTable weaponTable[NUMBER_WEAPON_KINDS];
                    219: extern itemTable armorTable[NUMBER_ARMOR_KINDS];
                    220: extern itemTable scrollTable[NUMBER_SCROLL_KINDS];
                    221: extern itemTable potionTable[NUMBER_POTION_KINDS];
                    222: extern itemTable wandTable[NUMBER_WAND_KINDS];
                    223: extern itemTable staffTable[NUMBER_STAFF_KINDS];
                    224: extern itemTable ringTable[NUMBER_RING_KINDS];
                    225: extern itemTable charmTable[NUMBER_CHARM_KINDS];
                    226:
                    227: extern const bolt boltCatalog[NUMBER_BOLT_KINDS];
                    228:
                    229: extern const char weaponRunicNames[NUMBER_WEAPON_RUNIC_KINDS][30];
                    230:
                    231: extern const char armorRunicNames[NUMBER_ARMOR_ENCHANT_KINDS][30];
                    232:
                    233: extern const char monsterBehaviorFlagDescriptions[32][COLS];
                    234: extern const char monsterAbilityFlagDescriptions[32][COLS];
                    235: extern const char monsterBookkeepingFlagDescriptions[32][COLS];

CVSweb