If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Pac-Man (iOS, 2008)

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Pac-Man

Developer: Namco Networks
Publisher: Bandai Namco
Platform: iOS
Released internationally: July 10, 2008


SourceIcon.png This game has uncompiled source code.
DevTextIcon.png This game has hidden development-related text.
GraphicsIcon.png This game has unused graphics.


Pac-Man is an iOS port of the classic arcade game.

Unused Graphics

All of the graphics exclusive to Pac-Man Lite are present, unused.

PacmaniOS-clickwheel.png

More interestingly, the click wheel graphic from the iPod version of Pac-Man exists in the game's resources, due to this port recycling some graphics from the iPod port.

Unused Text

Project: Duck, Duck, Quack! Free
API Key: MTSDG91M51EJM69YHG1B

This text can be found in ProjectApiKey.txt. Duck, Duck, Quack! Free is another one of Namco's games.

Flurry Analytics SDK

Lots of .PDFs and other files from the Flurry Analytics SDK remain in the game.

Source Code in Versions Before 3.3.0(?)

Some C definitions exist in the game's resources. They do refer to the click wheel graphic with four commented out words: "skip the wheel icon".

SOUNDDEF( IDS_PACBONUS,			"extralife.wav",		false,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_PACCB,			"coffeebreak.wav",		false,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_PACDIE,			"die.wav",				false,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_PACEATFRUIT,		"fruit.wav",			false,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_PACEATGHOST,		"eatghost.wav",			false,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_PACSTARTGAME,		"start.wav",			false,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_GHOSTEYES,		"ghosteyes.wav",		true,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_PACEATOPEN,		"eatopen.wav",			false,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_PACEATCLOSE,		"eatclose.wav",			false,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_PACCYCLE,			"eatcycle.wav",			false,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_PACPOWERMODE,		"powermode.wav",		true,	0.0f, 1.0f, 1.0f),
SOUNDDEF( IDS_PACSIREN1,		"siren1.wav",			true,	0.0f, 1.0f, 0.75f),
SOUNDDEF( IDS_PACSIREN2,		"siren2.wav",			true,	0.0f, 1.0f, 0.75f),
SOUNDDEF( IDS_PACSIREN3,		"siren3.wav",			true,	0.0f, 1.0f, 0.75f),
SOUNDDEF( IDS_PACSIREN4,		"siren4.wav",			true,	0.0f, 1.0f, 0.75f),
SOUNDDEF( IDS_PACSIREN5,		"siren5.wav",			true,	0.0f, 1.0f, 0.75f),
#pragma mark Menu Essential Textures

#if defined(_IPHONE_)
	#if defined(_LITE_)
		TEXTUREDEF( TEX_MENU_FRAME,			"AIP_img_menuFrame_Lite"),
	#else
		TEXTUREDEF( TEX_MENU_FRAME,			"AIP_img_menuFrame"),
	#endif
#elif defined(IPAD_VERSION)
	#if defined(_LITE_)
		TEXTUREDEF( TEX_MENU_FRAME,			"AIP_img_menuFrame_Lite"),
	#else
		TEXTUREDEF( TEX_MENU_FRAME,			"AIP_img_menuFrame"),
	#endif
#endif

#if defined(IPAD_VERSION)
	TEXTUREDEF( TEX_BEZEL_LEFT,				"Bezel_lft"),
	TEXTUREDEF( TEX_BEZEL_RIGHT,			"Bezel_rt"),
	TEXTUREDEF( TEX_MENU_BEZEL_LEFT,		"Bezel_MN_lft"),
	TEXTUREDEF( TEX_MENU_BEZEL_RIGHT,		"Bezel_MN_rt"),
#endif

TEXTUREDEF( TEX_MENU_BUTTONS,				"AIP_img_wide_ui"),
TEXTUREDEF( TEX_UI,							"AIP_img_ui"),
TEXTUREDEF( TEX_EN_TITLE_FONT,				"AIP_img_title_font"),
TEXTUREDEF( TEX_EN_FONT,					"AIP_img_en_font"),

#ifdef TOKENS_ENABLED
    TEXTUREDEF( TEX_EN_FONT_GRAY,           "AIP_img_en_font_gray"),
#endif

TEXTUREDEF( TEX_JAPAN_TEXT,					"AIP_img_japanFonts"),

#ifdef TOKENS_ENABLED
    TEXTUREDEF( TEX_JAPAN_TEXT_GRAY,        "AIP_img_japanFonts_gray"),
#endif

#pragma mark -
#pragma mark Loading Bar

TEXTUREDEF( TEX_LOADING,					"AIP_img_loading"),

#pragma mark -
#pragma mark Non-Menu Essential Textures

TEXTUREDEF( TEX_INGAME_FRAME,				"AIP_img_ingameFrame"),
TEXTUREDEF( TEX_DPAD,                       "AIP_img_dpad"),
TEXTUREDEF( TEX_JOYSTICK,                   "AIP_img_joystick"),

TEXTUREDEF( TEX_INGAME_MENU_BUTTON_PRESSED,	"AIP_img_menuButtonPressed"),
TEXTUREDEF( TEX_INGAME_MENU_BUTTON_REG,		"AIP_img_menuButtonReg"),

#if defined(_IPHONE_)
	#if defined(_LITE_)
		TEXTUREDEF( TEX_TITLE,				"AIP_img_titleBkd_Lite"),
	#else
		TEXTUREDEF( TEX_TITLE,				"AIP_img_titleBkd"),
	#endif
#elif defined(IPAD_VERSION)
	#if defined(_LITE_)
		TEXTUREDEF( TEX_TITLE,				"AIP_img_titleBkd_Lite"),
	#else
		TEXTUREDEF( TEX_TITLE,				"AIP_img_titleBkd"),
	#endif
#endif

TEXTUREDEF( TEX_MENU_FRAME_OVERLAY,			"AIP_img_menuFrameOverlay"),
TEXTUREDEF( TEX_COFFEEBREAK,				"tex_coffeebreak"),
TEXTUREDEF( TEX_FRUIT,						"tex_fruit"),
TEXTUREDEF( TEX_IG,							"tex_ig"),
TEXTUREDEF( TEX_MAZE_BLUE,					"tex_maze_blue"),
TEXTUREDEF( TEX_MAZE_WHITE,					"tex_maze_white"),

#ifdef TOKENS_ENABLED
    TEXTUREDEF( TEX_MENU_BUTTONS_GRAY,      "AIP_img_wide_ui_gray"),
    TEXTUREDEF( TEX_TOKEN,                  "tex_token" ),
    TEXTUREDEF( TEX_LIFE,                   "tex_life" ),
    TEXTUREDEF( TEX_IG_TOKENFRAME,          "tex_ig_tokenframe_double" ),
#endif
#ifdef _LITE_
    TEXTUREDEF( TEX_MENU_FRAME_UPGRADE,     "Congrats_MenuFrame"),
    TEXTUREDEF( TEX_MENU_CONGRATS,          "Congrats_EN"),
#endif
#pragma mark Menu Essential Textures

/////////////////////////////////////////
// MENU FRAME
#ifdef IPAD_VERSION
#define FRAME_PIXEL_WIDTH LANDSCAPE_MENU_WIDTH
#define FRAME_PIXEL_HEIGHT IPAD_FLOAT_WIDTH
#else
#define FRAME_PIXEL_WIDTH IPHONE_FLOAT_WIDTH
#define FRAME_PIXEL_HEIGHT IPHONE_FLOAT_HEIGHT
#endif

#if defined(IPAD_VERSION) && defined(_LITE_)
	SPRITEDEF( IDI_MENU_FRAME, 			TEX_MENU_FRAME,		UV(0, 0, FRAME_PIXEL_WIDTH, FRAME_PIXEL_HEIGHT - 66),	DIMENSION(1, 1) ),
#else
	SPRITEDEF( IDI_MENU_FRAME, 			TEX_MENU_FRAME,		UV(0, 0, FRAME_PIXEL_WIDTH, FRAME_PIXEL_HEIGHT),	DIMENSION(1, 1) ),
#endif
SPRITEDEF( IDI_MENU_FRAME_2, 		TEX_MENU_FRAME, 	UV(0, 240, 320, 240),		DIMENSION(1, 1) ),

/////////////////////////////////////////
// MENU BEZEL TEXTURES (IPAD ONLY)
#ifdef IPAD_VERSION
SPRITEDEF( IDI_BEZEL_LEFT, 				TEX_BEZEL_LEFT,			UV(0, 0, 256, 768), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BEZEL_RIGHT, 			TEX_BEZEL_RIGHT,		UV(0, 0, 256, 768), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_IPAD_MENU_BEZEL_LEFT, 	TEX_MENU_BEZEL_LEFT, 	UV(0, 0, 256, 768),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_IPAD_MENU_BEZEL_RIGHT, 	TEX_MENU_BEZEL_RIGHT, 	UV(0, 0, 256, 768),		DIMENSION(1, 1) ),
#endif

/////////////////////////////////////////
// MENU BUTTON UI	
#ifdef IPAD_VERSION
    #define WIDE_UI_WIDTH   441

    #define WIDE_UI_Y0      0
    #define WIDE_UI_Y1      19
    #define WIDE_UI_Y2      51

    #define WIDE_UI_Y3      70
    #define WIDE_UI_Y4      89
    #define WIDE_UI_Y5      121

    #define WIDE_UI_Y6      140
    #define WIDE_UI_Y7      159
    #define WIDE_UI_Y8      191

    #define WIDE_UI_H0      19
    #define WIDE_UI_H1      32
    #define WIDE_UI_H2      19
#else
    #define WIDE_UI_WIDTH   277

    #define WIDE_UI_Y0      0
    #define WIDE_UI_Y1      12
    #define WIDE_UI_Y2      32

    #define WIDE_UI_Y3      44
    #define WIDE_UI_Y4      56
    #define WIDE_UI_Y5      76

    #define WIDE_UI_Y6      88
    #define WIDE_UI_Y7      100
    #define WIDE_UI_Y8      120
   
    #define WIDE_UI_H0      12
    #define WIDE_UI_H1      20
    #define WIDE_UI_H2      12
#endif

SPRITEDEF( IDI_BUTTON_STATE0_TOP, 		TEX_MENU_BUTTONS,	UV(0, WIDE_UI_Y0, WIDE_UI_WIDTH, WIDE_UI_H0),	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BUTTON_STATE0_MID, 		TEX_MENU_BUTTONS,	UV(0, WIDE_UI_Y1, WIDE_UI_WIDTH, WIDE_UI_H1),	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BUTTON_STATE0_BOTTOM, 	TEX_MENU_BUTTONS,	UV(0, WIDE_UI_Y2, WIDE_UI_WIDTH, WIDE_UI_H2),	DIMENSION(1, 1) ),

SPRITEDEF( IDI_BUTTON_STATE1_TOP, 		TEX_MENU_BUTTONS,	UV(0, WIDE_UI_Y3, WIDE_UI_WIDTH, WIDE_UI_H0),	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BUTTON_STATE1_MID, 		TEX_MENU_BUTTONS,	UV(0, WIDE_UI_Y4, WIDE_UI_WIDTH, WIDE_UI_H1),	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BUTTON_STATE1_BOTTOM, 	TEX_MENU_BUTTONS,	UV(0, WIDE_UI_Y5, WIDE_UI_WIDTH, WIDE_UI_H0),	DIMENSION(1, 1) ),

#ifdef TOKENS_ENABLED

    #define GRAY_WIDE_UI_Y0     WIDE_UI_Y6
    #define GRAY_WIDE_UI_Y1     WIDE_UI_Y7
    #define GRAY_WIDE_UI_Y2     WIDE_UI_Y8

    #define GRAY_WIDE_UI_Y3     WIDE_UI_Y3
    #define GRAY_WIDE_UI_Y4     WIDE_UI_Y4
    #define GRAY_WIDE_UI_Y5     WIDE_UI_Y5

    #define GRAY_WIDE_UI_Y6     WIDE_UI_Y0
    #define GRAY_WIDE_UI_Y7     WIDE_UI_Y1
    #define GRAY_WIDE_UI_Y8     WIDE_UI_Y2

SPRITEDEF( IDI_BUTTON_GRAY_STATE0_TOP, 		TEX_MENU_BUTTONS_GRAY,	UV(0, GRAY_WIDE_UI_Y0, WIDE_UI_WIDTH, WIDE_UI_H0),	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BUTTON_GRAY_STATE0_MID, 		TEX_MENU_BUTTONS_GRAY,	UV(0, GRAY_WIDE_UI_Y1, WIDE_UI_WIDTH, WIDE_UI_H1),	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BUTTON_GRAY_STATE0_BOTTOM, 	TEX_MENU_BUTTONS_GRAY,	UV(0, GRAY_WIDE_UI_Y2, WIDE_UI_WIDTH, WIDE_UI_H2),	DIMENSION(1, 1) ),

SPRITEDEF( IDI_BUTTON_GRAY_STATE1_TOP, 		TEX_MENU_BUTTONS_GRAY,	UV(0, GRAY_WIDE_UI_Y3, WIDE_UI_WIDTH, WIDE_UI_H0),	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BUTTON_GRAY_STATE1_MID, 		TEX_MENU_BUTTONS_GRAY,	UV(0, GRAY_WIDE_UI_Y4, WIDE_UI_WIDTH, WIDE_UI_H1),	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BUTTON_GRAY_STATE1_BOTTOM, 	TEX_MENU_BUTTONS_GRAY,	UV(0, GRAY_WIDE_UI_Y5, WIDE_UI_WIDTH, WIDE_UI_H0),	DIMENSION(1, 1) ),
#endif

//SPRITEDEF( IDI_BUTTON_STATE0, 		TEX_MENU_BUTTONS, 0, 0, 275, 44, 1, 1 ),
//SPRITEDEF( IDI_BUTTON_STATE1, 		TEX_MENU_BUTTONS, 0, 44, 275, 44, 1, 1 ),

SPRITEDEF( IDI_THEME_NAME_JA_LABEL,		TEX_MENU_BUTTONS,	UV(1, 137, 169, 18),	DIMENSION(1, 1) ),

//SPRITEDEF( IDI_BUTTON_STATE2,			TEX_MENU_BUTTONS, 0, 88, 275, 44, 1, 1 ),
//SPRITEDEF( IDI_BUTTON_STATE3,			TEX_MENU_BUTTONS, 0, 132, 275, 44, 1, 1 ),
SPRITEDEF( IDI_TRACK_BUTTON_STATE0,		TEX_MENU_BUTTONS,	UV(0, 65, 192, 48),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_TRACK_BUTTON_STATE1,		TEX_MENU_BUTTONS,	UV(0, 113, 192, 48),	DIMENSION(1, 1) ),
SPRITEDEF( IDI_TRACK_BUTTON_STATE2,		TEX_MENU_BUTTONS,	UV(0, 161, 194, 50),	DIMENSION(1, 1) ),


/////////////////////////////////////////
// MENU UI ICON TEXTURES
#ifdef IPAD_VERSION
    #define BLUE_GHOST_X        0
    #define WHITE_GHOST_X       37
    #define INKY_GHOST_X        74
    #define PINKY_GHOST_X       109
    #define BLINKY_GHOST_X      144
    #define CLYDE_GHOST_X       179
    #define DEATH_GHOST_X       224
    #define DEATH_GHOST_Y       -1
    #define SMALLER_GHOST_WIDTH 34
    #define GHOST_WIDTH         36
    #define GHOST_HEIGHT        36
    #define DEATH_GHOST_WIDTH   32
    #define DEATH_GHOST_HEIGHT  38
#else
    #define BLUE_GHOST_X        0
    #define WHITE_GHOST_X       23
    #define INKY_GHOST_X        46
    #define PINKY_GHOST_X       69
    #define BLINKY_GHOST_X      92
    #define CLYDE_GHOST_X       115
    #define DEATH_GHOST_X       139
    #define DEATH_GHOST_Y       0
    #define GHOST_WIDTH         23
    #define SMALLER_GHOST_WIDTH 23
    #define GHOST_HEIGHT        23
    #define DEATH_GHOST_WIDTH   21
    #define DEATH_GHOST_HEIGHT  21
#endif

SPRITEDEF( IDI_SELECT_ICON,					TEX_UI,	UV(159, 40, 15, 15),														DIMENSION(1, 1) ),
SPRITEDEF( IDI_MENU_ICON_BLUE_GHOST, 		TEX_UI, UV(BLUE_GHOST_X, 0, GHOST_WIDTH, GHOST_HEIGHT), 							DIMENSION(1, 1) ), // blue ghost
SPRITEDEF( IDI_MENU_ICON_WHITE_GHOST, 		TEX_UI, UV(WHITE_GHOST_X, 0, GHOST_WIDTH, GHOST_HEIGHT), 							DIMENSION(1, 1) ), // white ghost
SPRITEDEF( IDI_MENU_ICON_GHOST_INKY, 		TEX_UI, UV(INKY_GHOST_X, 0, SMALLER_GHOST_WIDTH, GHOST_HEIGHT), 					DIMENSION(1, 1) ), //light blue ghost
SPRITEDEF( IDI_MENU_ICON_GHOST_PINKY, 		TEX_UI, UV(PINKY_GHOST_X, 0, SMALLER_GHOST_WIDTH, GHOST_HEIGHT), 					DIMENSION(1, 1) ), // pink ghost
SPRITEDEF( IDI_MENU_ICON_GHOST_BLINKY, 		TEX_UI, UV(BLINKY_GHOST_X, 0, SMALLER_GHOST_WIDTH, GHOST_HEIGHT), 					DIMENSION(1, 1) ), // red ghost
SPRITEDEF( IDI_MENU_ICON_GHOST_CLYDE_LEFT, 	TEX_UI, UV(CLYDE_GHOST_X, 0, SMALLER_GHOST_WIDTH, GHOST_HEIGHT), 					DIMENSION(1, 1) ), // orange ghost
SPRITEDEF( IDI_MENU_ICON_DEATH_BLINK, 		TEX_UI, UV(DEATH_GHOST_X, DEATH_GHOST_Y, DEATH_GHOST_WIDTH, DEATH_GHOST_HEIGHT),	DIMENSION(1, 1) ), // blink out

#ifdef IPAD_VERSION
    #define PACMAN_ICON_X 0
    #define PACMAN_ICON_Y 37
    #define PACMAN_ICON_W 35
    #define PACMAN_ICON_H 36

    #define LIME_ICON_X 77
    #define LIME_ICON_Y 37
    #define LIME_ICON_W 36
    #define LIME_ICON_H 36

    #define APPLE_ICON_X 113
    #define APPLE_ICON_Y 37
    #define APPLE_ICON_W 32
    #define APPLE_ICON_H 36

    #define PEACH_ICON_X 149
    #define PEACH_ICON_Y 37
    #define PEACH_ICON_W 32
    #define PEACH_ICON_H 36
    //---
    #define STRAWBERRY_ICON_X 187
    #define STRAWBERRY_ICON_Y 37
    #define STRAWBERRY_ICON_W 32
    #define STRAWBERRY_ICON_H 36

    #define CHERRY_ICON_X 223
    #define CHERRY_ICON_Y 37
    #define CHERRY_ICON_W 32
    #define CHERRY_ICON_H 36

    #define GALAXIAN_ICON_X 260
    #define GALAXIAN_ICON_Y 37
    #define GALAXIAN_ICON_W 32
    #define GALAXIAN_ICON_H 36

    #define POWER_PELLET_ICON_X 297
    #define POWER_PELLET_ICON_Y 37
    #define POWER_PELLET_ICON_W 32
    #define POWER_PELLET_ICON_H 36

    #define BELL_ICON_X 334
    #define BELL_ICON_Y 36
    #define BELL_ICON_W 32
    #define BELL_ICON_H 36

    #define KEY_ICON_X 371
    #define KEY_ICON_Y 37
    #define KEY_ICON_W 32
    #define KEY_ICON_H 36
#else
    #define PACMAN_ICON_X 2
    #define PACMAN_ICON_Y 25
    #define PACMAN_ICON_W 20
    #define PACMAN_ICON_H 20

    #define LIME_ICON_X 48
    #define LIME_ICON_Y 24
    #define LIME_ICON_W 19
    #define LIME_ICON_H 22

    #define APPLE_ICON_X 71
    #define APPLE_ICON_Y 26
    #define APPLE_ICON_W 20
    #define APPLE_ICON_H 20

    #define PEACH_ICON_X 94
    #define PEACH_ICON_Y 26
    #define PEACH_ICON_W 20
    #define PEACH_ICON_H 20

    #define STRAWBERRY_ICON_X 118
    #define STRAWBERRY_ICON_Y 25
    #define STRAWBERRY_ICON_W 20
    #define STRAWBERRY_ICON_H 20

    #define CHERRY_ICON_X 140
    #define CHERRY_ICON_Y 25
    #define CHERRY_ICON_W 20
    #define CHERRY_ICON_H 20

    #define GALAXIAN_ICON_X 163
    #define GALAXIAN_ICON_Y 25
    #define GALAXIAN_ICON_W 20
    #define GALAXIAN_ICON_H 20

    #define POWER_PELLET_ICON_X 185
    #define POWER_PELLET_ICON_Y 25
    #define POWER_PELLET_ICON_W 20
    #define POWER_PELLET_ICON_H 20

    #define BELL_ICON_X 208
    #define BELL_ICON_Y 25
    #define BELL_ICON_W 20
    #define BELL_ICON_H 20

    #define KEY_ICON_X 231
    #define KEY_ICON_Y 25
    #define KEY_ICON_W 20
    #define KEY_ICON_H 20
#endif

SPRITEDEF( IDI_MENU_ICON_PAC_RIGHT,		TEX_UI,	UV(PACMAN_ICON_X, PACMAN_ICON_Y, PACMAN_ICON_W, PACMAN_ICON_H), 						DIMENSION(1, 1) ), // PAC-MAN

// skip the wheel icon
SPRITEDEF( IDI_MENU_ICON_LIME, 			TEX_UI, UV(LIME_ICON_X, LIME_ICON_Y, LIME_ICON_W, LIME_ICON_H), 								DIMENSION(1, 1) ), // lime
SPRITEDEF( IDI_MENU_ICON_APPLE, 		TEX_UI, UV(APPLE_ICON_X, APPLE_ICON_Y, APPLE_ICON_W, APPLE_ICON_H), 							DIMENSION(1, 1) ), // apple
SPRITEDEF( IDI_MENU_ICON_PEACH, 		TEX_UI, UV(PEACH_ICON_X, PEACH_ICON_Y, PEACH_ICON_W, PEACH_ICON_H), 							DIMENSION(1, 1) ), // peach
SPRITEDEF( IDI_MENU_ICON_STRAWBERRY, 	TEX_UI, UV(STRAWBERRY_ICON_X, STRAWBERRY_ICON_Y, STRAWBERRY_ICON_W, STRAWBERRY_ICON_H), 		DIMENSION(1, 1) ), // strawberry
SPRITEDEF( IDI_MENU_ICON_CHERRY, 		TEX_UI, UV(CHERRY_ICON_X, CHERRY_ICON_Y, CHERRY_ICON_W,CHERRY_ICON_H), 							DIMENSION(1, 1) ), // cherry
SPRITEDEF( IDI_MENU_ICON_GALAXIAN, 		TEX_UI, UV(GALAXIAN_ICON_X, GALAXIAN_ICON_Y, GALAXIAN_ICON_W,GALAXIAN_ICON_H), 					DIMENSION(1, 1) ), // galaxian
SPRITEDEF( IDI_MENU_ICON_POWER_PELLET, 	TEX_UI, UV(POWER_PELLET_ICON_X, POWER_PELLET_ICON_Y, POWER_PELLET_ICON_W, POWER_PELLET_ICON_H), DIMENSION(1, 1) ), // power pellet
SPRITEDEF( IDI_MENU_ICON_BELL, 			TEX_UI, UV(BELL_ICON_X, BELL_ICON_Y, BELL_ICON_W, BELL_ICON_H), 								DIMENSION(1, 1) ), // bell
SPRITEDEF( IDI_MENU_ICON_KEY, 			TEX_UI, UV(KEY_ICON_X, KEY_ICON_Y, KEY_ICON_W, KEY_ICON_H), 									DIMENSION(1, 1) ), // key

#ifdef IPAD_VERSION
#define BIG_GREY_X 9
#define BIG_GREY_Y 75
#define BIG_GREY_W 20
#define BIG_GREY_H 33
#define BIG_YELLOW_X 46
#define BIG_YELLOW_Y 75
#define BIG_YELLOW_W 20
#define BIG_YELLOW_H 33
#define LITTLE_GREY_X 13
#define LITTLE_GREY_Y 120
#define LITTLE_GREY_W 11
#define LITTLE_GREY_H 18
#define LITTLE_YELLOW_X 51
#define LITTLE_YELLOW_Y 120
#define LITTLE_YELLOW_W 11
#define LITTLE_YELLOW_H 18	
#else
#define BIG_GREY_X 6
#define BIG_GREY_Y 48
#define BIG_GREY_W 11
#define BIG_GREY_H 19
#define BIG_YELLOW_X 29
#define BIG_YELLOW_Y 48
#define BIG_YELLOW_W 11
#define BIG_YELLOW_H 19
#define LITTLE_GREY_X 6
#define LITTLE_GREY_Y 67
#define LITTLE_GREY_W 11
#define LITTLE_GREY_H 19
#define LITTLE_YELLOW_X 29
#define LITTLE_YELLOW_Y 67
#define LITTLE_YELLOW_W 11
#define LITTLE_YELLOW_H 19
#endif

SPRITEDEF( IDI_ARROWR_STATE0, 				TEX_UI, UV(BIG_GREY_X, BIG_GREY_Y, BIG_GREY_W, BIG_GREY_H),						DIMENSION(1, 1) ),// big grey
SPRITEDEF( IDI_ARROWR_STATE1, 				TEX_UI, UV(LITTLE_GREY_X, LITTLE_GREY_Y, LITTLE_GREY_W, LITTLE_GREY_H),			DIMENSION(1, 1) ),// little grey

SPRITEDEF( IDI_ARROWR_DISABLED_STATE0, 		TEX_UI, UV(BIG_YELLOW_X, BIG_YELLOW_Y, BIG_YELLOW_W, BIG_YELLOW_H), 			DIMENSION(1, 1) ),// big yellow
SPRITEDEF( IDI_ARROWR_DISABLED_STATE1, 		TEX_UI, UV(LITTLE_YELLOW_X, LITTLE_YELLOW_Y, LITTLE_YELLOW_W, LITTLE_YELLOW_H), DIMENSION(1, 1) ), //little yellow


SPRITEDEF( IDI_BACKLIGHT_CONTROL_STATE0, 	TEX_UI, UV(92, 40, 55, 11), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BACKLIGHT_CONTROL_STATE1, 	TEX_UI, UV(92, 51, 55, 11), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_BACKLIGHT_CONTROL_STATE2,	TEX_UI,	UV(92, 62, 55, 11), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_VOLUME_CONTROL_STATE0, 		TEX_UI, UV(0, 40, 92, 11), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_VOLUME_CONTROL_STATE2, 		TEX_UI, UV(0, 62, 92, 11), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_VOLUME_CONTROL_STATE1, 		TEX_UI, UV(0, 51, 92, 11), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_VOLUME_SLIDER_STATE0, 		TEX_UI, UV(174, 40, 5, 15), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_VOLUME_SLIDER_STATE1, 		TEX_UI, UV(179, 40, 5, 15), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_VOLUME_SLIDER_STATE2, 		TEX_UI, UV(179, 40, 5, 15), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_TITLE_FRAME, 				TEX_UI, UV(0, 21, 191, 19), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_TITLE_FRAME_WIDE, 			TEX_UI, UV(0, 0, 292, 21), 		DIMENSION(1, 1) ),

#ifdef IPAD_VERSION
    #define ARROW_BUTTON_WIDTH	66
    #define ARROW_BUTTON_HEIGHT 60
    #define ARROW0_X	0
    #define ARROW0_UX	66
    #define ARROW1_X	132
    #define ARROW1_UX	198
    #define ARROW2_X	264
    #define ARROW2_UX	330
    #define ARROW0_Y	152
    #define ARROW1_Y	217
#else
    #define ARROW_BUTTON_WIDTH	40
    #define ARROW_BUTTON_HEIGHT 39
    #define ARROW0_X	1
    #define ARROW0_UX	42
    #define ARROW1_X	83
    #define ARROW1_UX	124
    #define ARROW2_X	165
    #define ARROW2_UX	206
    #define ARROW0_Y	95
    #define ARROW1_Y	135
#endif

// Level select buttons (arrows with circles around them)
SPRITEDEF( IDI_ARROWR_BUTTON_STATE0_LIT, 	TEX_UI, UV(ARROW0_X,  ARROW0_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWR_BUTTON_STATE0_UNLIT, 	TEX_UI, UV(ARROW0_UX, ARROW0_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWR_BUTTON_STATE1_LIT, 	TEX_UI, UV(ARROW1_X,  ARROW0_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWR_BUTTON_STATE1_UNLIT, 	TEX_UI, UV(ARROW1_UX, ARROW0_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWR_BUTTON_STATE2_LIT, 	TEX_UI, UV(ARROW2_X,  ARROW0_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWR_BUTTON_STATE2_UNLIT, 	TEX_UI, UV(ARROW2_UX, ARROW0_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWL_BUTTON_STATE0_LIT, 	TEX_UI, UV(ARROW0_X,  ARROW1_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWL_BUTTON_STATE0_UNLIT, 	TEX_UI, UV(ARROW0_UX, ARROW1_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWL_BUTTON_STATE1_LIT, 	TEX_UI, UV(ARROW1_X,  ARROW1_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWL_BUTTON_STATE1_UNLIT, 	TEX_UI, UV(ARROW1_UX, ARROW1_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWL_BUTTON_STATE2_LIT, 	TEX_UI, UV(ARROW2_X,  ARROW1_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_ARROWL_BUTTON_STATE2_UNLIT, 	TEX_UI, UV(ARROW2_UX, ARROW1_Y, ARROW_BUTTON_WIDTH, ARROW_BUTTON_HEIGHT), 	DIMENSION(1, 1) ),

/////////////////////////////////////////
// MENU TITLE LABEL FONT
SPRITEDEF( IDI_TITLE_FONT_EN,			TEX_EN_TITLE_FONT, 	UV(0, 0, 224, 115), 	DIMENSION(16, 5) ),

/////////////////////////////////////////
// ENGLISH FONT
SPRITEDEF( IDI_MENU_FONT_EN_STATE0, 	TEX_EN_FONT,		UV(0, 0, 176, 108),		DIMENSION(16, 6) ),
//SPRITEDEF( IDI_MENU_FONT_EN_STATE1, 	TEX_EN_FONT,		UV(0, 108, 176, 52),	DIMENSION(16, 6) ),

#ifdef TOKENS_ENABLED
SPRITEDEF( IDI_MENU_FONT_EN_STATE1,     TEX_EN_FONT_GRAY,   UV(0, 0, 176, 108),     DIMENSION(16, 6) ),
#endif

/////////////////////////////////////////
// JAPANESE TEXT
SPRITEDEF( IDI_JAPANESE_TEXT,			TEX_JAPAN_TEXT,     UV(0, 0, 512, 512), 	DIMENSION(1, 1) ),
#ifdef TOKENS_ENABLED
SPRITEDEF( IDI_JAPANESE_TEXT_GRAY,      TEX_JAPAN_TEXT_GRAY,UV(0, 0, 105,  75),     DIMENSION(1, 1) ),
#endif

#pragma mark -
#pragma mark Loading Bar Textures

/////////////////////////////////////////
// LOADING SCREEN
SPRITEDEF( IDI_LOADING_BAR_OUTLINE, TEX_LOADING, 		UV(0, 0, 174, 20),			DIMENSION(1, 1) ),
SPRITEDEF( IDI_LOADING_BAR_FILL,	TEX_LOADING,		UV(0, 20, 166, 12),			DIMENSION(1, 1) ),
SPRITEDEF( IDI_LOADING_TEXT,		TEX_LOADING,		UV(0,33,106,12),			DIMENSION(1, 1) ),
SPRITEDEF( IDI_ENUS_TEXT_LOADING, 	TEX_LOADING, 		UV(0, 33, 107, 11),			DIMENSION(1, 1) ),

SPRITEDEF( IDI_UI_BG_TOP, 			TEX_LOADING, 		UV(0, 0, 320, 18),			DIMENSION(1, 1) ),
SPRITEDEF( IDI_UI_BG_BOTTOM,		TEX_LOADING, 		UV(0, 18, 320, 20),			DIMENSION(1, 1) ),
SPRITEDEF( IDI_UI_BG_LEFT, 			TEX_LOADING, 		UV(0, 38, 6, 202),			DIMENSION(1, 1) ),
SPRITEDEF( IDI_UI_BG_RIGHT, 		TEX_LOADING, 		UV(6, 38, 6, 202),			DIMENSION(1, 1) ),
SPRITEDEF( IDI_BG_BEZEL_LEFT, 		TEX_LOADING, 		UV(12, 38, 50, 202),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_BG_BEZEL_RIGHT, 		TEX_LOADING, 		UV(62, 38, 50, 202),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_MENU_PACMAN_LOGO,	TEX_LOADING, 		UV(129, 38, 191, 26),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_WHITE_NAMCO_LOGO,	TEX_LOADING, 		UV(128, 64, 192, 21),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_LOADING_FRAME, 		TEX_LOADING, 		UV(149, 85, 171, 16),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_NAMCO_LOGO, 			TEX_LOADING, 		UV(205, 101, 115, 16),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_ESES_TEXT_LOADING,	TEX_LOADING, 		UV(226, 173, 94, 14),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_DADK_TEXT_LOADING,	TEX_LOADING, 		UV(190, 159, 58, 14),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_NLNL_TEXT_LOADING,	TEX_LOADING, 		UV(187, 117, 133, 14),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_FIFI_TEXT_LOADING,	TEX_LOADING, 		UV(248, 159, 72, 14),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_FRFR_TEXT_LOADING,	TEX_LOADING, 		UV(207, 131, 113, 14),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_DEDE_TEXT_LOADING,	TEX_LOADING, 		UV(142, 103, 63, 14),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_ITIT_TEXT_LOADING,	TEX_LOADING, 		UV(238, 145, 82, 14),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_JAJP_TEXT_LOADING,	TEX_LOADING, 		UV(157, 145, 81, 14),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_NONO_TEXT_LOADING,	TEX_LOADING, 		UV(135, 131, 72, 14),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_SVSE_TEXT_LOADING,	TEX_LOADING, 		UV(129, 117, 58, 14),		DIMENSION(1, 1) ),
SPRITEDEF( IDI_COPYRIGHT,			TEX_LOADING, 		UV(150, 221, 170, 9),		DIMENSION(1, 1) ),

#pragma mark -
#pragma mark Non-Menu Essential Textures

/////////////////////////////////////////
// IN-GAME DASHBOARD FRAME
SPRITEDEF( IDI_INGAME_FRAME, 	TEX_INGAME_FRAME, 			UV(0, 0, 320, 100), DIMENSION(1, 1) ),

/////////////////////////////////////////
// IN-GAME DPAD TEXTURES
SPRITEDEF( IDI_DPAD_REG, 	TEX_DPAD, 	UV(0,     0, 144, 100), DIMENSION(1, 1) ),
SPRITEDEF( IDI_DPAD_DOWN, 	TEX_DPAD, 	UV(144,   0, 144, 100), DIMENSION(1, 1) ),
SPRITEDEF( IDI_DPAD_LEFT, 	TEX_DPAD, 	UV(288,   0, 144, 100), DIMENSION(1, 1) ),
SPRITEDEF( IDI_DPAD_UP, 	TEX_DPAD, 	UV(0,   100, 144, 100), DIMENSION(1, 1) ),
SPRITEDEF( IDI_DPAD_RIGHT, 	TEX_DPAD,   UV(144, 100, 144, 100), DIMENSION(1, 1) ),

/////////////////////////////////////////
// IN-GAME JOYSTICK TEXTURES
#ifdef IPAD_VERSION
#define JOY_DRAW_WIDTH 152
#define JOY_DRAW_HEIGHT 153
#else
#define JOY_DRAW_WIDTH 144
#define JOY_DRAW_HEIGHT 100
#endif

#ifdef IPAD_VERSION
SPRITEDEF( IDI_JSTICK_REG,		TEX_JOYSTICK, 	UV(0,     0, 152, 153), DIMENSION(1, 1) ),
SPRITEDEF( IDI_JSTICK_DOWN, 	TEX_JOYSTICK, 	UV(152,   0, 152, 153), DIMENSION(1, 1) ),
SPRITEDEF( IDI_JSTICK_LEFT, 	TEX_JOYSTICK, 	UV(304,   0, 152, 153), DIMENSION(1, 1) ),
SPRITEDEF( IDI_JSTICK_UP,		TEX_JOYSTICK, 	UV(0,   153, 152, 153), DIMENSION(1, 1) ),
SPRITEDEF( IDI_JSTICK_RIGHT, 	TEX_JOYSTICK, 	UV(152, 153, 152, 153), DIMENSION(1, 1) ),	
#else
SPRITEDEF( IDI_JSTICK_REG,		TEX_JOYSTICK, 	UV(0,     0, 144, 100), DIMENSION(1, 1) ),
SPRITEDEF( IDI_JSTICK_DOWN, 	TEX_JOYSTICK, 	UV(144,   0, 144, 100), DIMENSION(1, 1) ),
SPRITEDEF( IDI_JSTICK_LEFT, 	TEX_JOYSTICK, 	UV(288,   0, 144, 100), DIMENSION(1, 1) ),
SPRITEDEF( IDI_JSTICK_UP, 		TEX_JOYSTICK, 	UV(0,   100, 144, 100), DIMENSION(1, 1) ),	
SPRITEDEF( IDI_JSTICK_RIGHT, 	TEX_JOYSTICK, 	UV(144, 100, 144, 100), DIMENSION(1, 1) ),
#endif

/////////////////////////////////////////
// IN-GAME MENU BUTTON ON DASHBOARD
#ifdef IPAD_VERSION
#define MENU_BUTTON_WIDTH 66
#define MENU_BUTTON_HEIGHT 86
#else
#define MENU_BUTTON_WIDTH 56
#define MENU_BUTTON_HEIGHT 74
#endif
SPRITEDEF( IDI_MENU_BUTTON_PRESSED, TEX_INGAME_MENU_BUTTON_PRESSED,	UV(0, 0, MENU_BUTTON_WIDTH, MENU_BUTTON_HEIGHT), DIMENSION(1, 1) ),
SPRITEDEF( IDI_MENU_BUTTON_REG, 	TEX_INGAME_MENU_BUTTON_REG, 	UV(0, 0, MENU_BUTTON_WIDTH, MENU_BUTTON_HEIGHT), DIMENSION(1, 1) ),


/////////////////////////////////////////
// TITLE SCREEN
#ifdef IPAD_VERSION
#define TITLE_PIXEL_WIDTH IPAD_FLOAT_WIDTH
#define TITLE_PIXEL_HEIGHT IPAD_FLOAT_HEIGHT
#else
#define TITLE_PIXEL_WIDTH IPHONE_FLOAT_WIDTH
#define TITLE_PIXEL_HEIGHT IPHONE_FLOAT_HEIGHT
#endif

SPRITEDEF( IDI_TITLE,				TEX_TITLE,                      UV(0, 0, TITLE_PIXEL_WIDTH, TITLE_PIXEL_HEIGHT), DIMENSION(1, 1) ),

/////////////////////////////////////////
// MENU FRAME OVERLAY
SPRITEDEF( IDI_MENU_FRAME_OVERLAY, 	TEX_MENU_FRAME_OVERLAY,         UV(0, 0, 282, 331),                              DIMENSION(1, 1) ),

/////////////////////////////////////////
// COFFEE BREAK TEXTURES
SPRITEDEF( IDI_COFFEE_GIANT_PACMAN, 	TEX_COFFEEBREAK, 	UV(0, 0, 168, 42), 		DIMENSION(4, 1) ),
SPRITEDEF( IDI_COFFEE_BLUEGHOST, 		TEX_COFFEEBREAK, 	UV(72, 96, 36, 18), 	DIMENSION(2, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_SNAGGED_0, TEX_COFFEEBREAK, 	UV(0, 42, 31, 18), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_SNAGGED_1, TEX_COFFEEBREAK, 	UV(31, 42, 31, 18), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_SNAGGED_2, TEX_COFFEEBREAK, 	UV(62, 42, 31, 18), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_SNAGGED_3, TEX_COFFEEBREAK, 	UV(93, 42, 31, 18), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_SNAGGED_4, TEX_COFFEEBREAK, 	UV(124, 42, 31, 18), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_SNAGGED_5, TEX_COFFEEBREAK, 	UV(0, 60, 31, 18), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_SNAGGED_6, TEX_COFFEEBREAK, 	UV(31, 60, 31, 18), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_SNAGGED_7, TEX_COFFEEBREAK, 	UV(62, 60, 31, 18), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_SNAGGED_8, TEX_COFFEEBREAK, 	UV(93, 60, 31, 18), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_SNAGGED_9, TEX_COFFEEBREAK, 	UV(124, 60, 31, 18), 	DIMENSION(1, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_STITCHED, 	TEX_COFFEEBREAK, 	UV(129, 78, 36, 18), 	DIMENSION(2, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY, 			TEX_COFFEEBREAK, 	UV(93, 78, 36, 18), 	DIMENSION(2, 1) ),
SPRITEDEF( IDI_COFFEE_BLINKY_NUDE, 		TEX_COFFEEBREAK, 	UV(0, 78, 93, 18), 		DIMENSION(3, 1) ),
SPRITEDEF( IDI_COFFEE_PACMAN, 			TEX_COFFEEBREAK, 	UV(0, 96, 72, 18), 		DIMENSION(4, 1) ),
SPRITEDEF( IDI_COFFEE_SNAGBAR, 			TEX_COFFEEBREAK, 	UV(155, 74, 1, 4), 		DIMENSION(1, 1) ),

/////////////////////////////////////////
// FRUIT TEXTURES
SPRITEDEF( IDI_KEY, 				TEX_FRUIT, 	UV(0, 0, 21, 21), 			DIMENSION(1, 1) ),
SPRITEDEF( IDI_BELL, 				TEX_FRUIT, 	UV(22, 0, 21, 21), 			DIMENSION(1, 1) ),
SPRITEDEF( IDI_GALEXIAN, 			TEX_FRUIT, 	UV(44, 0, 21, 21), 			DIMENSION(1, 1) ),
SPRITEDEF( IDI_GRAPES, 				TEX_FRUIT, 	UV(66, 0, 21, 21), 			DIMENSION(1, 1) ),
SPRITEDEF( IDI_APPLE, 				TEX_FRUIT, 	UV(88, 0, 21, 21), 			DIMENSION(1, 1) ),
SPRITEDEF( IDI_PEACH, 				TEX_FRUIT, 	UV(110, 0, 21, 21), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_STRAWBERRY, 			TEX_FRUIT, 	UV(132, 0, 21, 21), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_CHERRY, 				TEX_FRUIT, 	UV(154, 0, 21, 21), 		DIMENSION(1, 1) ),

/////////////////////////////////////////
// IN-GAME TEXTURES
SPRITEDEF( IDI_BLINKYDOWN_ANIM, 	TEX_IG, 	UV(0, 0, 40, 20), 			DIMENSION(2, 1) ),
SPRITEDEF( IDI_BLINKYUP_ANIM, 		TEX_IG, 	UV(41, 0, 40, 20), 			DIMENSION(2, 1) ),
SPRITEDEF( IDI_BLINKYLEFT_ANIM, 	TEX_IG, 	UV(0, 21, 40, 20), 			DIMENSION(2, 1) ),
SPRITEDEF( IDI_BLINKYRIGHT_ANIM,	TEX_IG, 	UV(41, 21, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_PINKYDOWN_ANIM, 		TEX_IG, 	UV(82, 0, 40, 20), 			DIMENSION(2, 1) ),
SPRITEDEF( IDI_PINKYUP_ANIM, 		TEX_IG, 	UV(123, 0, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_PINKYLEFT_ANIM, 		TEX_IG, 	UV(82, 21, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_PINKYRIGHT_ANIM, 	TEX_IG, 	UV(123, 21, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_CLYDEDOWN_ANIM, 		TEX_IG, 	UV(0, 42, 40, 20), 			DIMENSION(2, 1) ),
SPRITEDEF( IDI_CLYDEUP_ANIM, 		TEX_IG, 	UV(41, 42, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_CLYDELEFT_ANIM, 		TEX_IG, 	UV(0, 63, 40, 20), 			DIMENSION(2, 1) ),
SPRITEDEF( IDI_CLYDERIGHT_ANIM, 	TEX_IG, 	UV(41, 63, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_INKYDOWN_ANIM, 		TEX_IG, 	UV(82, 42, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_INKYUP_ANIM, 		TEX_IG, 	UV(123, 42, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_INKYLEFT_ANIM, 		TEX_IG, 	UV(82, 63, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_INKYRIGHT_ANIM, 		TEX_IG, 	UV(123, 63, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_BLUEGHOST_ANIM, 		TEX_IG, 	UV(164, 63, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_WHITEGHOST_ANIM, 	TEX_IG, 	UV(205, 63, 40, 20), 		DIMENSION(2, 1) ),
SPRITEDEF( IDI_GHOST_EYES_DOWN, 	TEX_IG, 	UV(249, 48, 13, 7), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_GHOST_EYES_UP, 		TEX_IG, 	UV(270, 43, 13, 7), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_GHOST_EYES_LEFT, 	TEX_IG, 	UV(248, 67, 13, 7), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_GHOST_EYES_RIGHT, 	TEX_IG, 	UV(272, 67, 13, 7), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_PACDOWN_ANIM, 		TEX_IG, 	UV(164, 0, 80, 20), 		DIMENSION(4, 1) ),
SPRITEDEF( IDI_PACUP_ANIM, 			TEX_IG, 	UV(246, 0, 80, 20), 		DIMENSION(4, 1) ),
SPRITEDEF( IDI_PACLEFT_ANIM, 		TEX_IG, 	UV(164, 21, 80, 20), 		DIMENSION(4, 1) ),
SPRITEDEF( IDI_PACRIGHT_ANIM, 		TEX_IG, 	UV(246, 21, 80, 20), 		DIMENSION(4, 1) ),
//SPRITEDEF( IDI_PACDYING_ANIM, 	TEX_IG, 	UV(0, 96, 194, 20), 		DIMENSION(20, 1) ),
SPRITEDEF( IDI_PACDYING_ANIM, 		TEX_IG, 	UV(0, 97, 200, 20), 		DIMENSION(10, 1) ),
SPRITEDEF( IDI_FRUIT_SCORE_100,		TEX_IG, 	UV(288, 42, 27, 27), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_FRUIT_SCORE_300, 	TEX_IG, 	UV(316, 42, 27, 27), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_FRUIT_SCORE_500, 	TEX_IG, 	UV(344, 42, 27, 27), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_FRUIT_SCORE_700, 	TEX_IG, 	UV(372, 42, 27, 27), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_FRUIT_SCORE_1000, 	TEX_IG, 	UV(288, 70, 27, 27), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_FRUIT_SCORE_2000, 	TEX_IG, 	UV(316, 70, 27, 27), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_FRUIT_SCORE_3000, 	TEX_IG, 	UV(344, 70, 27, 27), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_FRUIT_SCORE_5000, 	TEX_IG, 	UV(372, 70, 27, 27), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_GHOST_SCORE_200, 	TEX_IG, 	UV(327, 30, 22, 10), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_GHOST_SCORE_400, 	TEX_IG, 	UV(350, 30, 22, 10), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_GHOST_SCORE_800, 	TEX_IG, 	UV(373, 30, 22, 10), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_GHOST_SCORE_1600, 	TEX_IG, 	UV(396, 30, 22, 10), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_NEST_GATE, 			TEX_IG, 	UV(199, 84, 21, 3), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_PELLET, 				TEX_IG, 	UV(222, 84, 3, 3), 			DIMENSION(1, 1) ),
SPRITEDEF( IDI_POWER_PELLET, 		TEX_IG, 	UV(238, 84, 11, 11), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_TEXT_PLAYER_ONE, 	TEX_IG, 	UV(327, 10, 99, 9), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_TEXT_GAME_OVER, 		TEX_IG, 	UV(327, 0, 99, 9), 			DIMENSION(1, 1) ),
SPRITEDEF( IDI_TEXT_READY, 			TEX_IG, 	UV(327, 20, 57, 9), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_TEXT_1UP, 			TEX_IG, 	UV(385, 20, 28, 9), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_TEXT_SCORE, 			TEX_IG, 	UV(40, 84, 39, 7), 			DIMENSION(1, 1) ),
SPRITEDEF( IDI_TEXT_STAGE, 			TEX_IG, 	UV(80, 84, 37, 7), 			DIMENSION(1, 1) ),
SPRITEDEF( IDI_HIGH_SCORE, 			TEX_IG, 	UV(0, 84, 79, 7), 			DIMENSION(1, 1) ),
SPRITEDEF( IDI_TEXT_NUMBERS, 		TEX_IG, 	UV(118, 84, 80, 7), 		DIMENSION(10, 1) ),
SPRITEDEF( IDI_LIFE_ICON, 			TEX_IG, 	UV(202, 97, 12, 13), 		DIMENSION(1, 1) ),
SPRITEDEF( IDI_SOUND_ICON, 			TEX_IG, 	UV(274, 102, 13, 10), 		DIMENSION(1, 1) ), 

#ifdef TOKENS_ENABLED
    #ifdef IPAD_VERSION
        #define TOKEN_SIZE      32
        #define IG_TOKENFRAME_W 81
        //#define IG_TOKENFRAME_H 44
        #define IG_TOKENFRAME_H 46
    #else
        #define TOKEN_SIZE      20
        #define IG_TOKENFRAME_W 70
        #define IG_TOKENFRAME_H 32
    #endif

    #define BABY_TOKEN_SIZE     (TOKEN_SIZE >> 1)

    #define TOKEN_0_X           0
    #define TOKEN_1_X           (TOKEN_SIZE)
    #define TOKEN_2_X           (TOKEN_SIZE * 2)
    #define TOKEN_3_X           (TOKEN_SIZE * 3)

    SPRITEDEF( IDI_TOKEN_ANIM_1,  TEX_TOKEN,         UV(TOKEN_0_X, 0, TOKEN_SIZE, TOKEN_SIZE),            DIMENSION(1, 1) ),
    SPRITEDEF( IDI_TOKEN_ANIM_2,  TEX_TOKEN,         UV(TOKEN_1_X, 0, TOKEN_SIZE, TOKEN_SIZE),            DIMENSION(1, 1) ),
    SPRITEDEF( IDI_TOKEN_ANIM_3,  TEX_TOKEN,         UV(TOKEN_2_X, 0, TOKEN_SIZE, TOKEN_SIZE),            DIMENSION(1, 1) ),
    SPRITEDEF( IDI_TOKEN_ANIM_4,  TEX_TOKEN,         UV(TOKEN_3_X, 0, TOKEN_SIZE, TOKEN_SIZE),            DIMENSION(1, 1) ),

    SPRITEDEF( IDI_TOKEN_BABY,    TEX_TOKEN,         UV(0, TOKEN_SIZE, BABY_TOKEN_SIZE, BABY_TOKEN_SIZE), DIMENSION(1, 1)),
    SPRITEDEF( IDI_LIFE_BABY,     TEX_LIFE,          UV(0, 0, BABY_TOKEN_SIZE, BABY_TOKEN_SIZE),          DIMENSION(1, 1)),

    SPRITEDEF( IDI_IG_TOKENFRAME, TEX_IG_TOKENFRAME, UV(0, 0, IG_TOKENFRAME_W, IG_TOKENFRAME_H),          DIMENSION(1, 1) ),

    #ifdef IPAD_VERSION
    // Need to extend it another 36 pixels and the rounded bezel has a width of 5 pixels.
    #define IG_TOKENFRAME_EXT_W (36 + 5 + 5)
    SPRITEDEF( IDI_IG_TOKENFRAME_EXT, TEX_IG_TOKENFRAME, UV(IG_TOKENFRAME_W - IG_TOKENFRAME_EXT_W, 0, IG_TOKENFRAME_EXT_W, IG_TOKENFRAME_H), DIMENSION(1, 1)),
    #endif
#endif

/////////////////////////////////////////
// NORMAL IN-GAME MAZE TEXTURE
SPRITEDEF( IDI_MAZE_BLUE,			TEX_MAZE_BLUE,		UV(0, 0, 308, 344), 	DIMENSION(1, 1) ),

/////////////////////////////////////////
// FLASHING IN-GAME MAZE TEXTURE
SPRITEDEF( IDI_MAZE_WHITE,			TEX_MAZE_WHITE, 	UV(0, 0, 308, 344), 	DIMENSION(1, 1) ),

#ifdef _LITE_
    #ifdef IPAD_VERSION
        SPRITEDEF( IDI_MENU_FRAME_UPGRADE,	TEX_MENU_FRAME_UPGRADE,		UV(0, 0, FRAME_PIXEL_WIDTH, FRAME_PIXEL_HEIGHT - 66),	DIMENSION(1, 1) ),    
        SPRITEDEF( IDI_MENU_CONGRATS,       TEX_MENU_CONGRATS,          UV(0,0, 283, 229),                                      DIMENSION(1, 1) ),
    #else
        SPRITEDEF( IDI_MENU_FRAME_UPGRADE,	TEX_MENU_FRAME_UPGRADE,		UV(0, 0, 320, 430),                                     DIMENSION(1, 1) ),
        SPRITEDEF( IDI_MENU_CONGRATS,       TEX_MENU_CONGRATS,          UV(0,0, 170, 134),                                      DIMENSION(1, 1) ),
    #endif
#endif