Previous 199869 Revisions Next

r33251 Friday 7th November, 2014 at 05:27:07 UTC by Alex W. Jackson
tumbleb.c: flip_screen_set() automatically flips tilemaps (nw)
[src/mame/video]tumbleb.c

trunk/src/mame/video/tumbleb.c
r241762r241763
305305   int offs, offs2;
306306
307307   flip_screen_set(m_control_0[0] & 0x80);
308   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
309308
310309   if (flip_screen())
311310      offs = 1;
r241762r241763
327326   int offs, offs2;
328327
329328   flip_screen_set(m_control_0[0] & 0x80);
330   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
331329
332330   if (flip_screen())
333331      offs = 1;
r241762r241763
348346   int offs, offs2;
349347
350348   flip_screen_set(m_control_0[0] & 0x80);
351   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
352349
353350   if (flip_screen())
354351      offs = 1;
r241762r241763
384381   int offs, offs2;
385382
386383   flip_screen_set(m_control_0[0] & 0x80);
387   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
388384
389385   /* not sure of this */
390386   if (flip_screen())
r241762r241763
407403   int offs, offs2;
408404
409405   flip_screen_set(m_control_0[0] & 0x80);
410   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
406
411407   offs = -1;
412408   offs2 = -2;
413409
r241762r241763
421417   int offs, offs2;
422418
423419   flip_screen_set(m_control_0[0] & 0x80);
424   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
420
425421   offs = -1;
426422   offs2 = -5; // foreground scroll..
427423
r241762r241763
436432   int offs, offs2;
437433
438434   flip_screen_set(m_control_0[0] & 0x80);
439   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
440435
441436   if (flip_screen())
442437      offs = 1;
r241762r241763
458453   int offs, offs2;
459454
460455   flip_screen_set(m_control_0[0] & 0x80);
461   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
462456
463457   if (flip_screen())
464458      offs = 1;


Previous 199869 Revisions Next


© 1997-2024 The MAME Team