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

  1. # citystatus.ldl
  2.  
  3.  
  4.  
  5. #################
  6.  
  7. # templates
  8.  
  9. #################
  10.  
  11. template CITY_BUTTON:T_FONT5_CITYBUTTON {
  12.  
  13.     int    ypix    312
  14.  
  15.     int    widthpix    89
  16.  
  17.     int    heightpix    21
  18.  
  19.     int    bevelwidth    0
  20.  
  21.     string    image0    "upba5702.tga"
  22.     string    image1    "upba5703.tga"
  23.     string    disabledimage0    "upba5707.tga"
  24.  
  25.     string    imagebltflag    "chromakey"
  26.  
  27. }
  28.  
  29.  
  30.  
  31. template CITY_RANGER:T_FONT5_8 {
  32.  
  33.     bool alwaysranger    true
  34.  
  35.     rangery {
  36.  
  37.         int    widthpix    15
  38.  
  39.         int    heigthpix    15
  40.  
  41.         string    type    "scroller"
  42.  
  43.         string    orientation    "vertical"
  44.  
  45.         string    pattern    "upba5605.tga"
  46.  
  47.         incy {
  48.  
  49.             int    widthpix    15
  50.  
  51.             int    heightpix    15
  52.  
  53.             string    pattern    "upba5605.tga"
  54.  
  55.         }
  56.  
  57.         decy {
  58.  
  59.             int    widthpix    15
  60.  
  61.             int    heightpix    15
  62.  
  63.             string    pattern    "upba5605.tga"
  64.  
  65.         }
  66.  
  67. #            thumb {
  68.  
  69. #                string    image0    "upba5613.tga"
  70.  
  71. #                string    imagebltflag    "chromakey"
  72.  
  73. #            }
  74.  
  75.     }
  76.  
  77. }
  78.  
  79.  
  80.  
  81. template CITY_HEADER:T_FONT5_8 {
  82.  
  83.     string pattern    "upba5605.tga"
  84.  
  85.     int    heightpix    24
  86.  
  87. }
  88.  
  89.  
  90.  
  91. template CITY_ITEM:T_FONT6_CITYLIST {
  92.  
  93.     int    xpix    0
  94.  
  95.     int    ypix    0
  96.  
  97.     int    heightpix    20
  98.  
  99. }
  100.  
  101.  
  102.  
  103. template CITY_HEADER_IMAGE {
  104.  
  105.     string    xanchor    "center"
  106.  
  107.     string    yanchor    "center"
  108.  
  109.     string    imagebltflag    "chromakey"
  110.  
  111. }
  112.  
  113.  
  114.  
  115. #################
  116.  
  117. # CityStatusWin
  118.  
  119. #################
  120.  
  121. CityStatusWin {
  122.  
  123.     string    pattern    "upba5000.tga"
  124.  
  125.     int     xpix        2
  126.     int     ypix        10
  127.  
  128. #    string    xanchor    "center"
  129. #    string    yanchor    "center"
  130.  
  131.     int    widthpix    637
  132.  
  133.     int    heightpix    365
  134.  
  135.     OkButton:CTP_CLOSE_BUTTON {
  136.         int    xpix    566
  137.         int    ypix    327
  138.     }
  139.  
  140.     Title:T_FONT_POPUP_TITLE {
  141.  
  142.         int    xpix    236
  143.  
  144.         int    ypix    4
  145.  
  146.         int    widthpix    158
  147.  
  148.         int    heightpix    13    
  149.  
  150.         string    text    "str_ldl_CITY_STATUS"
  151.     }
  152.  
  153.  
  154.  
  155.     CityList:CITY_RANGER {
  156.  
  157.         int    xpix    17
  158.  
  159.         int    ypix    80
  160.  
  161.         int    widthpix    395
  162.  
  163.         int    heightpix    186
  164.  
  165.         int columns        9
  166.  
  167.         int    beveltype    2
  168.  
  169.         int    bevelwidth    2
  170.  
  171.         string    pattern    "upba5000.tga"
  172.  
  173.         int    srcxpix    15
  174.  
  175.         int    srcypix    54
  176.  
  177.         int    srcwidthpix        414
  178.  
  179.         int    srcheightpix    214
  180.  
  181.         header {
  182.  
  183.             switch0:CITY_HEADER {
  184.  
  185.                 int    widthpix    91
  186.  
  187.                 string text "str_ldl_CAPS_NAME"
  188.             }
  189.  
  190.             switch1:CITY_HEADER {
  191.  
  192.                 int    widthpix    26
  193.  
  194.                 string text "str_ldl_CAPS_SIZE"
  195.             }
  196.  
  197.             switch2:CITY_HEADER {
  198.  
  199.                 int    widthpix    30
  200.  
  201.                 headerimage:CITY_HEADER_IMAGE {
  202.  
  203.                     int    widthpix    24
  204.  
  205.                     int    heightpix    24
  206.  
  207.                     string    image0    "upc021.tga"
  208.                     string tipwindow "str_ldl_Food"
  209.                 }
  210.  
  211.             }
  212.  
  213.             switch3:CITY_HEADER {
  214.  
  215.                 int    widthpix    29
  216.  
  217.                 headerimage:CITY_HEADER_IMAGE {
  218.  
  219.                     int    widthpix    24
  220.  
  221.                     int    heightpix    24
  222.  
  223.                     string    image0    "upc020.tga"
  224.                     string tipwindow "str_ldl_Prod"
  225.                 }
  226.  
  227.             }
  228.  
  229.             switch4:CITY_HEADER {
  230.  
  231.                 int    widthpix    28
  232.  
  233.                 headerimage:CITY_HEADER_IMAGE {
  234.  
  235.                     int    widthpix    24
  236.  
  237.                     int    heightpix    24
  238.  
  239.                     string    image0    "upc022.tga"
  240.                     string tipwindow "str_ldl_Goldy"
  241.                 }
  242.  
  243.             }
  244.  
  245.             switch5:CITY_HEADER {
  246.  
  247.                 int    widthpix    30
  248.  
  249.                 headerimage:CITY_HEADER_IMAGE {
  250.  
  251.                     int    widthpix    26
  252.  
  253.                     int    heightpix    21
  254.  
  255.                     string    image0    "upba5410.tga"
  256.                     string tipwindow "str_ldl_Scien"
  257.                 }
  258.  
  259.             }
  260.  
  261.             switch6:CITY_HEADER {
  262.  
  263.                 int    widthpix    28
  264.  
  265.                 headerimage:CITY_HEADER_IMAGE {
  266.  
  267.                     int    widthpix    24
  268.  
  269.                     int    heightpix    21
  270.  
  271.                     string    image0    "upd002.tga"
  272.                     string tipwindow "str_ldl_Happ"
  273.                 }
  274.  
  275.             }
  276.  
  277.             switch7:CITY_HEADER {
  278.  
  279.                 int    widthpix    101
  280.  
  281.                 string text "str_ldl_PRODUCING"
  282.             }
  283.  
  284.             switch8:CITY_HEADER {
  285.  
  286.                 int    widthpix    32
  287.  
  288.                 headerimage:CITY_HEADER_IMAGE {
  289.  
  290.                     int    widthpix    26
  291.  
  292.                     int    heightpix    21
  293.  
  294.                     string    image0    "upba5411.tga"
  295.                     string tipwindow "str_ldl_Tprod"
  296.                 }
  297.  
  298.             }
  299.  
  300.         }
  301.  
  302.     }
  303.  
  304.     BuildOptionsList:CITY_RANGER {
  305.  
  306.         int    xpix    429
  307.  
  308.         int    ypix    80
  309.  
  310.         int    widthpix    175
  311.  
  312.         int    heightpix    186
  313.  
  314.         int columns        2
  315.  
  316.         int    beveltype    2
  317.  
  318.         int    bevelwidth    2
  319.  
  320.         string    pattern    "upba5000.tga"
  321.  
  322.         int    srcxpix    427
  323.  
  324.         int    srcypix    54
  325.  
  326.         int    srcwidthpix        179
  327.  
  328.         int    srcheightpix    214
  329.  
  330.         header {
  331.  
  332.             switch0:CITY_HEADER {
  333.  
  334.                 int    widthpix    136
  335.  
  336.                 string text "str_ldl_BUILD_OPTIONS"
  337.             }
  338.  
  339.             switch1:CITY_HEADER {
  340.  
  341.                 int    widthpix    39
  342.  
  343. #                string text "str_ldl_G"
  344.                 string tipwindow "str_ldl_Tbuild"
  345.  
  346.                 headerimage:CITY_HEADER_IMAGE {
  347.  
  348.                     int    widthpix    24
  349.  
  350.                     int    heightpix    24
  351.  
  352.                     string    image0    "upc020.tga"
  353.  
  354.                 }
  355.  
  356.             }
  357.  
  358.         }
  359.  
  360.     }
  361.  
  362.  
  363.  
  364.     RushBuyButton:CITY_BUTTON {
  365.  
  366.         int    xpix    393
  367.  
  368.         string    text    "str_ldl_RUSH_BUY"
  369.     }
  370.  
  371.     BuildButton:CITY_BUTTON {
  372.  
  373.         int    xpix    488
  374.  
  375.         string    text    "str_ldl_CAPS_BUILD"
  376.     }
  377.  
  378.     MakeQueueButton:CITY_BUTTON {
  379.  
  380.         int    xpix    167
  381.  
  382.         string    text    "str_ldl_CAPS_MAKE_QUEUE"
  383.     }
  384.  
  385.     LoadQueueButton:CITY_BUTTON {
  386.  
  387.         int    xpix    262
  388.  
  389.         string    text    "str_ldl_CAPS_LOAD_QUEUE"
  390.     }
  391.  
  392.     DisbandButton:CITY_BUTTON {
  393.  
  394.         int    xpix    72
  395.  
  396.         string    text    "str_ldl_DISBAND"
  397.     }
  398.  
  399.     CityName:T_FONT5_8 {
  400.         int    xpix    31
  401.         int    ypix    25
  402.         int    widthpix    118
  403.         int    heightpix    16
  404.         string    pattern    "upba3010.tga"
  405.         int maxfieldlen    20
  406.     }
  407.  
  408.     TotalCitiesLabel:T_FONT5_8 {
  409.  
  410.         int    xpix    445
  411.  
  412.         int    ypix    20
  413.  
  414.         int    widthpix    110
  415.  
  416.         int    heightpix    20
  417.  
  418.         int    bevelwidth    0
  419.  
  420.         string    text    "str_ldl_TOTAL_NO_OF_CITIES_COLON"
  421.     }
  422.  
  423.     TotalCitiesBox:T_FONT5_8 {
  424.  
  425.         int    xpix    560
  426.  
  427.         int    ypix    20
  428.  
  429.         int    widthpix    30
  430.  
  431.         int    heightpix    20
  432.  
  433.         string    pattern    "upba5000.tga"
  434.  
  435.         int    srcxpix    560
  436.  
  437.         int    srcypix    20
  438.  
  439.         int    srcwidthpix    30
  440.  
  441.         int    srcheightpix    20
  442.  
  443.         int    beveltype    2
  444.  
  445.         int    bevelwidth    1
  446.  
  447.     }
  448.  
  449.     RushBuyBox:T_FONT5_8 {
  450.  
  451.         int    xpix    418
  452.  
  453.         int    ypix    293
  454.  
  455.         int    widthpix    41
  456.  
  457.         int    heightpix    13
  458.  
  459.         int    beveltype    2
  460.  
  461.         int    bevelwidth    1
  462.  
  463.         string    pattern    "upba5000.tga"
  464.  
  465.         int    srcxpix    192
  466.  
  467.         int    srcypix    293
  468.  
  469.         int    srcwidthpix        41
  470.  
  471.         int    srcheightpix    13
  472.  
  473.     }
  474. }
  475.  
  476.  
  477.  
  478. CityStatusListItem {
  479.  
  480.     Name:CITY_ITEM{
  481. #        string    just    "left"
  482. #        bool    vertcenter    true
  483.  
  484.         int        widthpix        91
  485.  
  486.     }
  487.  
  488.     Size:CITY_ITEM{
  489.  
  490.         int        widthpix        26
  491.  
  492.     }
  493.  
  494.     Food:CITY_ITEM{
  495.  
  496.         int        widthpix        30
  497.  
  498.     }
  499.  
  500.     Production:CITY_ITEM{
  501.  
  502.         int        widthpix        29
  503.  
  504.     }
  505.  
  506.     Gold:CITY_ITEM{
  507.  
  508.         int        widthpix        28
  509.  
  510.     }
  511.  
  512.     Knowledge:CITY_ITEM{
  513.  
  514.         int        widthpix        30
  515.  
  516.     }
  517.  
  518.     Happiness:CITY_ITEM{
  519.  
  520.         int        widthpix        28
  521.  
  522.     }
  523.  
  524.     Producing:CITY_ITEM{
  525.  
  526.         int        widthpix        101
  527.  
  528.     }
  529.  
  530.     Clock:CITY_ITEM{
  531.  
  532.         int        widthpix        32
  533.  
  534.     }
  535.  
  536. }
  537.  
  538.  
  539.  
  540. InventoryListItem {
  541.  
  542.     ObjectName:T_FONT6_CITYLIST{
  543.  
  544.         int        xpix            0
  545.  
  546.         int        ypix            0
  547.  
  548.         int        widthpix        136
  549.  
  550.         int        heightpix        20
  551.  
  552.     }
  553.  
  554.     Producing:T_FONT6_CITYLIST {
  555.         int    xpix    0
  556.         int    ypix    0
  557.         int    widthpix    39
  558.         int    heightpix    20
  559.     }
  560.  
  561. }
  562.  
  563.  
  564.  
  565. CssQueueScreen {
  566.  
  567.     string    pattern    "upba3010.tga"
  568.  
  569. #    int     xpix        316
  570.  
  571. #    int     ypix        185
  572.  
  573.     string    xanchor        "center"
  574.  
  575.     string    yanchor        "center"
  576.  
  577.     int    widthpix    400
  578.  
  579.     int    heightpix    160
  580.  
  581.     Name:T_FONT1_18 {
  582.  
  583.         string xanchor "center"
  584.  
  585.         string yanchor "top"
  586.  
  587.         int widthpct 50
  588.  
  589.         int heightpix 20
  590.  
  591.         string    text    "str_ldl_Load_Queue"
  592.         string    pattern    "upba3010.tga"
  593.  
  594.     }
  595.  
  596.     CssQueueList {
  597.  
  598. #        bool    alwaysranger    true
  599.  
  600.         string xanchor "center"
  601.  
  602.         int    ypix    70
  603.  
  604.         int    widthpix    200
  605.  
  606.         int    heightpix    80
  607.  
  608.         int columns        1
  609.  
  610.         int    bevelwidth    2
  611.  
  612.         int    beveltype    1
  613.  
  614.         string    pattern    "upba3010.tga"
  615.  
  616.         header {
  617.  
  618.             switch0:T_FONT1_14 {
  619.  
  620.                 int    widthpix    200
  621.  
  622.                 int    heightpix    20
  623.  
  624.                 string text "str_ldl_CAPS_QUEUE"
  625.                 string    pattern    "upba3010.tga"
  626.  
  627.                 int bevelwidth     1
  628.  
  629.             }
  630.  
  631.         }
  632.  
  633.     }
  634.  
  635.     BackButton:T_FONT1_14 {
  636.  
  637.         int    xpix    325
  638.  
  639.         int    ypix    135
  640.  
  641.         int    widthpix    40
  642.  
  643.         int    heightpix    20
  644.  
  645. #        string    imagebltflag    "chromakey"
  646.  
  647. #        string    image0        "upba1807.tga"
  648.  
  649. #        int    bevelwidth    0
  650.  
  651.         string    text    "str_ldl_CAPS_OK"
  652.         string    pattern    "upba3010.tga"
  653.  
  654.     }
  655.  
  656. }
  657.  
  658.  
  659.  
  660. CssQueueListItem {
  661.  
  662. #    string    pattern            "upba3010.tga"
  663.  
  664.     ObjectName:T_FONT1_14{
  665.  
  666.         int        xpix            0
  667.  
  668.         int        ypix            0
  669.  
  670.         int        widthpix        125
  671.  
  672.         int        heightpix        20
  673.  
  674. #        string    pattern            "upba3010.tga"
  675.  
  676.     }
  677.  
  678.     Name:T_FONT1_14{
  679.  
  680.         int        xpix            0
  681.  
  682.         int        ypix            0
  683.  
  684.         int        widthpix        200
  685.  
  686.         int        heightpix        20
  687.  
  688.     }
  689.  
  690. }
  691.  
  692.  
  693.  
  694. ########################
  695.  
  696. # strings
  697.  
  698. ########################
  699.  
  700.  
  701.  
  702. CityStrings {
  703.  
  704.     int    numstrings    6
  705.  
  706.     string    string0    "str_tbl_ldl_NP"
  707.     string    string1    "str_tbl_ldl_RUSH_BUY"
  708.     string    string2    "str_tbl_ldl_INSTANT"
  709.     string    string3    "str_ldl_CLOSE"
  710.     string    string4    "str_ldl_Disband_selected_city"
  711.     string    string5    "str_ldl_Cant_disband_city"
  712. }
  713.  
  714.  
  715.  
  716. $
  717.