1 // license:BSD-3-Clause 2 // copyright-holders:David Haywood 3 #include "emu.h" 4 5 #define REALLY_SIMPLE 0 6 /* Non-Flipped, Tinted, Non-Transparent */ 7 #define FLIPX 0 8 #define TINT 1 9 #define TRANSPARENT 0 10 11 #include "epic12.h" 12 13 /* Special Case */ 14 #define BLENDED 0 15 #define FUNCNAME draw_sprite_f0_ti1_tr0_plain 16 #include "epic12in.hxx" 17 #undef FUNCNAME 18 #undef BLENDED 19 20 /* Regular Cases*/ 21 #define BLENDED 1 22 23 #define _SMODE 0 24 #define _DMODE 0 25 #define FUNCNAME draw_sprite_f0_ti1_tr0_s0_d0 26 #include "epic12in.hxx" 27 #undef FUNCNAME 28 #undef _SMODE 29 #undef _DMODE 30 31 #define _SMODE 1 32 #define _DMODE 0 33 #define FUNCNAME draw_sprite_f0_ti1_tr0_s1_d0 34 #include "epic12in.hxx" 35 #undef FUNCNAME 36 #undef _SMODE 37 #undef _DMODE 38 39 #define _SMODE 2 40 #define _DMODE 0 41 #define FUNCNAME draw_sprite_f0_ti1_tr0_s2_d0 42 #include "epic12in.hxx" 43 #undef FUNCNAME 44 #undef _SMODE 45 #undef _DMODE 46 47 #define _SMODE 3 48 #define _DMODE 0 49 #define FUNCNAME draw_sprite_f0_ti1_tr0_s3_d0 50 #include "epic12in.hxx" 51 #undef FUNCNAME 52 #undef _SMODE 53 #undef _DMODE 54 55 #define _SMODE 4 56 #define _DMODE 0 57 #define FUNCNAME draw_sprite_f0_ti1_tr0_s4_d0 58 #include "epic12in.hxx" 59 #undef FUNCNAME 60 #undef _SMODE 61 #undef _DMODE 62 63 #define _SMODE 5 64 #define _DMODE 0 65 #define FUNCNAME draw_sprite_f0_ti1_tr0_s5_d0 66 #include "epic12in.hxx" 67 #undef FUNCNAME 68 #undef _SMODE 69 #undef _DMODE 70 71 #define _SMODE 6 72 #define _DMODE 0 73 #define FUNCNAME draw_sprite_f0_ti1_tr0_s6_d0 74 #include "epic12in.hxx" 75 #undef FUNCNAME 76 #undef _SMODE 77 #undef _DMODE 78 79 #define _SMODE 7 80 #define _DMODE 0 81 #define FUNCNAME draw_sprite_f0_ti1_tr0_s7_d0 82 #include "epic12in.hxx" 83 #undef FUNCNAME 84 #undef _SMODE 85 #undef _DMODE 86 87 /////// 88 89 90 #define _SMODE 0 91 #define _DMODE 1 92 #define FUNCNAME draw_sprite_f0_ti1_tr0_s0_d1 93 #include "epic12in.hxx" 94 #undef FUNCNAME 95 #undef _SMODE 96 #undef _DMODE 97 98 #define _SMODE 1 99 #define _DMODE 1 100 #define FUNCNAME draw_sprite_f0_ti1_tr0_s1_d1 101 #include "epic12in.hxx" 102 #undef FUNCNAME 103 #undef _SMODE 104 #undef _DMODE 105 106 #define _SMODE 2 107 #define _DMODE 1 108 #define FUNCNAME draw_sprite_f0_ti1_tr0_s2_d1 109 #include "epic12in.hxx" 110 #undef FUNCNAME 111 #undef _SMODE 112 #undef _DMODE 113 114 #define _SMODE 3 115 #define _DMODE 1 116 #define FUNCNAME draw_sprite_f0_ti1_tr0_s3_d1 117 #include "epic12in.hxx" 118 #undef FUNCNAME 119 #undef _SMODE 120 #undef _DMODE 121 122 #define _SMODE 4 123 #define _DMODE 1 124 #define FUNCNAME draw_sprite_f0_ti1_tr0_s4_d1 125 #include "epic12in.hxx" 126 #undef FUNCNAME 127 #undef _SMODE 128 #undef _DMODE 129 130 #define _SMODE 5 131 #define _DMODE 1 132 #define FUNCNAME draw_sprite_f0_ti1_tr0_s5_d1 133 #include "epic12in.hxx" 134 #undef FUNCNAME 135 #undef _SMODE 136 #undef _DMODE 137 138 #define _SMODE 6 139 #define _DMODE 1 140 #define FUNCNAME draw_sprite_f0_ti1_tr0_s6_d1 141 #include "epic12in.hxx" 142 #undef FUNCNAME 143 #undef _SMODE 144 #undef _DMODE 145 146 #define _SMODE 7 147 #define _DMODE 1 148 #define FUNCNAME draw_sprite_f0_ti1_tr0_s7_d1 149 #include "epic12in.hxx" 150 #undef FUNCNAME 151 #undef _SMODE 152 #undef _DMODE 153 154 //// 155 156 157 #define _SMODE 0 158 #define _DMODE 2 159 #define FUNCNAME draw_sprite_f0_ti1_tr0_s0_d2 160 #include "epic12in.hxx" 161 #undef FUNCNAME 162 #undef _SMODE 163 #undef _DMODE 164 165 #define _SMODE 1 166 #define _DMODE 2 167 #define FUNCNAME draw_sprite_f0_ti1_tr0_s1_d2 168 #include "epic12in.hxx" 169 #undef FUNCNAME 170 #undef _SMODE 171 #undef _DMODE 172 173 #define _SMODE 2 174 #define _DMODE 2 175 #define FUNCNAME draw_sprite_f0_ti1_tr0_s2_d2 176 #include "epic12in.hxx" 177 #undef FUNCNAME 178 #undef _SMODE 179 #undef _DMODE 180 181 #define _SMODE 3 182 #define _DMODE 2 183 #define FUNCNAME draw_sprite_f0_ti1_tr0_s3_d2 184 #include "epic12in.hxx" 185 #undef FUNCNAME 186 #undef _SMODE 187 #undef _DMODE 188 189 #define _SMODE 4 190 #define _DMODE 2 191 #define FUNCNAME draw_sprite_f0_ti1_tr0_s4_d2 192 #include "epic12in.hxx" 193 #undef FUNCNAME 194 #undef _SMODE 195 #undef _DMODE 196 197 #define _SMODE 5 198 #define _DMODE 2 199 #define FUNCNAME draw_sprite_f0_ti1_tr0_s5_d2 200 #include "epic12in.hxx" 201 #undef FUNCNAME 202 #undef _SMODE 203 #undef _DMODE 204 205 #define _SMODE 6 206 #define _DMODE 2 207 #define FUNCNAME draw_sprite_f0_ti1_tr0_s6_d2 208 #include "epic12in.hxx" 209 #undef FUNCNAME 210 #undef _SMODE 211 #undef _DMODE 212 213 #define _SMODE 7 214 #define _DMODE 2 215 #define FUNCNAME draw_sprite_f0_ti1_tr0_s7_d2 216 #include "epic12in.hxx" 217 #undef FUNCNAME 218 #undef _SMODE 219 #undef _DMODE 220 221 /// 222 223 224 #define _SMODE 0 225 #define _DMODE 3 226 #define FUNCNAME draw_sprite_f0_ti1_tr0_s0_d3 227 #include "epic12in.hxx" 228 #undef FUNCNAME 229 #undef _SMODE 230 #undef _DMODE 231 232 #define _SMODE 1 233 #define _DMODE 3 234 #define FUNCNAME draw_sprite_f0_ti1_tr0_s1_d3 235 #include "epic12in.hxx" 236 #undef FUNCNAME 237 #undef _SMODE 238 #undef _DMODE 239 240 #define _SMODE 2 241 #define _DMODE 3 242 #define FUNCNAME draw_sprite_f0_ti1_tr0_s2_d3 243 #include "epic12in.hxx" 244 #undef FUNCNAME 245 #undef _SMODE 246 #undef _DMODE 247 248 #define _SMODE 3 249 #define _DMODE 3 250 #define FUNCNAME draw_sprite_f0_ti1_tr0_s3_d3 251 #include "epic12in.hxx" 252 #undef FUNCNAME 253 #undef _SMODE 254 #undef _DMODE 255 256 #define _SMODE 4 257 #define _DMODE 3 258 #define FUNCNAME draw_sprite_f0_ti1_tr0_s4_d3 259 #include "epic12in.hxx" 260 #undef FUNCNAME 261 #undef _SMODE 262 #undef _DMODE 263 264 #define _SMODE 5 265 #define _DMODE 3 266 #define FUNCNAME draw_sprite_f0_ti1_tr0_s5_d3 267 #include "epic12in.hxx" 268 #undef FUNCNAME 269 #undef _SMODE 270 #undef _DMODE 271 272 #define _SMODE 6 273 #define _DMODE 3 274 #define FUNCNAME draw_sprite_f0_ti1_tr0_s6_d3 275 #include "epic12in.hxx" 276 #undef FUNCNAME 277 #undef _SMODE 278 #undef _DMODE 279 280 #define _SMODE 7 281 #define _DMODE 3 282 #define FUNCNAME draw_sprite_f0_ti1_tr0_s7_d3 283 #include "epic12in.hxx" 284 #undef FUNCNAME 285 #undef _SMODE 286 #undef _DMODE 287 288 /// 289 290 291 #define _SMODE 0 292 #define _DMODE 4 293 #define FUNCNAME draw_sprite_f0_ti1_tr0_s0_d4 294 #include "epic12in.hxx" 295 #undef FUNCNAME 296 #undef _SMODE 297 #undef _DMODE 298 299 #define _SMODE 1 300 #define _DMODE 4 301 #define FUNCNAME draw_sprite_f0_ti1_tr0_s1_d4 302 #include "epic12in.hxx" 303 #undef FUNCNAME 304 #undef _SMODE 305 #undef _DMODE 306 307 #define _SMODE 2 308 #define _DMODE 4 309 #define FUNCNAME draw_sprite_f0_ti1_tr0_s2_d4 310 #include "epic12in.hxx" 311 #undef FUNCNAME 312 #undef _SMODE 313 #undef _DMODE 314 315 #define _SMODE 3 316 #define _DMODE 4 317 #define FUNCNAME draw_sprite_f0_ti1_tr0_s3_d4 318 #include "epic12in.hxx" 319 #undef FUNCNAME 320 #undef _SMODE 321 #undef _DMODE 322 323 #define _SMODE 4 324 #define _DMODE 4 325 #define FUNCNAME draw_sprite_f0_ti1_tr0_s4_d4 326 #include "epic12in.hxx" 327 #undef FUNCNAME 328 #undef _SMODE 329 #undef _DMODE 330 331 #define _SMODE 5 332 #define _DMODE 4 333 #define FUNCNAME draw_sprite_f0_ti1_tr0_s5_d4 334 #include "epic12in.hxx" 335 #undef FUNCNAME 336 #undef _SMODE 337 #undef _DMODE 338 339 #define _SMODE 6 340 #define _DMODE 4 341 #define FUNCNAME draw_sprite_f0_ti1_tr0_s6_d4 342 #include "epic12in.hxx" 343 #undef FUNCNAME 344 #undef _SMODE 345 #undef _DMODE 346 347 #define _SMODE 7 348 #define _DMODE 4 349 #define FUNCNAME draw_sprite_f0_ti1_tr0_s7_d4 350 #include "epic12in.hxx" 351 #undef FUNCNAME 352 #undef _SMODE 353 #undef _DMODE 354 355 /// 356 357 #define _SMODE 0 358 #define _DMODE 5 359 #define FUNCNAME draw_sprite_f0_ti1_tr0_s0_d5 360 #include "epic12in.hxx" 361 #undef FUNCNAME 362 #undef _SMODE 363 #undef _DMODE 364 365 #define _SMODE 1 366 #define _DMODE 5 367 #define FUNCNAME draw_sprite_f0_ti1_tr0_s1_d5 368 #include "epic12in.hxx" 369 #undef FUNCNAME 370 #undef _SMODE 371 #undef _DMODE 372 373 #define _SMODE 2 374 #define _DMODE 5 375 #define FUNCNAME draw_sprite_f0_ti1_tr0_s2_d5 376 #include "epic12in.hxx" 377 #undef FUNCNAME 378 #undef _SMODE 379 #undef _DMODE 380 381 #define _SMODE 3 382 #define _DMODE 5 383 #define FUNCNAME draw_sprite_f0_ti1_tr0_s3_d5 384 #include "epic12in.hxx" 385 #undef FUNCNAME 386 #undef _SMODE 387 #undef _DMODE 388 389 #define _SMODE 4 390 #define _DMODE 5 391 #define FUNCNAME draw_sprite_f0_ti1_tr0_s4_d5 392 #include "epic12in.hxx" 393 #undef FUNCNAME 394 #undef _SMODE 395 #undef _DMODE 396 397 #define _SMODE 5 398 #define _DMODE 5 399 #define FUNCNAME draw_sprite_f0_ti1_tr0_s5_d5 400 #include "epic12in.hxx" 401 #undef FUNCNAME 402 #undef _SMODE 403 #undef _DMODE 404 405 #define _SMODE 6 406 #define _DMODE 5 407 #define FUNCNAME draw_sprite_f0_ti1_tr0_s6_d5 408 #include "epic12in.hxx" 409 #undef FUNCNAME 410 #undef _SMODE 411 #undef _DMODE 412 413 #define _SMODE 7 414 #define _DMODE 5 415 #define FUNCNAME draw_sprite_f0_ti1_tr0_s7_d5 416 #include "epic12in.hxx" 417 #undef FUNCNAME 418 #undef _SMODE 419 #undef _DMODE 420 421 /// 422 423 #define _SMODE 0 424 #define _DMODE 6 425 #define FUNCNAME draw_sprite_f0_ti1_tr0_s0_d6 426 #include "epic12in.hxx" 427 #undef FUNCNAME 428 #undef _SMODE 429 #undef _DMODE 430 431 #define _SMODE 1 432 #define _DMODE 6 433 #define FUNCNAME draw_sprite_f0_ti1_tr0_s1_d6 434 #include "epic12in.hxx" 435 #undef FUNCNAME 436 #undef _SMODE 437 #undef _DMODE 438 439 #define _SMODE 2 440 #define _DMODE 6 441 #define FUNCNAME draw_sprite_f0_ti1_tr0_s2_d6 442 #include "epic12in.hxx" 443 #undef FUNCNAME 444 #undef _SMODE 445 #undef _DMODE 446 447 #define _SMODE 3 448 #define _DMODE 6 449 #define FUNCNAME draw_sprite_f0_ti1_tr0_s3_d6 450 #include "epic12in.hxx" 451 #undef FUNCNAME 452 #undef _SMODE 453 #undef _DMODE 454 455 #define _SMODE 4 456 #define _DMODE 6 457 #define FUNCNAME draw_sprite_f0_ti1_tr0_s4_d6 458 #include "epic12in.hxx" 459 #undef FUNCNAME 460 #undef _SMODE 461 #undef _DMODE 462 463 #define _SMODE 5 464 #define _DMODE 6 465 #define FUNCNAME draw_sprite_f0_ti1_tr0_s5_d6 466 #include "epic12in.hxx" 467 #undef FUNCNAME 468 #undef _SMODE 469 #undef _DMODE 470 471 #define _SMODE 6 472 #define _DMODE 6 473 #define FUNCNAME draw_sprite_f0_ti1_tr0_s6_d6 474 #include "epic12in.hxx" 475 #undef FUNCNAME 476 #undef _SMODE 477 #undef _DMODE 478 479 #define _SMODE 7 480 #define _DMODE 6 481 #define FUNCNAME draw_sprite_f0_ti1_tr0_s7_d6 482 #include "epic12in.hxx" 483 #undef FUNCNAME 484 #undef _SMODE 485 #undef _DMODE 486 487 /// 488 489 490 #define _SMODE 0 491 #define _DMODE 7 492 #define FUNCNAME draw_sprite_f0_ti1_tr0_s0_d7 493 #include "epic12in.hxx" 494 #undef FUNCNAME 495 #undef _SMODE 496 #undef _DMODE 497 498 #define _SMODE 1 499 #define _DMODE 7 500 #define FUNCNAME draw_sprite_f0_ti1_tr0_s1_d7 501 #include "epic12in.hxx" 502 #undef FUNCNAME 503 #undef _SMODE 504 #undef _DMODE 505 506 #define _SMODE 2 507 #define _DMODE 7 508 #define FUNCNAME draw_sprite_f0_ti1_tr0_s2_d7 509 #include "epic12in.hxx" 510 #undef FUNCNAME 511 #undef _SMODE 512 #undef _DMODE 513 514 #define _SMODE 3 515 #define _DMODE 7 516 #define FUNCNAME draw_sprite_f0_ti1_tr0_s3_d7 517 #include "epic12in.hxx" 518 #undef FUNCNAME 519 #undef _SMODE 520 #undef _DMODE 521 522 #define _SMODE 4 523 #define _DMODE 7 524 #define FUNCNAME draw_sprite_f0_ti1_tr0_s4_d7 525 #include "epic12in.hxx" 526 #undef FUNCNAME 527 #undef _SMODE 528 #undef _DMODE 529 530 #define _SMODE 5 531 #define _DMODE 7 532 #define FUNCNAME draw_sprite_f0_ti1_tr0_s5_d7 533 #include "epic12in.hxx" 534 #undef FUNCNAME 535 #undef _SMODE 536 #undef _DMODE 537 538 #define _SMODE 6 539 #define _DMODE 7 540 #define FUNCNAME draw_sprite_f0_ti1_tr0_s6_d7 541 #include "epic12in.hxx" 542 #undef FUNCNAME 543 #undef _SMODE 544 #undef _DMODE 545 546 #define _SMODE 7 547 #define _DMODE 7 548 #define FUNCNAME draw_sprite_f0_ti1_tr0_s7_d7 549 #include "epic12in.hxx" 550 #undef FUNCNAME 551 #undef _SMODE 552 #undef _DMODE 553 554 #undef BLENDED 555 556 #undef FLIPX 557 #undef TINT 558 #undef TRANSPARENT 559 #undef REALLY_SIMPLE 560