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

  1. #########################
  2.  
  3. # Victory Window LDL Script
  4.  
  5. #########################
  6.  
  7. template victoryscreen_pane {
  8.  
  9.     int    xpix    0
  10.  
  11.     int    ypix    0
  12.  
  13.     int    widthpix    540
  14.  
  15.     int    heightpix    290
  16. }
  17.  
  18. template victoryscreen_block {
  19.  
  20.     int    xpix    0
  21.  
  22.     int    ypix    0
  23.  
  24.     int    widthpix    540
  25.  
  26.     int    heightpix    290
  27.  
  28.     string    pattern    "upba6500.tga"
  29.  
  30.     int bevelwidth    2
  31.  
  32.     int beveltype    2
  33.     
  34.     int    srcxpix        53
  35.  
  36.     int    srcypix        157
  37.  
  38.     int    srcwidthpix        544
  39.  
  40.     int    srcheightpix    294
  41.  
  42. }
  43.  
  44. template victoryscreen_tab : T_FONT1_VICTORY1 {
  45.  
  46.     int    widthpix    100
  47.  
  48.     int    heightpix    20
  49.  
  50.     string    parent    "VictoryWindow"
  51.  
  52.     string    pattern    "upba6417.tga"
  53.  
  54.     int bevelwidth    1
  55.  
  56.     int beveltype    2
  57. }
  58.  
  59. template victoryscreen_button : T_FONT1_VICTORY1{
  60.  
  61.     int    widthpix    59
  62.  
  63.     int heightpix    32
  64.  
  65.     int bevelwidth    0
  66.  
  67.     string imagebltflag    "chromakey"
  68. }
  69.  
  70. template victoryscreen_staticbox : T_FONT1_VICTORY3 {
  71.  
  72.     int bevelwidth    2
  73.  
  74.     int beveltype    2
  75.  
  76. }
  77.  
  78. template highscore_buttons : T_FONT5_DELETE {
  79.  
  80.     int widthpix    91
  81.  
  82.     int heightpix    24
  83.  
  84.     int bevelwidth    0
  85.  
  86.     int beveltype    0
  87.  
  88.     string imagebltflag    "chromakey"
  89.  
  90.     string    image0            "upba5702.tga"
  91.  
  92.     string    image1            "upba5703.tga"
  93.  
  94.     string    disabledimage0    "upba5707.tga"
  95. }
  96.  
  97. VictoryWindow_WonderIcon {
  98.  
  99.     int xpix    0
  100.  
  101.     int ypix    0
  102.  
  103.     int    widthpix    72
  104.  
  105.     int heightpix    54
  106.  
  107.     string    image0    "upu087.tga"
  108.  
  109.     string    imageblttype    "stretch"
  110. }
  111.  
  112.  
  113. VictoryWindow {
  114.  
  115.     string    xanchor    "center"
  116.  
  117.     string    yanchor    "center"
  118.  
  119.     int    widthpix    640
  120.  
  121.     int    heightpix    480
  122.  
  123.     string    pattern    "upba6500.tga"
  124.  
  125.  
  126. # Your Civilization Score Is:
  127.     StaticText0:T_FONT1_VICTORY3 {
  128.  
  129.         int    xpix    138
  130.  
  131.         int    ypix    38
  132.  
  133.         int    widthpix    367
  134.  
  135.         int    heightpix    20
  136.  
  137.         #string    text    "str_ldl_YOUR_CIVILIZATION_SCORE_IS_COLON"
  138.     }
  139.  
  140.     StaticText1:T_FONT1_VICTORY2 {
  141.  
  142.         int    xpix    149
  143.  
  144.         int    ypix    62
  145.  
  146.         int    widthpix    347
  147.  
  148.         int    heightpix    14
  149.  
  150.         string    text    "str_ldl_YOUR_NAME_WILL_GO_DOWN_IN_THE_ANNALS_OF_HISTORY_AS"    
  151.     }
  152.  
  153.     StaticText2:T_FONT1_VICTORY2 {
  154.  
  155.         int    xpix    460
  156.  
  157.         int    ypix    104
  158.  
  159.         int    widthpix    80
  160.  
  161.         int    heightpix    24
  162.  
  163.         string    text    "str_ldl_POPULATION_COLON"
  164.     }
  165.  
  166.     StaticText3:victoryscreen_staticbox {
  167.  
  168.         int    xpix    542
  169.  
  170.         int    ypix    104
  171.  
  172.         int    widthpix    80
  173.  
  174.         int    heightpix    24
  175.  
  176.     }
  177.  
  178.     StaticText4:T_FONT1_VICTORY2 {
  179.  
  180.         int    xpix    15
  181.  
  182.         int    ypix    104
  183.  
  184.         int    widthpix    80
  185.  
  186.         int    heightpix    24
  187.  
  188.         string    text    "str_ldl_CITIES_COLON"
  189.     }
  190.  
  191.     StaticText5:victoryscreen_staticbox {
  192.  
  193.         int    xpix    88
  194.  
  195.         int    ypix    104
  196.  
  197.         int    widthpix    80
  198.  
  199.         int    heightpix    24
  200.  
  201.     }
  202.  
  203. # Player known as:
  204.     StaticText6:T_FONT1_VICTORY1 {
  205.  
  206.         int    xpix    180
  207.  
  208.         int    ypix    97
  209.  
  210.         int    widthpix    268
  211.  
  212.         int    heightpix    18
  213.  
  214.     }
  215.  
  216. # window title
  217.     StaticText7:T_FONT4_POPTITLE {
  218.  
  219.         string xanchor    "center"
  220.  
  221.         string yanchor    "top"
  222.  
  223.         int    widthpix    100
  224.  
  225.         int    heightpix    20
  226.  
  227.     }
  228.  
  229.     OkButton : CTP_CLOSE_BUTTON {
  230.  
  231.         int    xpix    569
  232.  
  233.         int    ypix    442
  234.  
  235.         string    text    "str_ldl_Close"
  236.  
  237.     }
  238.  
  239.     TabGroup {
  240.  
  241.         int    xpix    53
  242.  
  243.         int    ypix    137
  244.  
  245.         int    widthpix    540
  246.  
  247.         int    heightpix    290
  248.  
  249.         bool    autoarrange    FALSE
  250.  
  251.         WonderTab : victoryscreen_tab {
  252.  
  253.             int    xpix    0
  254.  
  255.             int    ypix    0
  256.  
  257.             string    text    "str_ldl_Wonders"
  258.  
  259.             pane : victoryscreen_pane {    
  260.  
  261.                 WonderBlock : victoryscreen_block {
  262.  
  263.                 }
  264.  
  265.             }
  266.  
  267.         }
  268.  
  269.         GraphTab : victoryscreen_tab {
  270.  
  271.             int    xpix    105
  272.  
  273.             int    ypix    0
  274.  
  275.             string    text    "str_ldl_Power"
  276.     
  277.             pane : victoryscreen_pane {    
  278.  
  279.                 GraphBlock : victoryscreen_block {
  280.  
  281.                     Graph {
  282.  
  283.                         int    xpix    5
  284.  
  285.                         int    ypix    5
  286.  
  287.                         int    widthpix    400
  288.  
  289.                         int    heightpix    280
  290.  
  291.                         string image0    "upba6506.tga"
  292.  
  293.                     }
  294.  
  295.                     GraphList {
  296.  
  297.                         int    xpix    410
  298.  
  299.                         int    ypix    7
  300.  
  301.                         int    widthpix    100
  302.  
  303.                         int    heightpix    276
  304.  
  305.                         #string pattern    "upba6417.tga"
  306.  
  307.                         int columns        1
  308.  
  309.                         int bevelwidth    2
  310.  
  311.                         int beveltype    2
  312.  
  313.                         #bool alwaysranger    TRUE
  314.  
  315.                         string    pattern    "upba6507.tga"
  316.  
  317. #                        int    srcxpix        461
  318. #                        int    srcypix        160
  319. #                        int    srcwidthpix        124
  320. #                        int    srcheightpix    284
  321.  
  322.                         rangery {
  323.  
  324.                             int    widthpix    15
  325.  
  326.                             int    heigthpix    15
  327.  
  328.                             string    type    "scroller"
  329.  
  330.                             string    orientation    "vertical"
  331.  
  332.                             string    pattern    "upba5605.tga"
  333.  
  334.                             incy {
  335.  
  336.                                 int    widthpix    15
  337.  
  338.                                 int    heightpix    15
  339.  
  340.                                 string    pattern    "upba5605.tga"
  341.  
  342.                             }
  343.  
  344.                             decy {
  345.  
  346.                                 int    widthpix    15
  347.  
  348.                                 int    heightpix    15
  349.  
  350.                                 string    pattern    "upba5605.tga"
  351.  
  352.                             }
  353.  
  354.                         }
  355.  
  356.                         header {
  357.                             switch0:T_FONT1_14 {
  358.  
  359.                                 int    widthpix    100
  360.  
  361.                                 int    heightpix    0
  362.  
  363.                                 int bevelwidth     0
  364.  
  365.                             }
  366.                         }
  367.                     }
  368.                 }
  369.             }
  370.  
  371.         }
  372.  
  373.         ScoreTab : victoryscreen_tab {
  374.  
  375.             int    xpix    210
  376.  
  377.             int    ypix    0
  378.  
  379.             string    text    "str_ldl_Score"
  380.  
  381.             pane : victoryscreen_pane {    
  382.  
  383.                 ScoreBlock : victoryscreen_block {
  384.  
  385.                     ScoreList {
  386.  
  387.                         int xpix    120
  388.  
  389.                         int    ypix    5
  390.  
  391.                         int    widthpix    300
  392.  
  393.                         int    heightpix    280
  394.  
  395. #                        string pattern    "upba6417.tga"
  396.  
  397.                         int columns        2
  398.  
  399.                         int bevelwidth    2
  400.  
  401.                         int beveltype    2
  402.  
  403. #                        bool alwaysranger    TRUE
  404.  
  405.                         string    pattern    "upba6500.tga"
  406.  
  407.                         int    srcxpix        171
  408.  
  409.                         int    srcypix        160
  410.  
  411.                         int    srcwidthpix        324
  412.  
  413.                         int    srcheightpix    284
  414.  
  415.                         rangery {
  416.  
  417.                             int    widthpix    15
  418.  
  419.                             int    heigthpix    15
  420.  
  421.                             string    type    "scroller"
  422.  
  423.                             string    orientation    "vertical"
  424.  
  425.                             string    pattern    "upba5605.tga"
  426.  
  427.                             incy {
  428.  
  429.                                 int    widthpix    15
  430.  
  431.                                 int    heightpix    15
  432.  
  433.                                 string    pattern    "upba5605.tga"
  434.  
  435.                             }
  436.  
  437.                             decy {
  438.  
  439.                                 int    widthpix    15
  440.  
  441.                                 int    heightpix    15
  442.  
  443.                                 string    pattern    "upba5605.tga"
  444.  
  445.                             }
  446.  
  447.                         }
  448.  
  449.                         header {
  450.                             switch0:T_FONT1_14 {
  451.  
  452.                                 int    widthpix    150
  453.  
  454.                                 int    heightpix    0
  455.  
  456.                                 int bevelwidth     0
  457.  
  458.                             }
  459.                             switch1:T_FONT1_14 {
  460.  
  461.                                 int    widthpix    150
  462.  
  463.                                 int    heightpix    0
  464.  
  465.                                 int bevelwidth     0
  466.  
  467.                             }
  468.                         }
  469.  
  470.                     }
  471.                 }
  472.             }
  473.  
  474.         }
  475.  
  476.     }
  477.  
  478.  
  479.  
  480. }
  481.  
  482. VictoryPlayerListItem {
  483.  
  484.     Name:T_FONT1_VICTORY1{
  485.  
  486.         int        xpix            0
  487.  
  488.         int        ypix            0
  489.  
  490.         int        widthpix        50
  491.  
  492.         int        heightpix        20
  493.  
  494.     }
  495. }
  496.  
  497. HighScoreListItem {
  498.  
  499.     Rank:T_FONT1_VICTORY1{
  500.  
  501.         int        xpix            0
  502.  
  503.         int        ypix            0
  504.  
  505.         int        widthpix        250
  506.  
  507.         int        heightpix        20
  508.  
  509.     }
  510.  
  511.     Score:T_FONT1_VICTORY1{
  512.  
  513.         int        xpix            0
  514.  
  515.         int        ypix            0
  516.  
  517.         int        widthpix        50
  518.  
  519.         int        heightpix        20
  520.  
  521.     }
  522. }
  523.  
  524. HighScoreWindowPopup {
  525.  
  526.     string    xanchor        "center"
  527.  
  528.     string    yanchor        "center"
  529.  
  530.     int        widthpix    400
  531.  
  532.     int        heightpix    320
  533.  
  534.     string    pattern    "upba6417.tga"
  535.  
  536.     Title:T_FONT4_POPTITLE {
  537.  
  538.         string    parent    "c3_PopupTitle"
  539.  
  540.         string xanchor "center"
  541.  
  542.         string yanchor "top"
  543.  
  544.         int widthpct 50
  545.  
  546.         int heightpix 20
  547.  
  548.         string    text    "str_ldl_HIGH_SCORES"
  549.  
  550.     }
  551.  
  552.     ContinueButton : highscore_buttons {
  553.     
  554.         int        xpix    20
  555.  
  556.         int        ypix    260
  557.  
  558.         string    text    "str_ldl_CONTINUE"
  559.     }
  560.  
  561.     CreditsButton : highscore_buttons {
  562.     
  563.         string    xanchor    "center"
  564.  
  565.         int        ypix    260
  566.  
  567.         string    text    "str_ldl_CREDITS"
  568.     }
  569.  
  570.     QuitButton : highscore_buttons {
  571.     
  572.         int        xpix    290
  573.  
  574.         int        ypix    260
  575.  
  576.         string    text    "str_ldl_CAPS_QUIT"
  577.     }
  578.  
  579.  
  580.     HighScoreList {
  581.  
  582.         string    xanchor    "center"
  583.  
  584.         int    ypix    80
  585.  
  586.         int    widthpix    300
  587.  
  588.         int    heightpix    160
  589.  
  590.         int columns        2
  591.  
  592.         int bevelwidth    2
  593.  
  594.         int beveltype    2
  595.  
  596.         bool alwaysranger    TRUE
  597.  
  598.         string    pattern    "upba6417.tga"
  599.  
  600.         header {
  601.  
  602.             switch0:T_FONT1_VICTORY1 {
  603.  
  604.                 int    widthpix    250
  605.  
  606.                 int    heightpix    0
  607.  
  608. #                string text    "str_ldl_Rank"
  609. #                string    pattern    "upba3702.tga"
  610.  
  611.                 int bevelwidth     0
  612.  
  613.             }
  614.  
  615.             switch1:T_FONT1_VICTORY1 {
  616.  
  617.                 int    widthpix    50
  618.  
  619.                 int    heightpix    0
  620.  
  621. #                string text    "str_ldl_Player"
  622. #                string    pattern    "upba3702.tga"
  623.  
  624.                 int bevelwidth     0
  625.  
  626.             }
  627.         }
  628.  
  629.     }
  630.  
  631. }
  632.  
  633. VictoryScoreListItem {
  634.  
  635.     ScoreCategory:T_FONT1_VICTORY1{
  636.  
  637.         int        xpix            0
  638.  
  639.         int        ypix            0
  640.  
  641.         int        widthpix        150
  642.  
  643.         int        heightpix        20
  644.  
  645.     }
  646.  
  647.     ScoreValue:T_FONT1_VICTORY1{
  648.  
  649.         int        xpix            0
  650.  
  651.         int        ypix            0
  652.  
  653.         int        widthpix        150
  654.  
  655.         int        heightpix        20
  656.  
  657.     }
  658. }
  659.  
  660. VictoryPlayerListItem {
  661.  
  662.     Civilization:T_FONT1_VICTORY1{
  663.  
  664.         int        xpix            0
  665.  
  666.         int        ypix            0
  667.  
  668.         int        widthpix        150
  669.  
  670.         int        heightpix        20
  671.  
  672.     }
  673. }
  674.  
  675. VictoryStrings {
  676.     int    numstrings    21
  677.  
  678.     string string0         "str_ldl_VICTORY"
  679.     string string1         "str_ldl_DEFEAT"
  680.     string string2         "str_tbl_ldl_Positive_Points_For_Colon"
  681.     string string3         "str_tbl_ldl_Total_Positive_Points_Colon"
  682.     string string4         "str_tbl_ldl_Negative_Points_For_Colon"
  683.     string string5         "str_tbl_ldl_Total_Negative_Points_Colon"
  684.     string string6         "str_tbl_ldl_Total_Points_Colon"
  685.     string string7         "str_tbl_ldl_Civ_Score_Colon"
  686.     string string8        "str_ldl_YOUR_CIVILIZATION_SCORE_IS_COLON"
  687.  
  688.     string string9        "str_ldl_THE_DESTITUTE"
  689.     string string10        "str_ldl_THE_SQUIRREL_HEARTED"
  690.     string string11        "str_ldl_THE_RED_FACED"
  691.     string string12        "str_ldl_THE_WEARY"
  692.     string string13        "str_ldl_THE_MEEK"
  693.     string string14        "str_ldl_THE_UNREADY"
  694.     string string15        "str_ldl_THE_EARNEST"
  695.     string string16        "str_ldl_THE_WISE"
  696.     string string17        "str_ldl_THE_VALIANT"
  697.     string string18        "str_ldl_THE_LION_HEARTED"
  698.     string string19        "str_ldl_THE_INDOMITABLE"
  699.     string string20        "str_ldl_THE_CIV_LORD"
  700.  
  701. }
  702.  
  703. $
  704.