home *** CD-ROM | disk | FTP | other *** search
/ CD Action 40 / cdactionmagazinecoverdisc401999.iso / civ / setup / data / civdemo.ctp / ctp_data / english / uidata / layouts / civ3.ldl < prev    next >
Text File  |  1999-06-23  |  14KB  |  746 lines

  1. #######################################
  2. # File: C:\civ3_project\civ3_data\english\uidata\layouts\civ3.ldl
  3. # Last Access: Mon Jun 01 13:01:30 1998
  4. #######################################
  5. ##-----------------------------------##
  6. ##              Imports              ##
  7. ##-----------------------------------##
  8. import "font1.ldl"
  9. import "font2.ldl"
  10. import "font3.ldl"
  11. import "font4.ldl"
  12. import "font5.ldl"
  13. import "font6.ldl"
  14.  
  15. import "ctp_template.ldl"
  16.  
  17. import "buttonbank.ldl"
  18. import "controlpanel.ldl"
  19. import "tradescreen.ldl"
  20. import "ancient.ldl"
  21. import "cityview.ldl"
  22. import "cvscreen.ldl"
  23. import "citystatus.ldl"
  24. import "queuewin.ldl"
  25. import "unitstatus.ldl"
  26. import "greatlibrary.ldl"
  27. import "messagebox.ldl"
  28. import "helptile.ldl"
  29. import "diplomacy.ldl"
  30. import "fliwindow.ldl"
  31. import "science.ldl"
  32. import "statswindow.ldl"
  33. import "spnewgame.ldl"
  34. import "scenario.ldl"
  35. import "custommap.ldl"
  36. import "options.ldl"
  37. import "graphics.ldl"
  38. import "sound.ldl"
  39. import "gameplayoptions.ldl"
  40. import "loadsave.ldl"
  41.  
  42.  
  43. #########################
  44. # cheat tool ldl's
  45. #########################
  46. import "toolbar.ldl"
  47. import "unitpad.ldl"
  48. import "advancespad.ldl"
  49.  
  50. import "citypad.ldl"
  51. import "tilepad.ldl"
  52. import "pollutionpad.ldl"
  53. #########################
  54.  
  55.  
  56. import "civstatus.ldl"
  57. import "ce_screen.ldl"
  58.  
  59.  
  60. import "km_screen.ldl"
  61. import "creditsscreen.ldl"
  62.  
  63.  
  64. import "happystatus.ldl"
  65. import "infoscreen.ldl"
  66. import "helppopup.ldl"
  67. import "spnewgamepopups.ldl"
  68. import "battleview.ldl"
  69. import "c3utilitydialog.ldl"
  70. import "wondermovie.ldl"
  71. import "endgame.ldl"
  72. import "victorymovie.ldl"
  73. import "victoryscreen.ldl"
  74. import "throneroom.ldl"
  75. import "musicscreen.ldl"
  76.  
  77. import "fancy.ldl"
  78.  
  79.  
  80. import "ns_template.ldl"
  81. import "ns_selcnct.ldl"
  82. import "ns_selserv.ldl"
  83. import "ns_selplyr.ldl"
  84. import "ns_editplyr.ldl"
  85. import "ns_lobby.ldl"
  86. import "ns_chglobby.ldl"
  87. import "ns_joingame.ldl"
  88. import "ns_launch.ldl"
  89. import "ns_strings.ldl"
  90. import "attract.ldl"
  91.  
  92. import "tutorialwin.ldl"
  93.  
  94. import "intromovie.ldl"
  95.  
  96. import "introouttro.ldl"
  97.  
  98. ##-----------------------------------##
  99. ##             Templates             ##
  100. ##-----------------------------------##
  101. template default {
  102.     string    xanchor    "left"
  103.     string    yanchor    "top"
  104.     int    xpix    0
  105.     int    ypix    0
  106.     int    widthpix    100
  107.     int    heightpix    100
  108. }
  109.  
  110.  
  111. ##-----------------------------------##
  112. ##              Data                 ##
  113. ##-----------------------------------##
  114. OldCityViewWindow {
  115.     string    xanchor    "left"
  116.     string    yanchor    "top"
  117.     int    xpix    0
  118.     int    ypix    0
  119.     int    widthpix    1024
  120.     int    heightpix    768
  121.     string    pattern    "upba3010.tga"
  122.     StaticImage {
  123.         string    image0    "citytemp.tga"
  124.         string    xanchor    "left"
  125.         string    yanchor    "top"
  126.         int    xpix    0
  127.         int    ypix    0
  128.         int    widthpix    1024
  129.         int    heightpix    768
  130.     }
  131. }
  132.  
  133.  
  134.  
  135.  
  136. mywindow {
  137.     string    xanchor    "center"
  138.     string    yanchor    "center"
  139.     string    pattern    "patternl.tga"
  140.     int    widthpct    75
  141.     int    heightpct    75
  142.     mybutton {
  143.         string    xanchor    "right"
  144.         string    yanchor    "bottom"
  145.         int    xpct    10
  146.         int    ypct    10
  147.         int    widthpct    20
  148.         int    heightpct    10
  149.         string    pattern    "patternd.tga"
  150.         string    text    "str_ldl_Exit"
  151.     }
  152.     myspinner {
  153.         string    xanchor    "right"
  154.         string    yanchor    "top"
  155.         int    xpct    10
  156.         int    ypct    10
  157.         int    widthpct    10
  158.         int    heightpix    0
  159.         bool    vertical    TRUE
  160.         string    pattern    "patternd.tga"
  161.     }
  162.     mytabgroup {
  163.         string    xanchor    "left"
  164.         string    yanchor    "bottom"
  165.         int    xpix    10
  166.         int    ypix    10
  167.         int    widthpct    50
  168.         int    heightpct    50
  169.         sadtab {
  170.             string    parent    "mywindow"
  171.             int    heightpct    5
  172.             string    pattern    "patternd.tga"
  173.             string    text    "str_ldl_Sad"
  174.             pane {
  175.                 string    parent    "mywindow"
  176.                 int    widthpct    50
  177.                 int    heightpct    45
  178.                 checkbox {
  179.                     int    xpix    50
  180.                     int    ypix    50
  181.                     int    widthpix    150
  182.                     int    heightpix    30
  183.                     string    pattern    "upba3010.t"
  184.                     string    text    "str_ldl_Add_Tab"
  185.                 }
  186.                 dragcheckbox {
  187.                     int    xpix    50
  188.                     int    ypix    90
  189.                     int    widthpix    150
  190.                     int    heightpix    30
  191.                     string    pattern    "upba3010.tga"
  192.                     string    text    "str_ldl_Make_Draggable"
  193.                 }
  194.                 transparentcheckbox {
  195.                     int    xpix    50
  196.                     int    ypix    130
  197.                     int    widthpix    150
  198.                     int    heightpix    30
  199.                     string    pattern    "upba3010.tga"
  200.                     string    text    "str_ldl_Make_Transparent"
  201.                 }
  202.             }
  203.         }
  204.         indifferenttab {
  205.             string    parent    "mywindow"
  206.             int    heightpct    5
  207.             string    pattern    "upba3010.tga"
  208.             string    text    "str_ldl_Indifferent"
  209.             pane {
  210.                 string    parent    "mywindow"
  211.                 int    widthpct    50
  212.                 int    heightpct    45
  213.                 modalradiogroup {
  214.                     string    xanchor    "center"
  215.                     string    yanchor    "center"
  216.                     int    widthpct    90
  217.                     int    heightpct    90
  218.                     string    pattern    "upba3010.tga"
  219.                     string    text    "str_ldl_Radio_Group"
  220.                     stronglymodalradio {
  221.                         int    xpix    50
  222.                         int    ypix    30
  223.                         int    widthpix    150
  224.                         int    heightpix    30
  225.                         string    pattern    "upba3010.tga"
  226.                         string    text    "str_ldl_Strongly_Modal"
  227.                     }
  228.                     weaklymodalradio {
  229.                         int    xpix    50
  230.                         int    ypix    70
  231.                         int    widthpix    150
  232.                         int    heightpix    30
  233.                         string    pattern    "upba3010.tga"
  234.                         string    text    "str_ldl_Weakly_Modal"
  235.                     }
  236.                 }
  237.             }
  238.         }
  239.     }
  240. }
  241.  
  242.  
  243. WorkWindow {
  244.     int    xpix    70
  245.     int    ypix    140
  246.     int    widthpix    411
  247.     int    heightpix    252
  248.     string    pattern    "upba6141.tga"
  249.     ExitButton {
  250.         int    xpix    389
  251.         int    ypix    -1
  252.         int    widthpix    22
  253.         int    heightpix    16
  254.         string    image0    "upba6145.tga"
  255.         string    image1    "upba6146.tga"
  256.         int bevelwidth 0
  257.     }
  258.     WorkMap {
  259.         int    xpix    14
  260.         int    ypix    15
  261.         int    widthpix    384
  262.         int    heightpix    216
  263.     }
  264. }
  265.  
  266.  
  267. RadarWindow {
  268.     int    xpix    0
  269.     int    ypix    584
  270.     int    widthpix    235
  271.     int    heightpix    184
  272.     RadarMap {
  273. #        string    pattern    "upba0117.tga"
  274.         string    pattern    "upba6108.tga"
  275.         int    xpix    31
  276.         int    ypix    18
  277.         int    widthpix    204
  278.         int    heightpix    152
  279.     }
  280.     LeftBorder {
  281.         string    image0    "upba0202.tga"
  282.         int    xpix    0
  283.         int    ypix    19
  284.         int    widthpix    31
  285.         int    heightpix    165
  286.     }
  287.     TopBorder {
  288.         string    image0    "upba0206.tga"
  289.         int    xpix    40
  290.         int    ypix    0
  291.         int    widthpix    185
  292.         int    heightpix    18
  293.     }
  294.     BottomBorder {
  295.         string    image0    "upba0203.tga"
  296.         int    xpix    30
  297.         int    ypix    168
  298.         int    widthpix    204
  299.         int    heightpix    16
  300.     }
  301.  
  302.  
  303. }
  304.  
  305.  
  306. TurnWindow {
  307.     int    xpix    973
  308.     int    ypix    587
  309.     int    widthpix    51
  310.     int    heightpix    181
  311.     string    pattern    "upba3010.tga"
  312.     UnitButton {
  313.         int    xpix    1
  314.         int    ypix    14
  315.         int    widthpix    48
  316.         int    heightpix    41
  317.         string    image0    "upba0504.tga"
  318.         string    image1    "upba0511.tga"
  319.         string tipwindow "str_ldl_Nunit"
  320.         int    bevelwidth    0
  321.     }
  322.     CityButton {
  323.         int    xpix    1
  324.         int    ypix    69
  325.         int    widthpix    49
  326.         int    heightpix    41
  327.         string tipwindow "str_ldl_Ncity"
  328.         string    image0    "upba0506.tga"
  329.         string    image1    "upba0513.tga"
  330.         int    bevelwidth    0
  331.     }
  332.     UndoButton {
  333.         int    xpix    0
  334.         int    ypix    90
  335.         int    widthpix    49
  336.         int    heightpix    41
  337.         string    image0    "upba0505.tga"
  338.         string    image1    "upba0505.tga"
  339.         string tipwindow "str_ldl_Undo"
  340.         int    bevelwidth    0
  341.     }
  342.     EndButton {
  343.         int    xpix    0
  344.         int    ypix    124
  345.         int    widthpix    50
  346.         int    heightpix    41
  347.         string tipwindow "str_ldl_End"
  348.         string    image0    "upba0507.tga"
  349.         string    image1    "upba0514.tga"
  350.         string    disabledimage0    "upba0531.tga"
  351.         int    bevelwidth    0
  352.     }
  353. }
  354.  
  355.  
  356. ThumbWindow {
  357.     int xpix 0
  358.     int ypix 0
  359.     int widthpix 640
  360.     int heightpix 480
  361.     string pattern "upba3010.tga"
  362.     
  363.     ThumbnailMap {
  364.         int xpix 20
  365.         int ypix 20
  366.         int widthpix 320
  367.         int heightpix 240
  368.         string pattern "upba3010.tga"
  369.         TipWindow {
  370.             int widthpix 150
  371.             int heightpix 20
  372.             tip {
  373.                 string    text    "str_ldl_This_is_a_City"
  374.             }
  375.         }
  376.     }
  377. }
  378.  
  379. # city name window
  380. CityNameWindow {
  381.     int        xpix    525
  382.     int     ypix    592
  383.  
  384.     int    widthpix    234
  385.  
  386.     int    heightpix    27
  387.  
  388.     Name:T_FONT5_9 {
  389.         string    image0    "upba0525.tga"
  390.         int    xpix    0
  391.         int    ypix    0
  392.         int    widthpix    234
  393.         int    heightpix    27
  394.     }
  395.  
  396. }
  397.  
  398.  
  399. # Ranger Buttons
  400. RangerUp {
  401.     string    xanchor    "center"
  402.     string    yanchor    "center"
  403.     int    widthpix    11
  404.     int    heightpix    6
  405.     string    image0    "upba5615.tga"
  406. }
  407.  
  408.  
  409. RangerDown {
  410.     string    xanchor    "center"
  411.     string    yanchor    "center"
  412.     int    widthpix    11
  413.     int    heightpix    6
  414.     string    image0    "upba5614.tga"
  415. }
  416. RangerLeft {
  417.     string    xanchor    "center"
  418.     string    yanchor    "center"
  419.     int    widthpix    6
  420.     int    heightpix    11
  421.     string    image0    "upba6322.tga"
  422. #    string    image1    "upba6323.tga"
  423. }
  424. RangerRight {
  425.     string    xanchor    "center"
  426.     string    yanchor    "center"
  427.     int    widthpix    6
  428.     int    heightpix    11
  429.     string    image0    "upba6324.tga"
  430. #    string    image1    "upba6325.tga"
  431. }
  432.  
  433.  
  434. # Civ Mouse
  435.  
  436.  
  437. CivMouse {
  438.     # for telling the mouse you will eventually have more
  439.     # cursors than what's listed here.
  440.     int numcursors 64
  441.         
  442.     string cursor0    "cursor0.tga"
  443.     int     hotspotx0    0
  444.     int     hotspoty0    0
  445.  
  446.  
  447.     string cursor1    "cursor1.tga"
  448.     int     hotspotx1    0
  449.     int     hotspoty1    0
  450.  
  451.  
  452.     string cursor2    "cursor2.tga"
  453.     int     hotspotx2    0
  454.     int     hotspoty2    0
  455.  
  456.  
  457.     string cursor3    "cursor1.tga"
  458.     int     hotspotx3    0
  459.     int     hotspoty3    0
  460.  
  461.  
  462.     string cursor4    "UC001.tga"
  463.     int    hotspotx4    16
  464.     int hotspoty4    16
  465.  
  466.  
  467.     string cursor5    "UC002.tga"
  468.     int    hotspotx5    16
  469.     int hotspoty5    16
  470.  
  471.  
  472.     string cursor6    "UC003.tga"
  473.     int    hotspotx6    16
  474.     int hotspoty6    16
  475.  
  476.  
  477.     string cursor7    "UC004.tga"
  478.     int    hotspotx7    16
  479.     int hotspoty7    16
  480.  
  481.  
  482.     string cursor8    "UC005.tga"
  483.     int    hotspotx8    16
  484.     int hotspoty8    16
  485.  
  486.  
  487.     string cursor9    "UC006.tga"
  488.     int    hotspotx9    16
  489.     int hotspoty9    16
  490.  
  491.  
  492.     string cursor10    "UC007.tga"
  493.     int    hotspotx10    16
  494.     int hotspoty10    16
  495.  
  496.  
  497.     string cursor11    "UC008.tga"
  498.     int    hotspotx11    16
  499.     int hotspoty11    16
  500.  
  501.  
  502.     string cursor12    "UC009.tga"
  503.     int    hotspotx12    16
  504.     int hotspoty12    16
  505.  
  506.  
  507.     string cursor13    "UC010.tga"
  508.     int    hotspotx13    16
  509.     int hotspoty13    16
  510.  
  511.  
  512.     string cursor14    "UC011.tga"
  513.     int    hotspotx14    16
  514.     int hotspoty14    16
  515.  
  516.  
  517.     string cursor15    "UC012.tga"
  518.     int    hotspotx15    16
  519.     int hotspoty15    16
  520.  
  521.  
  522.     string cursor16    "UC013.tga"
  523.     int    hotspotx16    16
  524.     int hotspoty16    16
  525.  
  526.  
  527.     string cursor17    "UC014.tga"
  528.     int    hotspotx17    16
  529.     int hotspoty17    16
  530.  
  531.  
  532.     string cursor18    "UC015.tga"
  533.     int    hotspotx18    16
  534.     int hotspoty18    16
  535.  
  536.  
  537.     string cursor19    "UC016.tga"
  538.     int    hotspotx19    16
  539.     int hotspoty19    16
  540.  
  541.     string    cursor20    "UC029.tga"
  542.     int        hotspotx20    13
  543.     int        hotspoty20    13
  544.  
  545.     string    cursor21    "UC030.tga"
  546.     int        hotspotx21    13
  547.     int        hotspoty21    13
  548.  
  549.     # number of miliseconds between animation frames.
  550.     int    animdelay    200
  551.  
  552.  
  553.     int    firstindex    0
  554.     int    lastindex    3
  555.     
  556.     # default cursor
  557.     anim0 {
  558.         int    animdelay    200
  559.         
  560.         int    firstindex    0
  561.         int    lastindex    3
  562.     }
  563.  
  564.  
  565.     # Assault    
  566.     anim1 {
  567.         int animdelay     200
  568.         int firstindex    4
  569.         int lastindex    6
  570.     }
  571.     
  572.     # Bombard
  573.     anim2 {
  574.         int animdelay     200
  575.         int firstindex    7
  576.         int lastindex    9
  577.     }
  578.     
  579.     # No Move
  580.     anim3 {
  581.         int animdelay     200
  582.         int firstindex    10
  583.         int lastindex    12
  584.     }
  585.     
  586.     # Move
  587.     anim4 {
  588.         int animdelay     200
  589.         int firstindex    13
  590.         int lastindex    15
  591.     }
  592.     
  593.     # Selection
  594.     anim5 {
  595.         int animdelay     200
  596.         int firstindex    16
  597.         int lastindex    18
  598.     }
  599.  
  600.  
  601.     # Special Action
  602.     anim6 {
  603.         int animdelay     200
  604.         int firstindex    19
  605.         int lastindex    19
  606.     }
  607.     
  608.     # Zoom In
  609.     anim7 {
  610.         int animdelay    200
  611.         int firstindex    20
  612.         int lastindex    20
  613.     }
  614.  
  615.     # Zoom Out
  616.     anim8 {
  617.         int animdelay    200
  618.         int firstindex    21
  619.         int lastindex    21
  620.     }
  621.  
  622. # now you can do the same for anim1, anim2, etc. and use
  623. # aui_Mouse::SetAnim( animNum ) in your code instead of
  624. # aui_Mouse::SetIndexes/AnimDelay().
  625. }
  626.  
  627.  
  628. # Fonts for things other than interface
  629.  
  630. TiledMapFontStringTable {
  631.     int    numstrings    3
  632.     
  633.     string string0         "str_tbl_ldl_arialbd_ttf"
  634.     string string1         "str_tbl_ldl_9"
  635.     string string2        "str_ldl_F"
  636. }
  637.  
  638. TurnStrings {
  639.     int    numstrings        14
  640.     string string0        "str_tbl_ldl_upba0515_tga"
  641.     string string1        "str_tbl_ldl_upba0516_tga"
  642.     string string2        "str_tbl_ldl_upba0504_tga"
  643.     string string3        "str_tbl_ldl_upba0511_tga"
  644.     string string4        "str_tbl_ldl_upba0519_tga"
  645.     string string5        "str_tbl_ldl_upba0520_tga"
  646.     string string6        "str_tbl_ldl_upba0521_tga"
  647.     string string7        "str_tbl_ldl_upba0522_tga"
  648.     string string8        "str_tbl_ldl_upba0506_tga"
  649.     string string9        "str_tbl_ldl_upba0513_tga"
  650.     string string10        "str_tbl_ldl_upba0507_tga"
  651.     string string11        "str_tbl_ldl_upba0514_tga"
  652.     string string12        "str_tbl_ldl_upba0526_tga"
  653.     string string13        "str_tbl_ldl_upba0527_tga"
  654. }
  655.  
  656. WorkMapStrings {
  657.     int    numstrings        3
  658.  
  659.     string    string0        "str_tbl_ldl_FOOD_COLON"
  660.     string    string1        "str_tbl_ldl_PROD_COLON"
  661.     string    string2        "str_tbl_ldl_GOLD_COLON"
  662. }
  663.  
  664. DefaultTipWindow {
  665.     int    xpix        0
  666.     int    ypix        0
  667.     int    widthpix    10
  668.     int    heightpix    10
  669.     tip:T_FONT5_12 {
  670.         int    xpix        0
  671.         int    ypix        0
  672.         int    widthpix    10
  673.         int    heightpix    10
  674.         int fontcolorred            255
  675.         int fontcolorgreen            255
  676.         int fontcolorblue            255
  677.     }
  678. }
  679.  
  680. DefaultHyperTipWindow {
  681.     int    xpix        0
  682.     int    ypix        0
  683.     int    widthpix    100
  684.     int    heightpix    100
  685.     hypertip:T_FONT3_8 {
  686.         int    xpix        0
  687.         int    ypix        0
  688.         int    widthpix    10
  689.         int    heightpix    10
  690.         int fontcolorred            255
  691.         int fontcolorgreen            255
  692.         int fontcolorblue            255
  693.         string    pattern    "upba5605.tga"
  694.     }
  695. }
  696.  
  697. #
  698. # SAM021799 added new chat window
  699. #
  700. ChatWindow {
  701.     int    xpix        0
  702.     int ypix        0
  703.     int widthpix    320
  704.     int heightpix    240
  705.     string    pattern        "upba3705.tga"
  706.  
  707.     ChatTextBox:T_FONT3_9 {
  708.         int xpix        6
  709.         int ypix        7
  710.         int widthpix    290
  711.         int heightpix    200
  712.         string    pattern        "upba3705.tga"
  713.         int bevelwidth 0
  714.         rangery {
  715.             int    widthpix        15
  716.             string    type        "scroller"
  717.             string    orientation    "vertical"
  718. #            string    pattern        "upba5605.tga"
  719.             int        maxxval        0
  720.  
  721.             incy {
  722.                 int    heightpix    15
  723. #                string    pattern    "upba5605.tga"
  724.             }
  725.             decy {
  726.                 int    heightpix    15
  727. #                string    pattern    "upba5605.tga"
  728.             }
  729.             thumb {
  730. #                string    pattern    "upba5605.tga"
  731.             }
  732.         }
  733.     }
  734.     
  735.     ChatTextField {
  736.         int xpix        7
  737.         int ypix        212
  738.         int widthpix    296
  739.         int heightpix    18
  740.         int bevelwidth    2
  741.         int beveltype    1
  742.     }
  743. }
  744.  
  745. $
  746.