------------------------------------------------------------------------------
--  trophies.lua
--  Copyright (c) 2009, Bamtang Games. All Rights Reserved.
------------------------------------------------------------------------------

require( "scripts/style.lua" );

trpTitleFont = {
    titleFont,
    19,
    Color(252, 226, 115, 255)
};

trpBodyFont = {
    titleFont,
    18,
    Color(252, 226, 115, 255)
};

function gotoMainMenu()
    PopModal('trophiesScreen');
    StartFadeOut();
end

MakeDialog {
    name = "trophiesScreen",
-- --[[    
    TrophiesWnd {
        x = 0,
        y = 0,
        w = kMax,
        h = kMax,
-- ]]--
		Bitmap {
			image = "images/trophies/ae_trophy_background.png",
			x = kCenter,
			y = kCenter,
            alpha = true;

			SetStyle(ButtonStyle),
			Button {
				x = 299,
				y = 543,
				name = "btnBack",
				graphics = BackButtonGraphics,
				command =
					function()
						PopModal("trophiesScreen");
					end
			},
		},

-- --[[
		-- ThanksToAmelia - I do what I do, thanks to Amelia
        Bitmap {
            image = "images/trophies/ae_trophy_medal_off.png",
            name = "ThanksToAmelia_off",
            x = 127,
            y = 49,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_medal_on.png",
            name = "ThanksToAmelia_on",
            x = 127,
            y = 49,
        },
        
		-- GirlFromAtchison	- That girl from Atchison, Kansas
        Bitmap {
            image = "images/trophies/ae_trophy_kansas_off.png",
            name = "GirlFromAtchison_off",
            x = 217,
            y = 49,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_kansas_on.png",
            name = "GirlFromAtchison_on",
            x = 217,
            y = 49,
        },
        
		-- ThatPlane - That plane said something to me
        Bitmap {
            image = "images/trophies/ae_trophy_plane_off.png",
            name = "ThatPlane_off",
            x = 307,
            y = 49, --541,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_plane_on.png",
            name = "ThatPlane_on",
            x = 307,
            y = 49, --541,
        },
        
		-- ScaredTheCows - I scared the cows where I landed
        Bitmap {
            image = "images/trophies/ae_trophy_cow_off.png",
            name = "ScaredTheCows_off",
            x = 399,
            y = 49,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_cow_on.png",
            name = "ScaredTheCows_on",
            x = 399,
            y = 49,
        },
        
		-- AlohaOakland	- Aloha Oakland
        Bitmap {
            image = "images/trophies/ae_trophy_lei_off.png",
            name = "AlohaOakland_off",
            x = 486,
            y = 49,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_lei_on.png",
            name = "AlohaOakland_on",
            x = 486,
            y = 49,
        },
        
		-- LastFlight - Electra's Last flight
        Bitmap {
            image = "images/trophies/ae_trophy_electra_off.png",
            name = "LastFlight_off",
            x = 576,
            y = 49,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_electra_on.png",
            name = "LastFlight_on",
            x = 576,
            y = 49,
        },
        
		-- Exploring - Exploring the Island
        Bitmap {
            image = "images/trophies/ae_trophy_island_off.png",
            name = "Exploring_off",
            x = 127,
            y = 221,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_island_on.png",
            name = "Exploring_on",
            x = 127,
            y = 221,
        },
        
		-- AmeliasLegacy - Amelia's legacy
        Bitmap {
            image = "images/trophies/ae_trophy_amelia_off.png",
            name = "AmeliasLegacy_off",
            x = 217,
            y = 221,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_amelia_on.png",
            name = "AmeliasLegacy_on",
            x = 217,
            y = 221,
        },
        
		-- GoodObservation - Good observation skills
        Bitmap {
            image = "images/trophies/ae_trophy_bronzehint_off.png",
            name = "GoodObservation_off",
            x = 487,
            y = 221,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_bronzehint_on.png",
            name = "GoodObservation_on",
            x = 487,
            y = 221,
        },
        
		-- IncredibleObservation - Incredible observation skills
        Bitmap {
            image = "images/trophies/ae_trophy_silverhint_off.png",
            name = "IncredibleObservation_off",
            x = 305,
            y = 221,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_silverhint_on.png",
            name = "IncredibleObservation_on",
            x = 305,
            y = 221,
        },
        
		-- NeverInterrupt - Never interrupt someone doing something you said couldn't be done
        Bitmap {
            image = "images/trophies/ae_trophy_goldhint_off.png",
            name = "NeverInterrupt_off",
            x = 393,
            y = 221,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_goldhint_on.png",
            name = "NeverInterrupt_on",
            x = 393,
            y = 221,
        },
        
		-- GoodThinking - Good thinking
        Bitmap {
            image = "images/trophies/ae_trophy_bronzeskip_off.png",
            name = "GoodThinking_off",
            x = 285,
            y = 388,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_bronzeskip_on.png",
            name = "GoodThinking_on",
            x = 285,
            y = 388,
        },
        
		-- AwesomeThinking - Awesome thinking
        Bitmap {
            image = "images/trophies/ae_trophy_silverskip_off.png",
            name = "AwesomeThinking_off",
            x = 180,
            y = 388,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_silverskip_on.png",
            name = "AwesomeThinking_on",
            x = 180,
            y = 388,
        },
        
		-- EffectiveWay - The most effective way to do it, is to do it
        Bitmap {
            image = "images/trophies/ae_trophy_goldskip_off.png",
            name = "EffectiveWay_off",
            x = 578,
            y = 221,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_goldskip_on.png",
            name = "EffectiveWay_on",
            x = 578,
            y = 221,
        },
        
		-- EasierToStart - it is far easier to start something than it is to finish it.
        Bitmap {
            image = "images/trophies/ae_trophy_redvega_off.png",
            name = "EasierToStart_off",
            x = 385,
            y = 388,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_redvega_on.png",
            name = "EasierToStart_on",
            x = 385,
            y = 388,
        },
        
		-- AdventureIsWorthwhile - Adventure is worthwhile in itself.
        Bitmap {
            image = "images/trophies/ae_trophy_yellowvega_off.png",
            name = "AdventureIsWorthwhile_off",
            x = 499,
            y = 388,
        },
        Bitmap {
            image = "images/trophies/ae_trophy_yellowvega_on.png",
            name = "AdventureIsWorthwhile_on",
            x = 499,
            y = 388,
        },
        
-- ]]--
-- --[[
        Bitmap {
            image = "images/trophies/ae_textover_right_down.png",
            name = "dialogRD",
            x = 113,
            y = 123,
            w = 189,
            h = 258,
            alpha = 0.5,
            Text {
                font = trpTitleFont,
                name = "lblName",
                x =  25, y = 25,
                w = 160, h = 70,
                flags = kHAlignCenter,
            },
            Text {
                font = trpBodyFont,
                name = "lblToolTip",
                x =  25, y =  105,
                w = 160, h = 130,
                flags = kHAlignCenter,
            },
        },
-- ]]--
-- --[[
        Bitmap {
            align=kHAlignLeft + kVAlignTop,
            image = "images/trophies/ae_textover_left_down.png",
            name = "dialogLD",
            x = 234,
            y = 18,
            w = 189,
            h = 258,
            alpha = 0.5,
            Text {
                font = trpTitleFont,
                name = "lblName",
                x =  35, y = 25,
                w = 160, h = 70,
                flags = kHAlignCenter,
            },
            Text {
                font = trpBodyFont,
                name = "lblToolTip",
                x =  35, y = 105,
                w = 160, h = 130,
                flags = kHAlignCenter,
            },
        },
-- ]]--
-- --[[
        Bitmap {
            image = "images/trophies/ae_textover_right_up.png",
            name = "dialogRU",
            x = 117,
            y = 71,
            w = 189,
            h = 258,
            alpha = 0.5,
            Text {
                font = trpTitleFont,
                name = "lblName",
                x =  25, y = 25,
                w = 160, h = 70,
                flags = kHAlignCenter,
            },
            Text {
                font = trpBodyFont,
                name = "lblToolTip",
                x =  25, y =  105,
                w = 160, h = 130,
                flags = kHAlignCenter,
            },
        },
-- ]]--
-- --[[        
			Bitmap {
            image = "images/trophies/ae_textover_left_up.png",
            name = "dialogLU",
            x = 131, y =  53,
            w = 189, h = 258,
            alpha = 0.5,
            Text {
                font = trpTitleFont,
                name = "lblName",
                x =  35, y = 25,
                w = 160, h = 70,
                flags = kHAlignCenter,
				  -- label = "8888888888888888888",
            },
            Text {
                font = trpBodyFont,
                name = "lblToolTip",
                x =  35, y =  105,
                w = 160, h = 130,
                flags = kHAlignCenter,
				  -- label = "8888888888888888888",
            },
        },
-- ]]--
    },
-- [[ --
    FadeWindow {
        w = 800,
        h = 600,
        name = "FadeWindow",

        Bitmap {
            image = "images/panelblack",
            name = "bmpPanelBlack",
            x = 0,
            y = 0,
        }
    }
-- ]] --    
}
