trunk/src/mame/video/tumbleb.c
| r241755 | r241756 | |
| 304 | 304 | { |
| 305 | 305 | int offs, offs2; |
| 306 | 306 | |
| 307 | | m_flipscreen = m_control_0[0] & 0x80; |
| 308 | | machine().tilemap().set_flip_all(m_flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 307 | flip_screen_set(m_control_0[0] & 0x80); |
| 308 | machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 309 | 309 | |
| 310 | | if (m_flipscreen) |
| 310 | if (flip_screen()) |
| 311 | 311 | offs = 1; |
| 312 | 312 | else |
| 313 | 313 | offs = -1; |
| 314 | 314 | |
| 315 | | if (m_flipscreen) |
| 315 | if (flip_screen()) |
| 316 | 316 | offs2 = -3; |
| 317 | 317 | else |
| 318 | 318 | offs2 = -5; |
| r241755 | r241756 | |
| 326 | 326 | { |
| 327 | 327 | int offs, offs2; |
| 328 | 328 | |
| 329 | | m_flipscreen = m_control_0[0] & 0x80; |
| 330 | | machine().tilemap().set_flip_all(m_flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 329 | flip_screen_set(m_control_0[0] & 0x80); |
| 330 | machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 331 | 331 | |
| 332 | | if (m_flipscreen) |
| 332 | if (flip_screen()) |
| 333 | 333 | offs = 1; |
| 334 | 334 | else |
| 335 | 335 | offs = -1; |
| 336 | 336 | |
| 337 | | if (m_flipscreen) |
| 337 | if (flip_screen()) |
| 338 | 338 | offs2 = -3; |
| 339 | 339 | else |
| 340 | 340 | offs2 = -5; |
| r241755 | r241756 | |
| 347 | 347 | { |
| 348 | 348 | int offs, offs2; |
| 349 | 349 | |
| 350 | | m_flipscreen = m_control_0[0] & 0x80; |
| 351 | | machine().tilemap().set_flip_all(m_flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 350 | flip_screen_set(m_control_0[0] & 0x80); |
| 351 | machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 352 | 352 | |
| 353 | | if (m_flipscreen) |
| 353 | if (flip_screen()) |
| 354 | 354 | offs = 1; |
| 355 | 355 | else |
| 356 | 356 | offs = -1; |
| 357 | 357 | |
| 358 | | if (m_flipscreen) |
| 358 | if (flip_screen()) |
| 359 | 359 | offs2 = -3; |
| 360 | 360 | else |
| 361 | 361 | offs2 = -5; |
| r241755 | r241756 | |
| 368 | 368 | { |
| 369 | 369 | int offsx, offsy, offsx2; |
| 370 | 370 | |
| 371 | | m_flipscreen = m_control_0[0] & 0x80; |
| 371 | flip_screen_set(m_control_0[0] & 0x80); |
| 372 | 372 | |
| 373 | 373 | offsx = -1; |
| 374 | 374 | offsy = 2; |
| r241755 | r241756 | |
| 383 | 383 | { |
| 384 | 384 | int offs, offs2; |
| 385 | 385 | |
| 386 | | m_flipscreen = m_control_0[0] & 0x80; |
| 387 | | machine().tilemap().set_flip_all(m_flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 386 | flip_screen_set(m_control_0[0] & 0x80); |
| 387 | machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 388 | 388 | |
| 389 | 389 | /* not sure of this */ |
| 390 | | if (m_flipscreen) |
| 390 | if (flip_screen()) |
| 391 | 391 | offs = 1; |
| 392 | 392 | else |
| 393 | 393 | offs = 8; |
| 394 | 394 | |
| 395 | 395 | /* not sure of this */ |
| 396 | | if (m_flipscreen) |
| 396 | if (flip_screen()) |
| 397 | 397 | offs2 = -3; |
| 398 | 398 | else |
| 399 | 399 | offs2 = 8; |
| r241755 | r241756 | |
| 406 | 406 | { |
| 407 | 407 | int offs, offs2; |
| 408 | 408 | |
| 409 | | m_flipscreen = m_control_0[0] & 0x80; |
| 410 | | machine().tilemap().set_flip_all(m_flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 409 | flip_screen_set(m_control_0[0] & 0x80); |
| 410 | machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 411 | 411 | offs = -1; |
| 412 | 412 | offs2 = -2; |
| 413 | 413 | |
| r241755 | r241756 | |
| 420 | 420 | { |
| 421 | 421 | int offs, offs2; |
| 422 | 422 | |
| 423 | | m_flipscreen = m_control_0[0] & 0x80; |
| 424 | | machine().tilemap().set_flip_all(m_flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 423 | flip_screen_set(m_control_0[0] & 0x80); |
| 424 | machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 425 | 425 | offs = -1; |
| 426 | 426 | offs2 = -5; // foreground scroll.. |
| 427 | 427 | |
| r241755 | r241756 | |
| 435 | 435 | { |
| 436 | 436 | int offs, offs2; |
| 437 | 437 | |
| 438 | | m_flipscreen = m_control_0[0] & 0x80; |
| 439 | | machine().tilemap().set_flip_all(m_flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 438 | flip_screen_set(m_control_0[0] & 0x80); |
| 439 | machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 440 | 440 | |
| 441 | | if (m_flipscreen) |
| 441 | if (flip_screen()) |
| 442 | 442 | offs = 1; |
| 443 | 443 | else |
| 444 | 444 | offs = -1; |
| 445 | 445 | |
| 446 | | if (m_flipscreen) |
| 446 | if (flip_screen()) |
| 447 | 447 | offs2 = -3; |
| 448 | 448 | else |
| 449 | 449 | offs2 = -5; |
| r241755 | r241756 | |
| 457 | 457 | { |
| 458 | 458 | int offs, offs2; |
| 459 | 459 | |
| 460 | | m_flipscreen = m_control_0[0] & 0x80; |
| 461 | | machine().tilemap().set_flip_all(m_flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 460 | flip_screen_set(m_control_0[0] & 0x80); |
| 461 | machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| 462 | 462 | |
| 463 | | if (m_flipscreen) |
| 463 | if (flip_screen()) |
| 464 | 464 | offs = 1; |
| 465 | 465 | else |
| 466 | 466 | offs = -1; |
| 467 | 467 | |
| 468 | | if (m_flipscreen) |
| 468 | if (flip_screen()) |
| 469 | 469 | offs2 = -3; |
| 470 | 470 | else |
| 471 | 471 | offs2 = -5; |