| 1 | // |
| 2 | // gameinfo.c |
| 3 | // Part of TaylorMade, an interpreter for Adventure Soft UK games |
| 4 | // |
| 5 | // Created by Petter Sjölund on 2022-03-23. |
| 6 | // |
| 7 | |
| 8 | #include <stdio.h> |
| 9 | |
| 10 | #include "taylor.h" |
| 11 | |
| 12 | // clang-format off |
| 13 | struct GameInfo games[NUMGAMES] = { |
| 14 | { |
| 15 | "Questprobe 3", |
| 16 | QUESTPROBE3, |
| 17 | QUESTPROBE3_TYPE, // type |
| 18 | QUESTPROBE3, |
| 19 | |
| 20 | 0x45F6, // dictionary |
| 21 | 0x4c8c, // tokens |
| 22 | 0x28a5, // start_of_room_descriptions |
| 23 | 0x2c7a, // start_of_item_descriptions |
| 24 | 0x3e10, // automatics |
| 25 | 0x3045, // actions |
| 26 | 0x50d4, // start_of_room_connections |
| 27 | 0x67ba, // start_of_flags |
| 28 | 0x50a3, // start_of_item_locations |
| 29 | 0x2000, // start_of_messages |
| 30 | 0, // second message bank |
| 31 | |
| 32 | 0x6100, // start_of_characters |
| 33 | 0x6916, // start_of_image_data |
| 34 | 0x381c, // image patterns lookup table |
| 35 | 0x001c, // number of patterns |
| 36 | 0x009f, // patterns end marker |
| 37 | 0x878b, // start of room image instructions |
| 38 | 57, // number_of_image blocks |
| 39 | ZXOPT // palette |
| 40 | }, |
| 41 | |
| 42 | { |
| 43 | "Questprobe 3 C64", |
| 44 | QUESTPROBE3_64, |
| 45 | QUESTPROBE3_TYPE, // type |
| 46 | QUESTPROBE3, |
| 47 | |
| 48 | 0x1187, // dictionary |
| 49 | 0x0003, // tokens |
| 50 | 0x09e7, // start_of_room_descriptions |
| 51 | 0x0dbc, // start_of_item_descriptions |
| 52 | 0x2641, // automatics |
| 53 | 0x1876, // actions |
| 54 | 0x1812, // start_of_room_connections |
| 55 | 0xc1bc, // start_of_flags |
| 56 | 0x2dfd, // start_of_item_locations |
| 57 | 0x0142, // start_of_messages |
| 58 | 0, // second message bank |
| 59 | |
| 60 | 0xbb02, // start_of_characters |
| 61 | 0x6058, // start_of_image_data |
| 62 | 0x381c, // image patterns lookup table |
| 63 | 0x001c, // number of patterns |
| 64 | 0x009f, // patterns end marker |
| 65 | 0x878b, // start of room image instructions |
| 66 | 57, // number_of_image blocks |
| 67 | C64A // palette |
| 68 | }, |
| 69 | |
| 70 | { |
| 71 | "Rebel Planet", |
| 72 | REBEL_PLANET, |
| 73 | REBEL_PLANET_TYPE, // type |
| 74 | REBEL_PLANET, |
| 75 | |
| 76 | 0x3559, // dictionary |
| 77 | 0x7bda, // tokens |
| 78 | 0x5615, // start_of_room_descriptions |
| 79 | 0x7321, // start_of_item_descriptions |
| 80 | 0x3c9d, // automatics |
| 81 | 0x43e0, // actions |
| 82 | 0x33a3, // start_of_room_connections |
| 83 | 0x1ff8, // start_of_flags |
| 84 | 0x331e, // start_of_item_locations |
| 85 | 0x5e05, // start_of_messages |
| 86 | 0x6f19, // second message bank |
| 87 | |
| 88 | 0x810e, // start_of_characters |
| 89 | 0x9139, // start_of_image_data |
| 90 | 0, // image patterns lookup table |
| 91 | 0, // number of patterns |
| 92 | 0, // patterns end marker |
| 93 | 0x87a6, // start of room image instructions |
| 94 | 167, // number_of_image blocks |
| 95 | ZXOPT // palette |
| 96 | }, |
| 97 | |
| 98 | { |
| 99 | "Rebel Planet C64", |
| 100 | REBEL_PLANET_64, |
| 101 | REBEL_PLANET_TYPE, // type |
| 102 | REBEL_PLANET, |
| 103 | |
| 104 | 0x5e3d, // dictionary |
| 105 | 0x40c7, // tokens |
| 106 | 0x1b02, // start_of_room_descriptions |
| 107 | 0x380e, // start_of_item_descriptions |
| 108 | 0x6581, // automatics |
| 109 | 0x6cc4, // actions |
| 110 | 0x5c87, // start_of_room_connections |
| 111 | 0x198a, // start_of_flags |
| 112 | 0x5c02, // start_of_item_locations |
| 113 | 0x22f2, // start_of_messages |
| 114 | 0x3406, // second message bank |
| 115 | |
| 116 | 0xb78c, // start_of_characters |
| 117 | 0x7f02, // start_of_image_data |
| 118 | 0, // image patterns lookup table |
| 119 | 0, // number of patterns |
| 120 | 0, // patterns end marker |
| 121 | 0xadea, // start of room image instructions |
| 122 | 167, // number_of_image blocks |
| 123 | C64B // palette |
| 124 | }, |
| 125 | |
| 126 | { |
| 127 | "Blizzard Pass", |
| 128 | BLIZZARD_PASS, |
| 129 | BLIZZARD_PASS_TYPE, // type |
| 130 | BLIZZARD_PASS, |
| 131 | |
| 132 | 0x6720, // dictionary |
| 133 | 0x71bc, // tokens |
| 134 | 0x35ce, // start_of_room_descriptions |
| 135 | 0x4ce6, // start_of_item_descriptions |
| 136 | 0x56d9, // automatics |
| 137 | 0x5a54, // actions |
| 138 | 0x6b67, // start_of_room_connections |
| 139 | 0x2051, // start_of_flags |
| 140 | 0x76a8, // start_of_item_locations |
| 141 | 0x3e26, // start_of_messages |
| 142 | 0, // second message bank |
| 143 | |
| 144 | 0x8350, // start_of_characters |
| 145 | 0x8708, // start_of_image_data |
| 146 | 0, // image patterns lookup table |
| 147 | 0, // number of patterns |
| 148 | 0, // patterns end marker |
| 149 | 0x7798, // start of room image instructions |
| 150 | 114, // number_of_image blocks |
| 151 | ZXOPT // palette |
| 152 | }, |
| 153 | |
| 154 | { |
| 155 | "Heman", |
| 156 | HEMAN, |
| 157 | HEMAN_TYPE, // type |
| 158 | HEMAN, |
| 159 | |
| 160 | 0x483A, // dictionary |
| 161 | 0x4ce0, // tokens |
| 162 | 0x5b36, // start_of_room_descriptions |
| 163 | 0x56a2, // start_of_item_descriptions |
| 164 | 0x45bf, // automatics |
| 165 | 0x37d8, // actions |
| 166 | 0x442f, // start_of_room_connections |
| 167 | 0x1e45, // start_of_flags |
| 168 | 0x43cb, // start_of_item_locations |
| 169 | 0x6665, // start_of_messages |
| 170 | 0x4fee, // second message bank |
| 171 | |
| 172 | 0x8603, // start_of_characters |
| 173 | 0x8d13, // start_of_image_data |
| 174 | 0x3703, // image patterns lookup table |
| 175 | 0x001c, // number of patterns |
| 176 | 0x009f, // patterns end marker |
| 177 | 0x7adf, // start of room image instructions |
| 178 | 139, // number_of_image blocks |
| 179 | ZXOPT // palette |
| 180 | }, |
| 181 | |
| 182 | { |
| 183 | "Heman C64", |
| 184 | HEMAN_64, |
| 185 | HEMAN_TYPE, // type |
| 186 | HEMAN, |
| 187 | |
| 188 | 0x116f, // dictionary |
| 189 | 0x1615, // tokens |
| 190 | 0x5c08, // start_of_room_descriptions |
| 191 | 0x798d, // start_of_item_descriptions |
| 192 | 0x0ef4, // automatics |
| 193 | 0x010d, // actions |
| 194 | 0x0d64, // start_of_room_connections |
| 195 | 0x2bbf, // start_of_flags |
| 196 | 0x0d00, // start_of_item_locations |
| 197 | 0x6737, // start_of_messages |
| 198 | 0x1923, // second message bank |
| 199 | |
| 200 | 0x8008, // start_of_characters |
| 201 | 0x8718, // start_of_image_data |
| 202 | 0, // image patterns lookup table |
| 203 | 0, // number of patterns |
| 204 | 0, // patterns end marker |
| 205 | 0x4808, // start of room image instructions |
| 206 | 139, // number_of_image blocks |
| 207 | C64B // palette |
| 208 | }, |
| 209 | |
| 210 | { |
| 211 | "Temple of Terror", |
| 212 | TEMPLE_OF_TERROR, |
| 213 | HEMAN_TYPE, // type |
| 214 | TEMPLE_OF_TERROR, |
| 215 | |
| 216 | 0x4b9d, // dictionary |
| 217 | 0x50d4, // tokens |
| 218 | 0x53b3, // start_of_room_descriptions |
| 219 | 0x5c4f, // start_of_item_descriptions |
| 220 | 0x4804, // automatics |
| 221 | 0x38a4, // actions |
| 222 | 0x465c, // start_of_room_connections |
| 223 | 0x1e45, // start_of_flags |
| 224 | 0x4594, // start_of_item_locations |
| 225 | 0x667d, // start_of_messages |
| 226 | 0x75d0, // second message bank |
| 227 | |
| 228 | 0x83cb, // start_of_characters |
| 229 | 0x8a33, // start_of_image_blocks |
| 230 | 0x3837, // image patterns lookup table |
| 231 | 0x0012, // number of patterns |
| 232 | 0x00aa, // patterns end marker |
| 233 | 0x7b75, // start of room image instructions |
| 234 | 143, // number_of_image blocks |
| 235 | ZXOPT // palette |
| 236 | }, |
| 237 | |
| 238 | { |
| 239 | "Temple of Terror text only version", |
| 240 | TOT_TEXT_ONLY, |
| 241 | HEMAN_TYPE, // type |
| 242 | TEMPLE_OF_TERROR, |
| 243 | |
| 244 | 0x4ba2, // dictionary |
| 245 | 0x50d9, // tokens |
| 246 | 0x7a2a, // start_of_room_descriptions |
| 247 | 0x5419, // start_of_item_descriptions |
| 248 | 0x4809, // automatics |
| 249 | 0x38a9, // actions |
| 250 | 0x4661, // start_of_room_connections |
| 251 | 0x21bf, // start_of_flags |
| 252 | 0x4599, // start_of_item_locations |
| 253 | 0x5fd9, // start_of_messages |
| 254 | 0x73b7, // second message bank |
| 255 | |
| 256 | 0, // start_of_characters |
| 257 | 0, // start_of_image_blocks |
| 258 | 0, // image patterns lookup table |
| 259 | 0, // number of patterns |
| 260 | 0, // patterns end marker |
| 261 | 0, // start of room image instructions |
| 262 | 0, // number_of_image blocks |
| 263 | 0 // palette |
| 264 | }, |
| 265 | |
| 266 | { |
| 267 | "Temple of Terror combined version", |
| 268 | TOT_HYBRID, |
| 269 | HEMAN_TYPE, // type |
| 270 | TEMPLE_OF_TERROR, |
| 271 | |
| 272 | 0x4ba2, // dictionary |
| 273 | 0x50d9, // tokens |
| 274 | 0x7a2a, // start_of_room_descriptions |
| 275 | 0x5419, // start_of_item_descriptions |
| 276 | 0x4809, // automatics |
| 277 | 0x38a9, // actions |
| 278 | 0x4661, // start_of_room_connections |
| 279 | 0x21bf, // start_of_flags |
| 280 | 0x4599, // start_of_item_locations |
| 281 | 0x5fd9, // start_of_messages |
| 282 | 0x73b7, // second message bank |
| 283 | |
| 284 | 0x83cb, // start_of_characters |
| 285 | 0x8a33, // start_of_image_blocks |
| 286 | 0x3837, // image patterns lookup table |
| 287 | 0x0012, // number of patterns |
| 288 | 0x00aa, // patterns end marker |
| 289 | 0x7b75, // start of room image instructions |
| 290 | 143, // number_of_image blocks |
| 291 | ZXOPT // palette |
| 292 | }, |
| 293 | |
| 294 | { |
| 295 | "Temple of Terror C64", |
| 296 | TEMPLE_OF_TERROR_64, |
| 297 | HEMAN_TYPE, // type |
| 298 | TEMPLE_OF_TERROR, |
| 299 | |
| 300 | 0x5b08, // dictionary |
| 301 | 0x603f, // tokens |
| 302 | 0x631e, // start_of_room_descriptions |
| 303 | 0x1301, // start_of_item_descriptions |
| 304 | 0x0f68, // automatics |
| 305 | 0x0008, // actions |
| 306 | 0x0dc0, // start_of_room_connections |
| 307 | 0x2aa6, // start_of_flags |
| 308 | 0x0cf8, // start_of_item_locations |
| 309 | 0x6bba, // start_of_messages |
| 310 | 0x7b0d, // second message bank |
| 311 | |
| 312 | 0x8048, // start_of_characters |
| 313 | 0x86b0, // start_of_image_blocks |
| 314 | 0, // image patterns lookup table |
| 315 | 0, // number of patterns |
| 316 | 0, // patterns end marker |
| 317 | 0x4708, // start of room image instructions |
| 318 | 143, // number_of_image blocks |
| 319 | C64B // palette |
| 320 | }, |
| 321 | |
| 322 | { |
| 323 | "Temple of Terror C64 text only version", |
| 324 | TOT_TEXT_ONLY_64, |
| 325 | HEMAN_TYPE, // type |
| 326 | TEMPLE_OF_TERROR, |
| 327 | |
| 328 | 0x5001, // dictionary |
| 329 | 0x5538, // tokens |
| 330 | 0x7e89, // start_of_room_descriptions |
| 331 | 0x5878, // start_of_item_descriptions |
| 332 | 0x4c68, // automatics |
| 333 | 0x3d08, // actions |
| 334 | 0x4ac0, // start_of_room_connections |
| 335 | 0x0b95, // start_of_flags |
| 336 | 0x49f8, // start_of_item_locations |
| 337 | 0x6438, // start_of_messages |
| 338 | 0x7816, // second message bank |
| 339 | |
| 340 | 0, // start_of_characters |
| 341 | 0, // start_of_image_blocks |
| 342 | 0, // image patterns lookup table |
| 343 | 0, // number of patterns |
| 344 | 0, // patterns end marker |
| 345 | 0, // start of room image instructions |
| 346 | 0, // number_of_image blocks |
| 347 | C64B // palette |
| 348 | }, |
| 349 | |
| 350 | { |
| 351 | "Temple of Terror C64 combined version", |
| 352 | TOT_HYBRID_64, |
| 353 | HEMAN_TYPE, // type |
| 354 | TEMPLE_OF_TERROR, |
| 355 | |
| 356 | 0x5001, // dictionary |
| 357 | 0x5538, // tokens |
| 358 | 0x7e89, // start_of_room_descriptions |
| 359 | 0x5878, // start_of_item_descriptions |
| 360 | 0x4c68, // automatics |
| 361 | 0x3d08, // actions |
| 362 | 0x4ac0, // start_of_room_connections |
| 363 | 0x0b95, // start_of_flags |
| 364 | 0x49f8, // start_of_item_locations |
| 365 | 0x6438, // start_of_messages |
| 366 | 0x7816, // second message bank |
| 367 | |
| 368 | 0x8888, // start_of_characters |
| 369 | 0x8ef0, // start_of_image_blocks |
| 370 | 0, // image patterns lookup table |
| 371 | 0, // number of patterns |
| 372 | 0, // patterns end marker |
| 373 | 0x16ea, // start of room image instructions |
| 374 | 143, // number_of_image blocks |
| 375 | C64B // palette |
| 376 | }, |
| 377 | |
| 378 | { |
| 379 | "Kayleth", |
| 380 | KAYLETH, |
| 381 | HEMAN_TYPE, // type |
| 382 | KAYLETH, |
| 383 | |
| 384 | 0x5323, // dictionary |
| 385 | 0x7fee, // tokens |
| 386 | 0x6eb3, // start_of_room_descriptions |
| 387 | 0x7870, // start_of_item_descriptions |
| 388 | 0x4f4d, // automatics |
| 389 | 0x3a48, // actions |
| 390 | 0x4de0, // start_of_room_connections |
| 391 | 0x20f3, // start_of_flags |
| 392 | 0x4d5f, // start_of_item_locations |
| 393 | 0x5a99, // start_of_messages |
| 394 | 0x769d, // second message bank |
| 395 | |
| 396 | 0x95f0, // start_of_characters |
| 397 | 0x9ce0, // start_of_image_blocks |
| 398 | 0x38B6, // image patterns lookup table |
| 399 | 0x001f, // number of patterns |
| 400 | 0x008e, // patterns end marker |
| 401 | 0x8279, // start of room image instructions |
| 402 | 210, // number_of_image blocks |
| 403 | ZXOPT // palette |
| 404 | }, |
| 405 | |
| 406 | { |
| 407 | "Kayleth C64", |
| 408 | KAYLETH_64, |
| 409 | HEMAN_TYPE, // type |
| 410 | KAYLETH, |
| 411 | |
| 412 | 0x175f, // dictionary |
| 413 | 0xbace, // tokens |
| 414 | 0xa993, // start_of_room_descriptions |
| 415 | 0xb350, // start_of_item_descriptions |
| 416 | 0x1389, // automatics |
| 417 | 0x8074, // actions |
| 418 | 0x940c, // start_of_room_connections |
| 419 | 0x2a81, // start_of_flags |
| 420 | 0x938b, // start_of_item_locations |
| 421 | 0x9579, // start_of_messages |
| 422 | 0xb17d, // second message bank |
| 423 | |
| 424 | 0xc028, // start_of_characters |
| 425 | 0x5b28, // start_of_image_blocks |
| 426 | 0, // image patterns lookup table |
| 427 | 0, // number of patterns |
| 428 | 0, // patterns end marker |
| 429 | 0x0012, // start of room image instructions |
| 430 | 210, // number_of_image blocks |
| 431 | C64B // palette |
| 432 | }, |
| 433 | // clang-format on |
| 434 | |
| 435 | { "Unknown game", |
| 436 | UNKNOWN_GAME, |
| 437 | NO_TYPE, |
| 438 | UNKNOWN_GAME, |
| 439 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 440 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 441 | 0, 0, 0, 0 } |
| 442 | }; |