from header_map_icons import *
from ID_sounds import *

####################################################################################################################
#  Each map icon record contains the following fields:
#  1) Map icon id: used for referencing map icons in other files.
#     The prefix icon_ is automatically added before each map icon id.
#  2) Map icon flags. See header_map icons.py for a list of available flags
#  3) Mesh name.
#  4) Scale. 
#  5) Sound.
#  6) Offset x position for the flag icon.
#  7) Offset y position for the flag icon.
#  8) Offset z position for the flag icon.
####################################################################################################################

banner_scale = 0.3
avatar_scale = 0.15
map_icons_defined=1
map_icons = [
  ("player",0,"player", avatar_scale, snd_footstep_grass, 0.15, 0.173, 0),
  ("player_horseman",0,"player_horseman", avatar_scale, snd_gallop, 0.15, 0.173, 0),
  ("gray_knight",0,"knight_a", avatar_scale, snd_gallop, 0.15, 0.173, 0),
  ("vaegir_knight",0,"knight_b", avatar_scale, snd_gallop, 0.15, 0.173, 0),
  ("flagbearer_a",0,"flagbearer_a", avatar_scale, snd_gallop, 0.15, 0.173, 0),
  ("flagbearer_b",0,"flagbearer_b", avatar_scale, snd_gallop, 0.15, 0.173, 0),
  ("peasant",0,"peasant_a", avatar_scale,snd_footstep_grass, 0.15, 0.173, 0),
  ("khergit",0,"khergit_horseman", avatar_scale,snd_gallop, 0.15, 0.173, 0),
  ("khergit_horseman_b",0,"khergit_horseman_b", avatar_scale,snd_gallop, 0.15, 0.173, 0),
  ("axeman",0,"bandit_s", avatar_scale,snd_footstep_grass, 0.15, 0.173, 0),
  ("woman",0,"woman_a", avatar_scale,snd_footstep_grass, 0.15, 0.173, 0),
  ("woman_b",0,"woman_b", avatar_scale,snd_footstep_grass, 0.15, 0.173, 0),
  ("town",mcn_no_shadow,"map_town_a", 0.35,snd_footstep_grass),
  ("village_a",mcn_no_shadow,"map_village_a", 0.45, snd_footstep_grass),
  ("village_burnt_a",mcn_no_shadow,"map_village_burnt_a", 0.45, snd_footstep_grass),
  ("village_deserted_a",mcn_no_shadow,"map_village_deserted_a", 0.45, snd_footstep_grass),
  #sanguo
  ("horseman_s",0,"horseman_s", avatar_scale,snd_gallop, 0.15, 0.173, 0),
  ("horseman_m",0,"horseman_m", avatar_scale,snd_gallop, 0.15, 0.173, 0),
  ("horseman_xn",0,"horseman_xn", avatar_scale,snd_gallop, 0.15, 0.173, 0),
  ("footman_s",0,"footman_s", avatar_scale,snd_gallop, 0.15, 0.173, 0),
  ("footman_m",0,"footman_m", avatar_scale,snd_gallop, 0.15, 0.173, 0),
  ("footman_shanyue",0,"footman_shanyue", avatar_scale,snd_gallop, 0.15, 0.173, 0),
  ("footman_huangjin",0,"footman_huangjin", avatar_scale,snd_gallop, 0.15, 0.173, 0),
  ("footman_nanman",0,"footman_nanman", avatar_scale,snd_gallop, 0.15, 0.173, 0),

  ("camp",mcn_no_shadow,"camp_tent", 0.13, snd_footstep_grass),
  ("ship",mcn_no_shadow,"boat_sail_on", 0.23, snd_footstep_grass, 0.0, 0.05, 0),
  ("ship_on_land",mcn_no_shadow,"boat_sail_off", 0.23, snd_footstep_grass),

  ("castle_a",mcn_no_shadow,"map_castle_a", 0.35,snd_footstep_grass),
  ("castle_b",mcn_no_shadow,"map_castle_b", 0.35,snd_footstep_grass),
  ("town_snow",mcn_no_shadow,"map_town_snow_a", 0.35,snd_footstep_grass),

  ("village_snow_a",mcn_no_shadow,"map_village_snow_a", 0.45, snd_footstep_grass),
  ("village_snow_burnt_a",mcn_no_shadow,"map_village_snow_burnt_a", 0.45, snd_footstep_grass),
  ("village_snow_deserted_a",mcn_no_shadow,"map_village_snow_deserted_a", 0.45, snd_footstep_grass),

  ("castle_snow_a",mcn_no_shadow,"map_castle_snow_a", 0.35,snd_footstep_grass),
  ("castle_snow_b",mcn_no_shadow,"map_castle_snow_b", 0.35,snd_footstep_grass),
  ("mule",0,"icon_mule", 0.2,snd_footstep_grass, 0.15, 0.173, 0),
  ("training_ground",mcn_no_shadow,"training", 0.35,snd_footstep_grass),



  # Banners
  ("banner_01",0,"map_flag_01", banner_scale,0),
  ("banner_02",0,"map_flag_02", banner_scale,0),
  ("banner_03",0,"map_flag_03", banner_scale,0),
  ("banner_04",0,"map_flag_04", banner_scale,0),
  ("banner_05",0,"map_flag_05", banner_scale,0),
  ("banner_06",0,"map_flag_06", banner_scale,0),
  ("banner_07",0,"map_flag_07", banner_scale,0),
  ("banner_08",0,"map_flag_08", banner_scale,0),
  ("banner_09",0,"map_flag_09", banner_scale,0),
  ("banner_10",0,"map_flag_10", banner_scale,0),
  ("banner_11",0,"map_flag_11", banner_scale,0),
  ("banner_12",0,"map_flag_12", banner_scale,0),
  ("banner_13",0,"map_flag_13", banner_scale,0),
  ("banner_14",0,"map_flag_14", banner_scale,0),
  ("banner_15",0,"map_flag_63", banner_scale,0),
  ("banner_16",0,"map_flag_16", banner_scale,0),
  ("banner_17",0,"map_flag_17", banner_scale,0),
  ("banner_18",0,"map_flag_18", banner_scale,0),
  ("banner_19",0,"map_flag_19", banner_scale,0),
  ("banner_20",0,"map_flag_20", banner_scale,0),
  ("banner_21",0,"map_flag_21", banner_scale,0),
  ("banner_22",0,"map_flag_22", banner_scale,0),
  ("banner_23",0,"map_flag_23", banner_scale,0),
  ("banner_24",0,"map_flag_24", banner_scale,0),
  ("banner_25",0,"map_flag_25", banner_scale,0),
  ("banner_26",0,"map_flag_26", banner_scale,0),
  ("banner_27",0,"map_flag_27", banner_scale,0),
  ("banner_28",0,"map_flag_28", banner_scale,0),
  ("banner_29",0,"map_flag_29", banner_scale,0),
  ("banner_30",0,"map_flag_30", banner_scale,0),
  ("banner_31",0,"map_flag_31", banner_scale,0),
  ("banner_32",0,"map_flag_32", banner_scale,0),
  ("banner_33",0,"map_flag_33", banner_scale,0),
  ("banner_34",0,"map_flag_34", banner_scale,0),
  ("banner_35",0,"map_flag_35", banner_scale,0),
  ("banner_36",0,"map_flag_36", banner_scale,0),
  ("banner_37",0,"map_flag_37", banner_scale,0),
  ("banner_38",0,"map_flag_38", banner_scale,0),
  ("banner_39",0,"map_flag_39", banner_scale,0),
  ("banner_40",0,"map_flag_40", banner_scale,0),
  ("banner_41",0,"map_flag_41", banner_scale,0),
  ("banner_42",0,"map_flag_42", banner_scale,0),
  ("banner_43",0,"map_flag_43", banner_scale,0),
  ("banner_44",0,"map_flag_44", banner_scale,0),
  ("banner_45",0,"map_flag_45", banner_scale,0),
  ("banner_46",0,"map_flag_46", banner_scale,0),
  ("banner_47",0,"map_flag_47", banner_scale,0),
  ("banner_48",0,"map_flag_48", banner_scale,0),
  ("banner_49",0,"map_flag_49", banner_scale,0),
  ("banner_50",0,"map_flag_50", banner_scale,0),
  ("banner_51",0,"map_flag_51", banner_scale,0),
  ("banner_52",0,"map_flag_52", banner_scale,0),
  ("banner_53",0,"map_flag_53", banner_scale,0),
  ("banner_54",0,"map_flag_54", banner_scale,0),
  ("banner_55",0,"map_flag_55", banner_scale,0),
  ("banner_56",0,"map_flag_56", banner_scale,0),
  ("banner_57",0,"map_flag_57", banner_scale,0),
  ("banner_58",0,"map_flag_58", banner_scale,0),
  ("banner_59",0,"map_flag_59", banner_scale,0),
  ("banner_60",0,"map_flag_60", banner_scale,0),
  ("banner_61",0,"map_flag_61", banner_scale,0),
  ("banner_62",0,"map_flag_62", banner_scale,0),
  ("banner_63",0,"map_flag_15", banner_scale,0),
  ("banner_64",0,"map_flag_57", banner_scale,0),
  ("banner_65",0,"map_flag_58", banner_scale,0),
  ("banner_66",0,"map_flag_59", banner_scale,0),
  ("banner_67",0,"map_flag_60", banner_scale,0),
  ("banner_68",0,"map_flag_61", banner_scale,0),
  ("banner_69",0,"map_flag_62", banner_scale,0),
  ("banner_70",0,"map_flag_15", banner_scale,0),

  
   ("sango",mcn_no_shadow,"player", 0.1,snd_footstep_grass),
  ("chengchi",mcn_no_shadow,"map_sdzicon_a", 0.5,snd_footstep_grass),
  ("gangkou",mcn_no_shadow,"map_sgkicon_a", 0.5,snd_footstep_grass),
  ("guanka_6",mcn_no_shadow,"map_sdgicon_a", 0.5,snd_footstep_grass),
  ("guanka_3",mcn_no_shadow,"map_sdgicon_b", 0.5,snd_footstep_grass),
  ("guanka_2",mcn_no_shadow,"map_sdgicon_c", 0.5,snd_footstep_grass),
  ("guanka_1",mcn_no_shadow,"map_sdgicon_d", 0.5,snd_footstep_grass), 
  ("guanka_4",mcn_no_shadow,"map_szgicon_a", 0.5,snd_footstep_grass),
  ("guanka_7",mcn_no_shadow,"map_szgicon_b", 0.5,snd_footstep_grass),
  ("guanka_8",mcn_no_shadow,"map_szgicon_c", 0.5,snd_footstep_grass),
  ("guanka_9",mcn_no_shadow,"map_szgicon_d", 0.5,snd_footstep_grass),
  ("jiaheliu_4_9",mcn_no_shadow,"river7", 0.75,snd_footstep_grass),
  ("jiaheliu_6_7",mcn_no_shadow,"river1", 0.75,snd_footstep_grass),
  ("jiaheliu_1_8",mcn_no_shadow,"river2", 0.75,snd_footstep_grass),
  ("jiaheliu_1_9",mcn_no_shadow,"river3", 1.5,snd_footstep_grass),
  ("jiaheliu_3_7",mcn_no_shadow,"river4", 0.75,snd_footstep_grass),
  ("jiaheliu_9_1",mcn_no_shadow,"river5", 0.75,snd_footstep_grass), 
  ("jiaheliu_2_7",mcn_no_shadow,"river6", 0.75,snd_footstep_grass),
  ("jiaheliu_2_8",mcn_no_shadow,"river1", 1.0,snd_footstep_grass),
  ("jiaheliu_4_6",mcn_no_shadow,"river2", 1.0,snd_footstep_grass),
  ("jiaheliu_4_6_a",mcn_no_shadow,"river2", 0.74,snd_footstep_grass),
  ("jiaheliu_1_8_a",mcn_no_shadow,"river2", 1.8,snd_footstep_grass),
  ("jiaheliu_3_7_a",mcn_no_shadow,"river4", 0.90,snd_footstep_grass),
##SG
  ("xian_jing",mcn_no_shadow,"camp_tent", 0.1, snd_footstep_grass),

]
