MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

uRebelScum
Regular
Reged: 09/21/03
Posts: 538
Loc: California
Send PM
Re: mamecore.h rotation and mirroring defines
03/06/08 08:53 PM


> To flip the x axis in the real world, you use a mirror. Note that it's impossible for a
> real world mirror to flip something along the y axis.

Umm, isn't the other way; the mirror is above the monitor, thus what was top of screen is now bottom, thus flipping the Y axis? Might be just the wording though, as IMO "flipping the Y axis" rotates around (along) the X axis. (Check out ROT90 & ROT270 and which flips which axis.)

That would change the mirror to:

#define MIRROR ORIENTATION_FLIP_Y /* physical mirror in cabinet */

> ROT0|MIRROR
> ROT90|MIRROR
> ROT180|MIRROR
> ROT270|MIRROR

Either way (yours or mine), one of the above would need to be XORed.

If you're right, we would need ROT90^MIRROR {(ORIENTATION_SWAP_XY | ORIENTATION_FLIP_X) ^ ORIENTATION_FLIP_X}. Otherwise, ROT270^MIRROR. Maybe all should be XORs for consistency and ease of use?


Robin
www.urebelscum.speedhost.com/ or
www.angelfire.com/retro/u_rebelscum or
rain.prohosting.com/urebel







Entire thread
Subject Posted by Posted on
* mamecore.h rotation and mirroring defines krick 03/06/08 07:15 PM
. * Re: mamecore.h rotation and mirroring defines uRebelScum  03/06/08 08:53 PM
. * Re: mamecore.h rotation and mirroring defines krick  03/06/08 09:19 PM
. * Re: mamecore.h rotation and mirroring defines uRebelScum  03/07/08 02:02 AM
. * Re: mamecore.h rotation and mirroring defines krick  03/07/08 02:27 AM
. * Re: mamecore.h rotation and mirroring defines uRebelScum  03/07/08 03:17 AM
. * Re: emucore.h rotation and mirroring defines krick  03/26/11 11:02 PM
. * Re: emucore.h rotation and mirroring defines italieAdministrator  03/30/11 01:45 AM
. * Re: emucore.h rotation and mirroring defines mogli  03/28/11 08:39 PM
. * continued.... mogli  03/29/11 09:26 AM
. * Re: continued.... R. Belmont  03/29/11 03:28 PM
. * Re: continued.... Bryan Ischo  03/30/11 07:46 AM
. * Re: continued.... etabeta  03/30/11 08:06 AM
. * Re: continued.... Bryan Ischo  03/29/11 11:05 PM
. * Re: continued.... R. Belmont  03/30/11 03:49 AM
. * Re: continued.... Fever  03/30/11 10:32 PM
. * Re: continued.... R. Belmont  03/30/11 11:37 PM
. * Re: continued.... Olivier Galibert  03/31/11 09:18 AM
. * Re: continued.... Bryan Ischo  03/30/11 07:42 AM
. * Re: continued.... StevieWunderful  03/30/11 05:08 AM
. * Re: continued.... R. Belmont  03/30/11 03:23 PM
. * Re: continued.... StevieWunderful  03/30/11 04:41 PM
. * Re: continued.... italieAdministrator  03/31/11 02:40 AM
. * Re: continued.... StevieWunderful  03/31/11 08:41 AM
. * Closed. italieAdministrator  03/31/11 02:28 PM
. * Re: continued.... Bryan Ischo  03/30/11 07:44 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 166 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3132