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