#define SHIP_TYPES_QUANTITY 166 #define SHIP_TYPES_QUANTITY_WITH_FORT 256 // must be (SHIP_TYPES_QUANTITY + 1) #define SHIP_TARTANE 0 #define SHIP_BARQUE_FRANCE 1 #define SHIP_BARQUE_SPAIN 2 #define SHIP_BARQUE_ENGLAND 3 #define SHIP_BARQUE_HOLLAND 4 #define SHIP_BARQUE_PORTUGAL 5 #define SHIP_YACHT_FRANCE 6 #define SHIP_YACHT_SPAIN 7 #define SHIP_YACHT_ENGLAND 8 #define SHIP_YACHT_HOLLAND 9 #define SHIP_YACHT_PORTUGAL 10 #define SHIP_LUGGER_FRANCE 11 #define SHIP_LUGGER_SPAIN 12 #define SHIP_LUGGER_ENGLAND 13 #define SHIP_LUGGER_HOLLAND 14 #define SHIP_LUGGER_PORTUGAL 15 #define SHIP_SLOOP_FRANCE 16 #define SHIP_SLOOP_SPAIN 17 #define SHIP_SLOOP_ENGLAND 18 #define SHIP_SLOOP_HOLLAND 19 #define SHIP_SLOOP_PORTUGAL 20 #define SHIP_GALEOTH_FRANCE 21 #define SHIP_GALEOTH_SPAIN 22 #define SHIP_GALEOTH_ENGLAND 23 #define SHIP_GALEOTH_HOLLAND 24 #define SHIP_GALEOTH_PORTUGAL 25 #define SHIP_XEBEC_FRANCE 26 #define SHIP_XEBEC_SPAIN 27 #define SHIP_XEBEC_ENGLAND 28 #define SHIP_XEBEC_HOLLAND 29 #define SHIP_XEBEC_PORTUGAL 30 #define SHIP_SCHOONER_FRANCE 31 #define SHIP_SCHOONER_SPAIN 32 #define SHIP_SCHOONER_ENGLAND 33 #define SHIP_SCHOONER_HOLLAND 34 #define SHIP_SCHOONER_PORTUGAL 35 #define SHIP_CARAVEL_FRANCE 36 #define SHIP_CARAVEL_SPAIN 37 #define SHIP_CARAVEL_ENGLAND 38 #define SHIP_CARAVEL_HOLLAND 39 #define SHIP_CARAVEL_PORTUGAL 40 #define SHIP_FLEUT_FRANCE 41 #define SHIP_FLEUT_SPAIN 42 #define SHIP_FLEUT_ENGLAND 43 #define SHIP_FLEUT_HOLLAND 44 #define SHIP_FLEUT_PORTUGAL 45 #define SHIP_PINNACE_FRANCE 46 #define SHIP_PINNACE_SPAIN 47 #define SHIP_PINNACE_ENGLAND 48 #define SHIP_PINNACE_HOLLAND 49 #define SHIP_PINNACE_PORTUGAL 50 #define SHIP_BRIG_FRANCE 51 #define SHIP_BRIG_SPAIN 52 #define SHIP_BRIG_ENGLAND 53 #define SHIP_BRIG_HOLLAND 54 #define SHIP_BRIG_PORTUGAL 55 #define SHIP_GALEON_FRANCE 56 #define SHIP_GALEON_SPAIN 57 #define SHIP_GALEON_ENGLAND 58 #define SHIP_GALEON_HOLLAND 59 #define SHIP_GALEON_PORTUGAL 60 #define SHIP_CORVETTE_FRANCE 61 #define SHIP_CORVETTE_SPAIN 62 #define SHIP_CORVETTE_ENGLAND 63 #define SHIP_CORVETTE_HOLLAND 64 #define SHIP_CORVETTE_PORTUGAL 65 #define SHIP_FRIGATE_FRANCE 66 #define SHIP_FRIGATE_SPAIN 67 #define SHIP_FRIGATE_ENGLAND 68 #define SHIP_FRIGATE_HOLLAND 69 #define SHIP_FRIGATE_PORTUGAL 70 #define SHIP_BATTLESHIP_FRANCE 71 #define SHIP_BATTLESHIP_SPAIN 72 #define SHIP_BATTLESHIP_ENGLAND 73 #define SHIP_BATTLESHIP_HOLLAND 74 #define SHIP_BATTLESHIP_PORTUGAL 75 #define SHIP_MANOWAR_FRANCE 76 #define SHIP_MANOWAR_SPAIN 77 #define SHIP_MANOWAR_ENGLAND 78 #define SHIP_MANOWAR_HOLLAND 79 #define SHIP_MANOWAR_PORTUGAL 80 #define SHIP_BARQUE2_FRANCE 81 #define SHIP_BARQUE2_SPAIN 82 #define SHIP_BARQUE2_ENGLAND 83 #define SHIP_BARQUE2_HOLLAND 84 #define SHIP_BARQUE2_PORTUGAL 85 #define SHIP_YACHT2_FRANCE 86 #define SHIP_YACHT2_SPAIN 87 #define SHIP_YACHT2_ENGLAND 88 #define SHIP_YACHT2_HOLLAND 89 #define SHIP_YACHT2_PORTUGAL 90 #define SHIP_LUGGER2_FRANCE 91 #define SHIP_LUGGER2_SPAIN 92 #define SHIP_LUGGER2_ENGLAND 93 #define SHIP_LUGGER2_HOLLAND 94 #define SHIP_LUGGER2_PORTUGAL 95 #define SHIP_SLOOP2_FRANCE 96 #define SHIP_SLOOP2_SPAIN 97 #define SHIP_SLOOP2_ENGLAND 98 #define SHIP_SLOOP2_HOLLAND 99 #define SHIP_SLOOP2_PORTUGAL 100 #define SHIP_GALEOTH2_FRANCE 101 #define SHIP_GALEOTH2_SPAIN 102 #define SHIP_GALEOTH2_ENGLAND 103 #define SHIP_GALEOTH2_HOLLAND 104 #define SHIP_GALEOTH2_PORTUGAL 105 #define SHIP_XEBEC2_FRANCE 106 #define SHIP_XEBEC2_SPAIN 107 #define SHIP_XEBEC2_ENGLAND 108 #define SHIP_XEBEC2_HOLLAND 109 #define SHIP_XEBEC2_PORTUGAL 110 #define SHIP_SCHOONER2_FRANCE 111 #define SHIP_SCHOONER2_SPAIN 112 #define SHIP_SCHOONER2_ENGLAND 113 #define SHIP_SCHOONER2_HOLLAND 114 #define SHIP_SCHOONER2_PORTUGAL 115 #define SHIP_CARAVEL2_FRANCE 116 #define SHIP_CARAVEL2_SPAIN 117 #define SHIP_CARAVEL2_ENGLAND 118 #define SHIP_CARAVEL2_HOLLAND 119 #define SHIP_CARAVEL2_PORTUGAL 120 #define SHIP_FLEUT2_FRANCE 121 #define SHIP_FLEUT2_SPAIN 122 #define SHIP_FLEUT2_ENGLAND 123 #define SHIP_FLEUT2_HOLLAND 124 #define SHIP_FLEUT2_PORTUGAL 125 #define SHIP_PINNACE2_FRANCE 126 #define SHIP_PINNACE2_SPAIN 127 #define SHIP_PINNACE2_ENGLAND 128 #define SHIP_PINNACE2_HOLLAND 129 #define SHIP_PINNACE2_PORTUGAL 130 #define SHIP_BRIG2_FRANCE 131 #define SHIP_BRIG2_SPAIN 132 #define SHIP_BRIG2_ENGLAND 133 #define SHIP_BRIG2_HOLLAND 134 #define SHIP_BRIG2_PORTUGAL 135 #define SHIP_GALEON2_FRANCE 136 #define SHIP_GALEON2_SPAIN 137 #define SHIP_GALEON2_ENGLAND 138 #define SHIP_GALEON2_HOLLAND 139 #define SHIP_GALEON2_PORTUGAL 140 #define SHIP_CORVETTE2_FRANCE 141 #define SHIP_CORVETTE2_SPAIN 142 #define SHIP_CORVETTE2_ENGLAND 143 #define SHIP_CORVETTE2_HOLLAND 144 #define SHIP_CORVETTE2_PORTUGAL 145 #define SHIP_FRIGATE2_FRANCE 146 #define SHIP_FRIGATE2_SPAIN 147 #define SHIP_FRIGATE2_ENGLAND 148 #define SHIP_FRIGATE2_HOLLAND 149 #define SHIP_FRIGATE2_PORTUGAL 150 #define SHIP_BATTLESHIP2_FRANCE 151 #define SHIP_BATTLESHIP2_SPAIN 152 #define SHIP_BATTLESHIP2_ENGLAND 153 #define SHIP_BATTLESHIP2_HOLLAND 154 #define SHIP_BATTLESHIP2_PORTUGAL 155 #define SHIP_MANOWAR2_FRANCE 156 #define SHIP_MANOWAR2_SPAIN 157 #define SHIP_MANOWAR2_ENGLAND 158 #define SHIP_MANOWAR2_HOLLAND 159 #define SHIP_MANOWAR2_PORTUGAL 160 #define SHIP_MANOWAR_GUB 161 #define SHIP_FRIGATE_SAT 162 #define SHIP_TARTANE2 163 #define SHIP_BLACK_PEARL 164 #define SHIP_FEARLESS 165 #define SHIP_BOAT 250 #define SHIP_FORT 251 #define SHIP_NOTUSED 1000 #define SHIP_NOTUSED_TYPE_NAME "Not Used" #define SHIP_NAME_NOTUSED "Noname" object ShipsTypes[SHIP_TYPES_QUANTITY_WITH_FORT]; ref GetShipByType(int iType) { return &ShipsTypes[iType]; }