
dofile ( "hud/hud_export.lua" );
dofile ( "hud/hud_lplayer.lua" );
dofile ( "hud/hud_rplayer.lua" );

leftplayerpanel_group = 
{
	Window
	{
		name = "player_panel",	
		x = hud_lplayer_win_lplayerpanel_params["x"],
		y = hud_lplayer_win_lplayerpanel_params["y"],
		w = hud_lplayer_win_lplayerpanel_params["w"],
		h = hud_lplayer_win_lplayerpanel_params["h"],

		PlayerPanel
		{
			name = "player_panel_bg_btn",	
			graphics= {
				hud_lplayer_win_lplayerpanel_params["image"],
				hud_lplayer_win_lplayerpanel_params["image"],
				hud_lplayer_win_lplayerpanel_params["image"],
				hud_lplayer_win_lplayerpanel_params["image"],
			},
			x=hud_lplayer_win_lplayerpanel_params["x"],
			y=hud_lplayer_win_lplayerpanel_params["y"],
		},
		
		Bitmap
		{
			name = "player_panel_bg",	
			image = hud_lplayer_win_lplayerpanel_params["image"],
			x=hud_lplayer_win_lplayerpanel_params["x"],
			y=hud_lplayer_win_lplayerpanel_params["y"],
		},
		
		Bitmap
		{
			name = "player_name_panel",
			graphics = hud_lplayer_ico_playername_01_params["graphics"],
			x = hud_lplayer_ico_playername_01_params["x"],
			y = hud_lplayer_ico_playername_01_params["y"],
		},
		
		Bitmap
		{
			name = "btn_intervention_disable",
			image = 'hud/btn_intervention_04',
			x = hud_lplayer_btn_intervention_params["x"],
			y = hud_lplayer_btn_intervention_params["y"],
		},
		
		MonopolyButton
		{
			name = "btn_intervention",
			graphics = hud_lplayer_btn_intervention_params["graphics"],
			x = hud_lplayer_btn_intervention_params["x"],
			y = hud_lplayer_btn_intervention_params["y"],
			font = Green15Font,
			label = "",
		},
		
		Text
		{
			font = MonopolyFont_14B_Grey1,
			name = "player_name_text",
			label="",
			x = hud_lplayer_txt_playername_params["x"],
			y = hud_lplayer_txt_playername_params["y"]-10,
			w = hud_lplayer_txt_playername_params["w"]+20,
			h = hud_lplayer_txt_playername_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
		},
		
		Text
		{
			font = MonopolyFont_14B_Grey1,
			name = "player_cashvalue_text",
			label="",
			x = hud_lplayer_txt_currentcash_params["x"]-20,
			y = hud_lplayer_txt_currentcash_params["y"]-10,
			w = hud_lplayer_txt_currentcash_params["w"]+20,
			h = hud_lplayer_txt_currentcash_params["h"]+20,
			flags = kHAlignRight + kVAlignCenter,
		},
		
		Text
		{
			font = MonopolyFont_12B_Grey2,
			name = "player_networth_text",
			label = "ui.networth",
			x = hud_lplayer_txt_networth_params["x"]-12,
			y = hud_lplayer_txt_networth_params["y"]-10,
			w = hud_lplayer_txt_networth_params["w"]+20,
			h = hud_lplayer_txt_networth_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
		},
		
		Text
		{
			font = MonopolyFont_12B_Grey1,
			name = "player_networthvalue_text",
			label = "",
			x = hud_lplayer_txt_currentworth_params["x"]-5,
			y = hud_lplayer_txt_currentworth_params["y"]-5,
			w = hud_lplayer_txt_currentworth_params["w"]+10,
			h = hud_lplayer_txt_currentworth_params["h"]+10,
			flags = kHAlignCenter + kVAlignCenter,
		},
		
		-- mover frame
		Bitmap
		{
			name = "player_frame",
			image = hud_lplayer_ico_iconframe_01_params["image"],
			x = hud_lplayer_ico_iconframe_01_params["x"],
			y = hud_lplayer_ico_iconframe_01_params["y"],
		},
		Bitmap
		{
			name = "player_mover",
			image = hud_lplayer_ico_mplayericon01_params["image"],
			x = hud_lplayer_ico_mplayericon01_params["x"],
			y = hud_lplayer_ico_mplayericon01_params["y"],
		},
		
		Bitmap
		{
			name = "mover_prison_icon",
			image = hud_lplayer_ico_prison_params["image"],
			x = hud_lplayer_ico_prison_params["x"],
			y = hud_lplayer_ico_prison_params["y"],
		},
	
		-- Special cards
		CardThumbnail
		{
			name = "ico_taxdodge",
			image = hud_lplayer_ico_tax_params["image"],
			x = hud_lplayer_ico_tax_params["x"],
			y = hud_lplayer_ico_tax_params["y"],
		},
		CardThumbnail
		{
			name = "ico_rentdodge",
			image = hud_lplayer_ico_free_params["image"],
			x = hud_lplayer_ico_free_params["x"],
			y = hud_lplayer_ico_free_params["y"],
		},
		CardThumbnail
		{
			name = "ico_jail1",
			image = hud_lplayer_ico_jail_01_params["image"],
			x = hud_lplayer_ico_jail_01_params["x"],
			y = hud_lplayer_ico_jail_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_jail2",
			image = hud_lplayer_ico_jail_02_params["image"],
			x = hud_lplayer_ico_jail_02_params["x"],
			y = hud_lplayer_ico_jail_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_taxi1",
			image = hud_lplayer_ico_taxi_01_params["image"],
			x = hud_lplayer_ico_taxi_01_params["x"],
			y = hud_lplayer_ico_taxi_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_taxi2",
			image = hud_lplayer_ico_taxi_02_params["image"],
			x = hud_lplayer_ico_taxi_02_params["x"],
			y = hud_lplayer_ico_taxi_02_params["y"],
		},

		-- districts
		CardThumbnail
		{
			name = "ico_brown1",
			image = hud_lplayer_ico_brown_01_params["image"],
			x = hud_lplayer_ico_brown_01_params["x"],
			y = hud_lplayer_ico_brown_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_brown2",
			image = hud_lplayer_ico_brown_02_params["image"],
			x = hud_lplayer_ico_brown_02_params["x"],
			y = hud_lplayer_ico_brown_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_azure1",
			image = hud_lplayer_ico_azure_01_params["image"],
			x = hud_lplayer_ico_azure_01_params["x"],
			y = hud_lplayer_ico_azure_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_azure2",
			image = hud_lplayer_ico_azure_02_params["image"],
			x = hud_lplayer_ico_azure_02_params["x"],
			y = hud_lplayer_ico_azure_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_azure3",
			image = hud_lplayer_ico_azure_03_params["image"],
			x = hud_lplayer_ico_azure_03_params["x"],
			y = hud_lplayer_ico_azure_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_pink1",
			image = hud_lplayer_ico_pink_01_params["image"],
			x = hud_lplayer_ico_pink_01_params["x"],
			y = hud_lplayer_ico_pink_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_pink2",
			image = hud_lplayer_ico_pink_02_params["image"],
			x = hud_lplayer_ico_pink_02_params["x"],
			y = hud_lplayer_ico_pink_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_pink3",
			image = hud_lplayer_ico_pink_03_params["image"],
			x = hud_lplayer_ico_pink_03_params["x"],
			y = hud_lplayer_ico_pink_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_orange1",
			image = hud_lplayer_ico_orange_01_params["image"],
			x = hud_lplayer_ico_orange_01_params["x"],
			y = hud_lplayer_ico_orange_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_orange2",
			image = hud_lplayer_ico_orange_02_params["image"],
			x = hud_lplayer_ico_orange_02_params["x"],
			y = hud_lplayer_ico_orange_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_orange3",
			image = hud_lplayer_ico_orange_03_params["image"],
			x = hud_lplayer_ico_orange_03_params["x"],
			y = hud_lplayer_ico_orange_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_red1",
			image = hud_lplayer_ico_red_01_params["image"],
			x = hud_lplayer_ico_red_01_params["x"],
			y = hud_lplayer_ico_red_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_red2",
			image = hud_lplayer_ico_red_02_params["image"],
			x = hud_lplayer_ico_red_02_params["x"],
			y = hud_lplayer_ico_red_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_red3",
			image = hud_lplayer_ico_red_03_params["image"],
			x = hud_lplayer_ico_red_03_params["x"],
			y = hud_lplayer_ico_red_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_yellow1",
			image = hud_lplayer_ico_yellow_01_params["image"],
			x = hud_lplayer_ico_yellow_01_params["x"],
			y = hud_lplayer_ico_yellow_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_yellow2",
			image = hud_lplayer_ico_yellow_02_params["image"],
			x = hud_lplayer_ico_yellow_02_params["x"],
			y = hud_lplayer_ico_yellow_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_yellow3",
			image = hud_lplayer_ico_yellow_03_params["image"],
			x = hud_lplayer_ico_yellow_03_params["x"],
			y = hud_lplayer_ico_yellow_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_green1",
			image = hud_lplayer_ico_green_01_params["image"],
			x = hud_lplayer_ico_green_01_params["x"],
			y = hud_lplayer_ico_green_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_green2",
			image = hud_lplayer_ico_green_02_params["image"],
			x = hud_lplayer_ico_green_02_params["x"],
			y = hud_lplayer_ico_green_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_green3",
			image = hud_lplayer_ico_green_03_params["image"],
			x = hud_lplayer_ico_green_03_params["x"],
			y = hud_lplayer_ico_green_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_blue1",
			image = hud_lplayer_ico_blue_01_params["image"],
			x = hud_lplayer_ico_blue_01_params["x"],
			y = hud_lplayer_ico_blue_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_blue2",
			image = hud_lplayer_ico_blue_02_params["image"],
			x = hud_lplayer_ico_blue_02_params["x"],
			y = hud_lplayer_ico_blue_02_params["y"],
		},
		
		-- Intervention marker
		Bitmap
		{
			name = "intervention_icon",
			image = hud_lplayer_lintervention_params["image"],
			x = hud_lplayer_lintervention_params["x"],
			y = hud_lplayer_lintervention_params["y"],
		},
		
		-- Inactive marker
		Bitmap
		{
			name = "inactive_marker",
			image = hud_lplayer_ico_lbankrupt_params["image"],
			x = hud_lplayer_ico_lbankrupt_params["x"],
			y = hud_lplayer_ico_lbankrupt_params["y"],
		},
	
	},
}


		
rightplayerpanel_group = 
{		
	Window
	{
		name = "player_panel",	
		x = hud_rplayer_win_rplayerpanel_params["x"],
		y = hud_rplayer_win_rplayerpanel_params["y"],
		w = hud_rplayer_win_rplayerpanel_params["w"],
		h = hud_rplayer_win_rplayerpanel_params["h"],

		PlayerPanel
		{
			name = "player_panel_bg_btn",	
			graphics= {
				hud_rplayer_win_rplayerpanel_params["image"],
				hud_rplayer_win_rplayerpanel_params["image"],
				hud_rplayer_win_rplayerpanel_params["image"],
				hud_rplayer_win_rplayerpanel_params["image"],
			},
			x=hud_rplayer_win_rplayerpanel_params["x"],
			y=hud_rplayer_win_rplayerpanel_params["y"],
		},
		
		Bitmap
		{
			name = "player_panel_bg",	
			image = hud_rplayer_win_rplayerpanel_params["image"],
			x=hud_rplayer_win_rplayerpanel_params["x"],
			y=hud_rplayer_win_rplayerpanel_params["y"],
		},
		
		Bitmap
		{
			name = "player_name_panel",
			image = hud_rplayer_ico_playername_02_params["image"],
			x = hud_rplayer_ico_playername_02_params["x"],
			y = hud_rplayer_ico_playername_02_params["y"],
		},
		
		Bitmap
		{
			name = "btn_intervention_disable",
			image = 'hud/btn_intervention_04',
			x = hud_rplayer_btn_intervention_params["x"],
			y = hud_rplayer_btn_intervention_params["y"],
		},
		
		MonopolyButton
		{
			name = "btn_intervention",
			graphics = hud_rplayer_btn_intervention_params["graphics"],
			x = hud_rplayer_btn_intervention_params["x"],
			y = hud_rplayer_btn_intervention_params["y"],
			font = Green15Font,
			label = "",
		},
				
		Text
		{
			font = MonopolyFont_14B_Grey1,
			name = "player_name_text",
			label="",
			x = hud_rplayer_txt_playername02_params["x"],
			y = hud_rplayer_txt_playername02_params["y"]-10,
			w = hud_rplayer_txt_playername02_params["w"]+20,
			h = hud_rplayer_txt_playername02_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
		},
		
		Text
		{
			font = MonopolyFont_14B_Grey1,
			name = "player_cashvalue_text",
			label="",
			x = hud_rplayer_txt_currentcash02_params["x"]-20,
			y = hud_rplayer_txt_currentcash02_params["y"]-10,
			w = hud_rplayer_txt_currentcash02_params["w"]+20,
			h = hud_rplayer_txt_currentcash02_params["h"]+20,
			flags = kHAlignRight + kVAlignCenter,
		},
		
		Text
		{
			font = MonopolyFont_12B_Grey2,
			name = "player_networth_text",
			label = "ui.networth",
			x = hud_rplayer_txt_networth02_params["x"]-12,
			y = hud_rplayer_txt_networth02_params["y"]-10,
			w = hud_rplayer_txt_networth02_params["w"]+20,
			h = hud_rplayer_txt_networth02_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
		},
		
		Text
		{
			font = MonopolyFont_12B_Grey1,
			name = "player_networthvalue_text",
			label = "",
			x = hud_rplayer_txt_currentworth02_params["x"]-10,
			y = hud_rplayer_txt_currentworth02_params["y"]-10,
			w = hud_rplayer_txt_currentworth02_params["w"]+20,
			h = hud_rplayer_txt_currentworth02_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
		},
		
		-- mover frame
		Bitmap
		{
			name = "player_frame",
			image = hud_rplayer_ico_iconframe_03_params["graphics"],
			x = hud_rplayer_ico_iconframe_03_params["x"],
			y = hud_rplayer_ico_iconframe_03_params["y"],
		},
		Bitmap
		{
			name = "player_mover",
			image = hud_rplayer_ico_mplayericon03_params["graphics"],
			x = hud_rplayer_ico_mplayericon03_params["x"],
			y = hud_rplayer_ico_mplayericon03_params["y"],
		},
		
		Bitmap
		{
			name = "mover_prison_icon",
			image = hud_rplayer_ico_prison_params["image"],
			x = hud_rplayer_ico_prison_params["x"],
			y = hud_rplayer_ico_prison_params["y"],
		},
	
		-- Special cards
		CardThumbnail
		{
			name = "ico_taxdodge",
			image = hud_rplayer_ico_tax_params["image"],
			x = hud_rplayer_ico_tax_params["x"],
			y = hud_rplayer_ico_tax_params["y"],
		},
		CardThumbnail
		{
			name = "ico_rentdodge",
			image = hud_rplayer_ico_free_params["image"],
			x = hud_rplayer_ico_free_params["x"],
			y = hud_rplayer_ico_free_params["y"],
		},
		CardThumbnail
		{
			name = "ico_jail1",
			image = hud_rplayer_ico_jail_01_params["image"],
			x = hud_rplayer_ico_jail_01_params["x"],
			y = hud_rplayer_ico_jail_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_jail2",
			image = hud_rplayer_ico_jail_02_params["image"],
			x = hud_rplayer_ico_jail_02_params["x"],
			y = hud_rplayer_ico_jail_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_taxi1",
			image = hud_rplayer_ico_taxi_01_params["image"],
			x = hud_rplayer_ico_taxi_01_params["x"],
			y = hud_rplayer_ico_taxi_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_taxi2",
			image = hud_rplayer_ico_taxi_02_params["image"],
			x = hud_rplayer_ico_taxi_02_params["x"],
			y = hud_rplayer_ico_taxi_02_params["y"],
		},

		-- districts
		CardThumbnail
		{
			name = "ico_brown1",
			image = hud_rplayer_ico_brown_01_params["image"],
			x = hud_rplayer_ico_brown_01_params["x"],
			y = hud_rplayer_ico_brown_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_brown2",
			image = hud_rplayer_ico_brown_02_params["image"],
			x = hud_rplayer_ico_brown_02_params["x"],
			y = hud_rplayer_ico_brown_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_azure1",
			image = hud_rplayer_ico_azure_01_params["image"],
			x = hud_rplayer_ico_azure_01_params["x"],
			y = hud_rplayer_ico_azure_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_azure2",
			image = hud_rplayer_ico_azure_02_params["image"],
			x = hud_rplayer_ico_azure_02_params["x"],
			y = hud_rplayer_ico_azure_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_azure3",
			image = hud_rplayer_ico_azure_03_params["image"],
			x = hud_rplayer_ico_azure_03_params["x"],
			y = hud_rplayer_ico_azure_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_pink1",
			image = hud_rplayer_ico_pink_01_params["image"],
			x = hud_rplayer_ico_pink_01_params["x"],
			y = hud_rplayer_ico_pink_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_pink2",
			image = hud_rplayer_ico_pink_02_params["image"],
			x = hud_rplayer_ico_pink_02_params["x"],
			y = hud_rplayer_ico_pink_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_pink3",
			image = hud_rplayer_ico_pink_03_params["image"],
			x = hud_rplayer_ico_pink_03_params["x"],
			y = hud_rplayer_ico_pink_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_orange1",
			image = hud_rplayer_ico_orange_01_params["image"],
			x = hud_rplayer_ico_orange_01_params["x"],
			y = hud_rplayer_ico_orange_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_orange2",
			image = hud_rplayer_ico_orange_02_params["image"],
			x = hud_rplayer_ico_orange_02_params["x"],
			y = hud_rplayer_ico_orange_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_orange3",
			image = hud_rplayer_ico_orange_03_params["image"],
			x = hud_rplayer_ico_orange_03_params["x"],
			y = hud_rplayer_ico_orange_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_red1",
			image = hud_rplayer_ico_red_01_params["image"],
			x = hud_rplayer_ico_red_01_params["x"],
			y = hud_rplayer_ico_red_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_red2",
			image = hud_rplayer_ico_red_02_params["image"],
			x = hud_rplayer_ico_red_02_params["x"],
			y = hud_rplayer_ico_red_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_red3",
			image = hud_rplayer_ico_red_03_params["image"],
			x = hud_rplayer_ico_red_03_params["x"],
			y = hud_rplayer_ico_red_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_yellow1",
			image = hud_rplayer_ico_yellow_01_params["image"],
			x = hud_rplayer_ico_yellow_01_params["x"],
			y = hud_rplayer_ico_yellow_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_yellow2",
			image = hud_rplayer_ico_yellow_02_params["image"],
			x = hud_rplayer_ico_yellow_02_params["x"],
			y = hud_rplayer_ico_yellow_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_yellow3",
			image = hud_rplayer_ico_yellow_03_params["image"],
			x = hud_rplayer_ico_yellow_03_params["x"],
			y = hud_rplayer_ico_yellow_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_green1",
			image = hud_rplayer_ico_green_01_params["image"],
			x = hud_rplayer_ico_green_01_params["x"],
			y = hud_rplayer_ico_green_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_green2",
			image = hud_rplayer_ico_green_02_params["image"],
			x = hud_rplayer_ico_green_02_params["x"],
			y = hud_rplayer_ico_green_02_params["y"],
		},
		CardThumbnail
		{
			name = "ico_green3",
			image = hud_rplayer_ico_green_03_params["image"],
			x = hud_rplayer_ico_green_03_params["x"],
			y = hud_rplayer_ico_green_03_params["y"],
		},
		CardThumbnail
		{
			name = "ico_blue1",
			image = hud_rplayer_ico_blue_01_params["image"],
			x = hud_rplayer_ico_blue_01_params["x"],
			y = hud_rplayer_ico_blue_01_params["y"],
		},
		CardThumbnail
		{
			name = "ico_blue2",
			image = hud_rplayer_ico_blue_02_params["image"],
			x = hud_rplayer_ico_blue_02_params["x"],
			y = hud_rplayer_ico_blue_02_params["y"],
		},
		
		-- Intervention marker
		Bitmap
		{
			name = "intervention_icon",
			image = hud_rplayer_rintervention_params["image"],
			x = hud_rplayer_rintervention_params["x"],
			y = hud_rplayer_rintervention_params["y"],
		},
		
		-- Inactive marker
		Bitmap
		{
			name = "inactive_marker",
			image = hud_rplayer_ico_rbankrupt_params["image"],
			x = hud_rplayer_ico_rbankrupt_params["x"],
			y = hud_rplayer_ico_rbankrupt_params["y"],
		},

	},
}



upperleftplayerpanel_group = 
{
	-- player view
	PlayerView
	{
		name = "playerview",
		x = 0;
		y = 0;
		w = kMax,
		h = kMax,

		Window
		{		
			name = "panel_positioner",
			x = hud_export_win_playerpanel_01_params["x"];
			y = hud_export_win_playerpanel_01_params["y"];
			w = kMax,
			h = kMax,
			
			Group(leftplayerpanel_group);
		},
		
		Button
		{
			name="btn_taxi",
			graphics =
			{
				hud_export_pop_taxi_01_params["image"],
				hud_export_pop_taxi_01_params["image"],
				hud_export_pop_taxi_01_params["image"],
				hud_export_pop_taxi_01_params["image"]
			};
			x = hud_export_pop_taxi_01_params["x"],
			y = hud_export_pop_taxi_01_params["y"],
			label="",
			command=
				function()
					OnButtonTaxi(0);
				end;
		},
		
		Bitmap
		{
			name = "player_dice_panel",
			image = hud_export_ico_dicepanel_01_params["image"],
			x = hud_export_ico_dicepanel_01_params["x"],
			y = hud_export_ico_dicepanel_01_params["y"],
		},
		
		Bitmap
		{
			name = "player_die1",
			image = hud_export_ico_dice_0101_params["image"],
			x = hud_export_ico_dice_0101_params["x"],
			y = hud_export_ico_dice_0101_params["y"],
		},
		
		Bitmap
		{
			name = "player_die2",
			image = hud_export_ico_dice_0102_params["image"],
			x = hud_export_ico_dice_0102_params["x"],
			y = hud_export_ico_dice_0102_params["y"],
		},
--[[		
		Bitmap
		{
			name = "player_tradeunit",
			image = hud_export_ico_tunit_01_params["image"],
			x = hud_export_ico_tunit_01_params["x"],
			y = hud_export_ico_tunit_01_params["y"],
		},
		
		Text
		{
			font = MonopolyFont_20B_OasisSky,
			name = "player_tradeunit_text",
			label="",
			x = hud_export_txt_tunit_01_params["x"]-10,
			y = hud_export_txt_tunit_01_params["y"]-10,
			w = hud_export_txt_tunit_01_params["w"]+20,
			h = hud_export_txt_tunit_01_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
		},
		--]]
	},
	--end panel
}



upperrightplayerpanel_group = 
{
	-- player view
	PlayerView
	{
		name = "playerview",
		x = 0;
		y = 0;
		w = kMax,
		h = kMax,

		Window
		{		
			name = "panel_positioner",
			x = hud_export_win_playerpanel_02_params["x"];
			y = hud_export_win_playerpanel_02_params["y"];
			w = kMax,
			h = kMax,
			
			Group(rightplayerpanel_group);
		},
		
		Button
		{
			name="btn_taxi",
			graphics =
			{
				hud_export_pop_taxi_02_params["image"],
				hud_export_pop_taxi_02_params["image"],
				hud_export_pop_taxi_02_params["image"],
				hud_export_pop_taxi_02_params["image"]
			};
			x = hud_export_pop_taxi_02_params["x"],
			y = hud_export_pop_taxi_02_params["y"],
			label="",
			command=
				function()
					OnButtonTaxi(1);
				end;
		},
		
		Bitmap
		{
			name = "player_dice_panel",
			image = hud_export_ico_dicepanel_02_params["image"],
			x = hud_export_ico_dicepanel_02_params["x"],
			y = hud_export_ico_dicepanel_02_params["y"],
		},
		
		Bitmap
		{
			name = "player_die1",
			image = hud_export_ico_dice_0201_params["image"],
			x = hud_export_ico_dice_0201_params["x"],
			y = hud_export_ico_dice_0201_params["y"],
		},
		
		Bitmap
		{
			name = "player_die2",
			image = hud_export_ico_dice_0202_params["image"],
			x = hud_export_ico_dice_0202_params["x"],
			y = hud_export_ico_dice_0202_params["y"],
		},
		
		--[[
		Bitmap
		{
			name = "player_tradeunit",
			image = hud_export_ico_tunit_02_params["image"],
			x = hud_export_ico_tunit_02_params["x"],
			y = hud_export_ico_tunit_02_params["y"],
		},
		
		Text
		{
			font = MonopolyFont_20B_OasisSky,
			name = "player_tradeunit_text",
			label="",
			x = hud_export_txt_tunit_02_params["x"]-10,
			y = hud_export_txt_tunit_02_params["y"]-10,
			w = hud_export_txt_tunit_02_params["w"]+20,
			h = hud_export_txt_tunit_02_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
		},
		--]]
	},
	--end panel
}


lowerrightplayerpanel_group = 
{
	-- player view
	PlayerView
	{
		name = "playerview",
		x = 0;
		y = 0;
		w = kMax,
		h = kMax,

		Window
		{		
			name = "panel_positioner",
			x = hud_export_win_playerpanel_03_params["x"];
			y = hud_export_win_playerpanel_03_params["y"];
			w = kMax,
			h = kMax,
			
			Group(rightplayerpanel_group);
		},
		
		Button
		{
			name="btn_taxi",
			graphics =
			{
				hud_export_pop_taxi_03_params["image"],
				hud_export_pop_taxi_03_params["image"],
				hud_export_pop_taxi_03_params["image"],
				hud_export_pop_taxi_03_params["image"]
			};
			x = hud_export_pop_taxi_03_params["x"],
			y = hud_export_pop_taxi_03_params["y"],
			label="",
			command=
				function()
					OnButtonTaxi(2);
				end;
		},
		
		Bitmap
		{
			name = "player_dice_panel",
			image = hud_export_ico_dicepanel_03_params["image"],
			x = hud_export_ico_dicepanel_03_params["x"],
			y = hud_export_ico_dicepanel_03_params["y"],
		},
		
		Bitmap
		{
			name = "player_die1",
			image = hud_export_ico_dice_0301_params["image"],
			x = hud_export_ico_dice_0301_params["x"],
			y = hud_export_ico_dice_0301_params["y"],
		},
		
		Bitmap
		{
			name = "player_die2",
			image = hud_export_ico_dice_0302_params["image"],
			x = hud_export_ico_dice_0302_params["x"],
			y = hud_export_ico_dice_0302_params["y"],
		},
		--[[
		Bitmap
		{
			name = "player_tradeunit",
			image = hud_export_ico_tunit_03_params["image"],
			x = hud_export_ico_tunit_03_params["x"],
			y = hud_export_ico_tunit_03_params["y"],
		},
		
		Text
		{
			font = MonopolyFont_20B_OasisSky,
			name = "player_tradeunit_text",
			label="",
			x = hud_export_txt_tunit_03_params["x"]-10,
			y = hud_export_txt_tunit_03_params["y"]-10,
			w = hud_export_txt_tunit_03_params["w"]+20,
			h = hud_export_txt_tunit_03_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
		},
		--]]
	},
	--end panel
}


lowerleftplayerpanel_group = 
{
	-- player view
	PlayerView
	{
		name = "playerview",
		x = 0;
		y = 0;
		w = kMax,
		h = kMax,

		Window
		{		
			name = "panel_positioner",
			x = hud_export_win_playerpanel_04_params["x"];
			y = hud_export_win_playerpanel_04_params["y"];
			w = kMax,
			h = kMax,
			
			Group(leftplayerpanel_group);
		},
		
		Button
		{
			name="btn_taxi",
			graphics =
			{
				hud_export_pop_taxi_04_params["image"],
				hud_export_pop_taxi_04_params["image"],
				hud_export_pop_taxi_04_params["image"],
				hud_export_pop_taxi_04_params["image"]
			};
			x = hud_export_pop_taxi_04_params["x"],
			y = hud_export_pop_taxi_04_params["y"],
			label="",
			command=
				function()
					OnButtonTaxi(3);
				end;
		},
		
		Bitmap
		{
			name = "player_dice_panel",
			image = hud_export_ico_dicepanel_04_params["image"],
			x = hud_export_ico_dicepanel_04_params["x"],
			y = hud_export_ico_dicepanel_04_params["y"],
		},
		
		Bitmap
		{
			name = "player_die1",
			image = hud_export_ico_dice_0401_params["image"],
			x = hud_export_ico_dice_0401_params["x"],
			y = hud_export_ico_dice_0401_params["y"],
		},
		
		Bitmap
		{
			name = "player_die2",
			image = hud_export_ico_dice_0402_params["image"],
			x = hud_export_ico_dice_0402_params["x"],
			y = hud_export_ico_dice_0402_params["y"],
		},
		--[[
		Bitmap
		{
			name = "player_tradeunit",
			image = hud_export_ico_tunit_04_params["image"],
			x = hud_export_ico_tunit_04_params["x"],
			y = hud_export_ico_tunit_04_params["y"],
		},
		
		Text
		{
			font = MonopolyFont_20B_OasisSky,
			name = "player_tradeunit_text",
			label="",
			x = hud_export_txt_tunit_04_params["x"]-10,
			y = hud_export_txt_tunit_04_params["y"]-10,
			w = hud_export_txt_tunit_04_params["w"]+20,
			h = hud_export_txt_tunit_04_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
		},
		--]]
	},
	--end panel
}

