Changeset 250


Ignore:
Timestamp:
Sep 22, 2018, 10:11:33 PM (6 years ago)
Author:
chronos
Message:
  • Added: Full screen mode.
  • Added: Icon for keyboard shortcut.
Location:
trunk
Files:
4 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.lfm

    r249 r250  
    137137        ShortCut = 16493
    138138      end
     139      object MenuItem32: TMenuItem
     140        Caption = '-'
     141      end
     142      object MenuItem30: TMenuItem
     143        Action = Core.AFullscreen
     144      end
    139145      object MenuItem19: TMenuItem
    140146        Caption = '-'
  • trunk/Forms/UFormMain.pas

    r249 r250  
    4545    MenuItem28: TMenuItem;
    4646    MenuItem29: TMenuItem;
     47    MenuItem30: TMenuItem;
     48    MenuItem32: TMenuItem;
    4749    MenuItemDebug: TMenuItem;
    4850    MenuItem31: TMenuItem;
  • trunk/Forms/UFormNew.lfm

    r244 r250  
    550550        object ComboBoxWinObjective: TComboBox
    551551          Left = 224
    552           Height = 36
     552          Height = 40
    553553          Top = 244
    554554          Width = 328
  • trunk/Languages/xtactics.cs.po

    r249 r250  
    2525msgid "Exit application"
    2626msgstr "Ukončit aplikaci"
     27
     28#: tcore.afullscreen.caption
     29msgid "Full screen mode"
     30msgstr "Režim celé obrazovky"
    2731
    2832#: tcore.agameend.caption
  • trunk/Languages/xtactics.po

    r249 r250  
    1414#: tcore.aexit.hint
    1515msgid "Exit application"
     16msgstr ""
     17
     18#: tcore.afullscreen.caption
     19msgid "Full screen mode"
    1620msgstr ""
    1721
  • trunk/UCore.lfm

    r249 r250  
    9797    object AShowKeyShortcuts: TAction
    9898      Caption = 'Key shortcuts'
     99      ImageIndex = 12
    99100      OnExecute = AShowKeyShortcutsExecute
    100101    end
     
    103104      OnExecute = AToggleFogOfWarExecute
    104105    end
     106    object AFullscreen: TAction
     107      Caption = 'Full screen mode'
     108      ImageIndex = 13
     109      OnExecute = AFullscreenExecute
     110      ShortCut = 122
     111    end
    105112  end
    106113  object ImageListSmall: TImageList
    107     left = 786
     114    left = 784
    108115    top = 420
    109116    Bitmap = {
    110       4C690C00000010000000100000000000000000000000E3AA4BD6E5B35EFFE3B1
     117      4C690E00000010000000100000000000000000000000E3AA4BD6E5B35EFFE3B1
    111118      61F2DEA85AF3D9A156F3D49B50F3CF904AF3CA8C47F3C58743F3C0813CF3BF80
    112119      38F8A75E20FB00000000000000000000000000000000E6AF53E7F6D084FFF8D8
     
    492499      00FF000000FF000000FF00000000000000000000000000000000000000000000
    493500      0000000000000000000000000000000000000000000000000000000000000000
    494       0000000000000000000000000000
     501      0000000000000000000000000000000000000000000000000000000000000000
     502      0000000000000000000000000000000000000000000000000000000000000000
     503      0000000000000000000000000000000000000000000000000000000000000000
     504      000076777740777575DB878383FE83807FDE7E7B77A18D8B85618D8788398D8E
     505      8E1E0000000000000000000000000000000000000000000000008080800D7677
     506      77988E8D8BFBDFDBD8FFF2EDEAFFCBBFB0FF927A5EFFD9D4CFFFC8C6C3FFAEAD
     507      ACFF848484C85B5B5B060000000000000000000000009999993E939393E5B6B5
     508      B5FFE5E3E2FFD7D2CCFF88725BFF7F613EFF906732FFFDF8F0FFFFFFFCFFFFFF
     509      FFFFC1BDB8FF716D6B6400000000000000008C8C8C17A1A1A1F5D7D6D7FFCECB
     510      C6FF938574FF391B00FF6A471CFFCAB79EFF986B36FFFDF9F3FFFFFFFDFFDFDD
     511      DCFFE9E0D7FF7A7873BB000000000000000079797970DDDDDDFFE4E4E3FF7E6B
     512      57FF776148FFF0E8E1FFBEAB99FF906D44FF9A5A09FFFBF1E4FFE6E6E4FFC1BC
     513      B8FFCCC5BDFFA49F9AF84D4D4E28000000007D7D7DC4EDEDEDFFD3D2D2FFEFED
     514      EDFFF8F5F2FFFAF4EDFFFDF6EFFFE2D2C0FFB5864EFFF3ECE3FFA8A9A8FFA39F
     515      9BFFC8C1BAFFCAC5C1FF6867678358585839B1B1B1FEE9E9EAFFDEDEDDFFD7D5
     516      D3FFDCD8D4FFE6E2DDFFF0ECE9FFF8F4F1FFF0EFEDFFB9B7B6FF8E8C8CFFA29D
     517      9AFFD3CCC4FFE2DCDAFF6E6E6ECE72727288DBDBDBFFDFDFDFFFDBDADAFFE2E0
     518      DFFFDEDAD6FFE3DDD8FFE9E2DCFFF0E8DFFFF3EAE2FFB2AEABFF878785FFA29E
     519      9BFFD4CEC7FFD1D0CFFF5A5A5AFA818181D8F2F2F2FFDCDCDCFFD4D3D4FFDDDB
     520      D9FFE3E0DDFFE3DED9FFE9E2DBFFF1E7DFFFF5EDE5FFB9B5B0FF868483FFA9A5
     521      A2FFD7D7D6FFAFAFAFFF424242F38C8C8CFDE5E5E5FFF1F1F1FFEFEFEEFFE6E5
     522      E4FFE3E0DDFFE6E1DCFFEAE3DDFFEFE7DFFFF7EDE5FFBEB9B4FF838382FFAEAD
     523      ABFFCACBCBFF404040FF3232328E777777BB8E8E8EFF7A7A7AFFABABACFFD5D5
     524      D6FFF8F8F9FFF9F9F8FFF5F2EFFFF4EFE9FFF8F0E7FFC4BFB9FF919091FFBABA
     525      BAFF4E4E4EFF333333C8000000004848480769696958464646B1535353F46363
     526      63FF7A7A7AFFAEAEAFFFD3D3D4FFF9F9F9FFFFFFFFFFE5E4E4FFA4A4A4FF5656
     527      56FF343434D13131310A000000000000000000000000000000003C3C3C095151
     528      51524D4D4DAF575757F36C6C6CFF7E7E7EFFA6A6A6FF979898FF4D4D4DFF3636
     529      36E3303030140000000000000000000000000000000000000000000000000000
     530      0000000000004A4A4A075151514A54545496565656D84B4B4BFB303030D32C2C
     531      2C1C000000000000000000000000000000000000000000000000000000000000
     532      0000000000000000000000000000000000000000000000000000000000000000
     533      0000000000000000000000000000858A8899858A88FF858A88FF858A88FF858A
     534      88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A
     535      88FF858A88FF858A88FF858A8899858A88FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
     536      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
     537      FFFFFFFFFFFFFFFFFFFF858A88FF858A88FFFFFFFFFFA46534FFA46534FFA465
     538      34FFA46534FFECEEEEFFECEEEEFFEEEFEFFFEDEFEFFFA46534FFA46534FFA465
     539      34FFA46534FFFFFFFFFF858A88FF858A88FFFFFFFFFFA46534FFA46534FFA567
     540      36FFECEEEEFFECEEEEFFECEEEFFFEEF0F0FFEEF0F0FFEEF0F0FFA56736FFA465
     541      34FFA46534FFFFFFFFFF858A88FF858A88FFFFFFFFFFA46534FFA56736FFAA70
     542      43FFB4845FFFEEEFEFFFEEEFEFFFF0F1F1FFF0F1F1FFAE784EFFA96E40FFA568
     543      38FFA46534FFFFFFFFFF858A88FF858A88FFFFFFFFFFA46635FFEDEFEFFFB382
     544      5CFFC39F83FFCFB6A2FFEEF0F0FFF0F2F1FFCCB099FFC0987AFFB27F57FFF1F3
     545      F3FFA56737FFFFFFFFFF858A88FF858A88FFFFFFFFFFEFF0F0FFEFF0F0FFEFF1
     546      F1FFCFB4A0FFD8C7B9FFE0D3C9FFE2D7CDFFDCCBBDFFCFB49FFFF2F4F4FFF3F4
     547      F3FFF2F4F4FFFFFFFFFF858A88FF858A88FFFFFFFFFFEFF1F1FFF0F1F1FFF0F1
     548      F2FFF0F2F1FFDFD2C7FFF0F2F2FFF2F3F4FFE2D7CEFFF3F4F5FFF3F4F5FFF3F5
     549      F5FFF4F5F4FFFFFFFFFF858A88FF858A88FFFFFFFFFFF3F5F5FFF3F5F5FFF4F5
     550      F5FFF4F5F6FFE3D7CCFFF5F5F6FFF6F7F7FFEAE1D9FFF7F8F8FFF8F9F8FFF7F9
     551      F9FFF8F8F9FFFFFFFFFF858A88FF858A88FFFFFFFFFFF5F6F6FFF4F6F6FFF6F6
     552      F7FFCAAA90FFDBC7B7FFE6DBD3FFEAE2DBFFE4D6CAFFD4BAA6FFF8F9F9FFF9FA
     553      FAFFF9F9F9FFFFFFFFFF858A88FF858A88FFFFFFFFFFA46635FFF6F7F7FFAE77
     554      4CFFB98B67FFC9A68BFFF7F8F8FFF9F9F9FFD1B59EFFBD916FFFAE764BFFF9FA
     555      FAFFA46534FFFFFFFFFF858A88FF858A88FFFFFFFFFFA46534FFA46636FFA76A
     556      3BFFAB7246FFF8F9F8FFF8F9F9FFFAFAFAFFFAFAFBFFAA7043FFA56737FFA465
     557      34FFA46534FFFFFFFFFF858A88FF858A88FFFFFFFFFFA46534FFA46534FFA465
     558      34FFF9FAFAFFF9F9F9FFF9FAF9FFFBFBFBFFFBFBFCFFFBFBFCFFA46534FFA465
     559      34FFA46534FFFFFFFFFF858A88FF858A88FFFFFFFFFFA46534FFA46534FFA465
     560      34FFA46534FFFAFBFBFFFAFBFBFFFCFCFDFFFDFCFCFFA46534FFA46534FFA465
     561      34FFA46534FFFFFFFFFF858A88FF858A88FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
     562      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
     563      FFFFFFFFFFFFFFFFFFFF858A88FF8186849D858A88FF858A88FF858A88FF858A
     564      88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A
     565      88FF858A88FF858A88FF7F8382A0
    495566    }
    496567  end
     
    507578    top = 286
    508579    Bitmap = {
    509       4C690C0000002000000020000000000000000000000000000000E2AA4B36E2A9
     580      4C690E0000002000000020000000000000000000000000000000E2AA4B36E2A9
    510581      4AA1E4AD50E0E4B059F5E4B25FFCE3B160F5E1AE5FF2DFAA5CF3DDA559F3DAA2
    511582      57F3D89F55F3D59C51F3D2984EF3CF924BF3CD8E49F3CA8C48F3C88A46F3C688
     
    20432114      0000000000000000000000000000000000000000000000000000000000000000
    20442115      0000000000000000000000000000000000000000000000000000000000000000
    2045       0000000000000000000000000000
     2116      0000000000000000000000000000000000000000000000000000000000000000
     2117      0000000000000000000000000000000000000000000000000000000000000000
     2118      0000000000000000000000000000000000000000000000000000000000000000
     2119      0000000000000000000000000000000000000000000000000000000000000000
     2120      0000000000000000000000000000000000000000000000000000000000000000
     2121      000000000000000000000000000000000000767777097677771B777676327775
     2122      755F7B79796C85818176868282768481806D827F7E657F7C79537F7C78498785
     2123      80368D8B852C8D8987218D87881A8D8B8B138D8E8E0D8D8E8E06000000000000
     2124      0000000000000000000000000000000000000000000000000000000000000000
     2125      0000000000000000000000000000000000007677771376777738777676687775
     2126      75C47B7979E0858181F4868282F4848180E1827F7ED17F7C79AC7F7C78968785
     2127      80708D8B855B8D8987448D8788368D8A8B278D8E8E1C8D8E8E0B000000000000
     2128      0000000000000000000000000000000000000000000000000000000000000000
     2129      000080808002808080057778781A7677773C7F7F7E5987878588949291A8A5A2
     2130      A1DFABA8A6EFB3AFAEFBB2ADABFBA8A19BF0A0988FE6908375D18F8272C5AFA8
     2131      9FAFBFBBB6A3BCB9B695B9B7B58DB0AEAD84A8A7A77C96969566848484538282
     2132      82265B5B5B035B5B5B0100000000000000000000000000000000000000000000
     2133      0000808080058080800C7778783B7677778880807FB08C8B8AEAA3A19FF7D2CE
     2134      CBFDE0DCD9FEEBE6E4FFE7E1DCFFD0C6B9FEC0B2A1FE9E8A71FC9B866DFBC5BB
     2135      B0FAD6D2CDF9CDCAC6F9C5C4C1F8B7B5B4F7ACABAAF4979696D6848484BA8282
     2136      82565B5B5B065B5B5B03000000000000000000000000000000009999990A9999
     2137      9917949494349292925C94949481979797B8A0A09FD2AEADABF6BCBAB7FDD6D2
     2138      CEFFD7D1CCFFCCC2B8FFC4B7AAFFB3A18DFFA9947BFF987C5AFF9D8160FFD0C4
     2139      B6FFE6E1DBFFE0DEDAFFDCDBD8FFD3D2D1FFCBCACAFDB3B1B0EA9F9D9BD79694
     2140      91776F6B6A2A6F6B6A1400000000000000000000000000000000999999199999
     2141      993895959577939393CF9F9F9FE3B1B0B0F6C1C0C0FBDCDAD9FEDEDBD9FFD9D4
     2142      CFFFC6BEB4FF9A8875FF8C765DFF866A4BFF866742FF8D6838FF9E7B4DFFDFD0
     2143      BDFFFBF6EFFFFCFAF5FFFCFCF9FFFBFBFAFFF7F7F6FFD6D3D0FDBDB9B5F6A5A1
     2144      9DA2716D6B5D716D6B2D00000000000000008C8C8C048C8C8C089D9D9D3A9E9E
     2145      9E79A6A6A6A9ACABACE7B3B2B1F4BDBBBAFEC1BEBBFFC8C2BCFFBEB6AEFFA69A
     2146      8DFF988877FF846B50FF83684AFF94795AFF987B58FF946D3DFFA17B4DFFE1D2
     2147      BFFFFDF9F2FFFEFDF9FFFEFEFCFFF8F7F6FFF2F1F0FFDDD9D5FFCDC7C1FBABA6
     2148      A1B875726F8075726F3E00000000000000008C8C8C0A8C8C8C159F9F9F6FA1A1
     2149      A1DFB5B5B5EFCFCECFFCD0CECDFECCCAC6FFBDB7AFFF9F9385FF847360FF5137
     2150      1FFF4F3114FF66451EFF7E5E38FFB39C7FFFBCA486FFA27B4CFFA57E4FFFE2D3
     2151      C1FFFDFAF4FFFEFDFAFFFDFCFAFFECEBE9FFE2E0DEFFE4DED8FFE3DBD2FCB1AC
     2152      A5D47A7773B17A77735600000000000000007F7F7F187F7F7F31A9A9A987B3B3
     2153      B3F1C3C3C3FBD9D8D9FFCECBC8FFB9B1A8FFA99E91FF8F806DFF84725EFF745E
     2154      49FF755C44FF816443FF8E714FFFAE9576FFB39774FFA0733DFFA67943FFE2D0
     2155      BAFFFCF7EFFFF9F7F3FFF5F4F2FFE1DFDEFFD6D3D1FFDCD6D0FFDED5CDFDB3AE
     2156      A7E3898681CB86837E684D4D4E0C000000007979793179797965B6B6B6A8D6D6
     2157      D6F9DBDBDBFEE2E2E1FFC3BDB6FF8E7E6DFF83705CFF7B674FFF94826EFFD0C4
     2158      B9FFD3C7BBFFBCA996FFAF987FFF9C7E5AFF977143FF99621CFFA7702AFFE1CA
     2159      ACFFF9F1E6FFEEEBE6FFE6E5E3FFD1CECBFFC5C0BCFFCBC5BEFFCDC6BEFFB5AF
     2160      A9F7A09C97EE95918D864D4D4E24000000007B7B7B407B7B7B84B7B7B7BADFDF
     2161      DFFBE1E1E0FFE0DFDFFFC8C3BDFFA19486FF9B8C7CFF9A8976FFB1A393FFE7DE
     2162      D5FFEAE1D8FFD5C6B8FFC7B4A1FFAE9374FFA58259FFA26E2CFFAD7836FFE2CB
     2163      AEFFF5EDE2FFE0DED9FFD3D3D1FFC3C0BDFFBAB5B1FFC4BEB8FFCAC3BBFFBBB5
     2164      AFFCAEA9A4F79C9894995C5B5C40000000007D7D7D587D7D7DB6B5B5B5D7E8E8
     2165      E8FDE2E2E2FFD7D6D6FFD9D7D6FFDFDBD9FFE2DDDAFFE6E1DBFFECE6E0FFF6F0
     2166      E9FFF8F1EAFFF5EDE5FFEFE4D9FFDDCCBAFFD1B99EFFBA905DFFBA8F5AFFE2D0
     2167      B9FFEDE6DEFFC5C3C0FFAFB0AFFFAAA8A5FFA9A5A0FFBCB6B0FFC8C2BAFFC7C1
     2168      BBFEC5C0BBFCA5A19FB7676666775858580D8888886B8B8B8BCEBABABAE5E9E9
     2169      E9FDE3E3E3FFD7D6D6FFDCDBDBFFE8E6E6FFECEAE8FFF1EEEBFFF3EFEBFFF5F0
     2170      EAFFF6F1EAFFF9F3EDFFF6EFE7FFEBDFD2FFE1D0BDFFCBAC87FFC7A780FFDCCF
     2171      BEFFDED9D3FFB7B5B2FFA2A2A1FFA3A09DFFA5A19DFFBBB5AFFFCBC4BDFFCDC7
     2172      C2FFCFC9C6FDA8A4A2C76A696994585858309C9C9C8DAAAAAAF1C6C6C6F9E8E8
     2173      E8FFE4E4E5FFDDDDDCFFDCDBDAFFDBD9D8FFDDDAD8FFE0DCD9FFE3DFDBFFE8E4
     2174      DFFFEBE7E2FFF1ECE8FFF3EEEAFFF4EEE9FFF2ECE5FFEAE2D8FFE2DAD0FFCCC8
     2175      C3FFBDBBB9FFA19F9EFF949291FF9D9997FFA5A09DFFBFB9B3FFD2CBC3FFD9D2
     2176      CEFFDDD7D5FEABA8A6DF6D6D6DC262626248A4A4A49FB9B9B9FBCDCDCDFFE5E5
     2177      E6FFE3E3E3FFDEDEDDFFDCDBDAFFDAD8D6FFDAD8D5FFDCD8D4FFDFDBD6FFE4E0
     2178      DBFFE8E3DEFFEDE9E5FFF0ECE8FFF5F0ECFFF5F1EDFFF2EFEBFFE9E6E4FFC7C4
     2179      C2FFB3B1B0FF9A9897FF8E8D8CFF9B9795FFA5A09DFFC0BAB4FFD4CDC5FFDAD4
     2180      D0FFDDD8D6FEA6A4A3EA696969D770707079B1B1B1B9D2D2D2FDD9D9D9FFE0E0
     2181      E1FFDFDFDFFFDCDBDBFFDDDCDBFFDFDEDCFFDFDDDBFFDEDAD6FFDFDBD6FFE3DD
     2182      D9FFE5DFDAFFE9E3DEFFECE5DFFFF0E9E2FFF2EAE3FFF2EBE4FFEAE3DDFFC4BF
     2183      BCFFAFACA9FF959492FF8A8A88FF999694FFA5A19DFFC1BBB6FFD4CEC7FFD4D0
     2184      CDFFD3D1CFFF989796F85D5D5DF176767695B6B6B6C8DEDEDEFDDFDFDFFFDEDE
     2185      DEFFDDDCDCFFDAD9D9FFDCDBDBFFE1DFDEFFE0DEDCFFDFDBD8FFE0DCD7FFE2DD
     2186      D8FFE4DED9FFE8E1DBFFEAE3DCFFEFE7DEFFF1E8E0FFF3EAE2FFEBE3DBFFC4BF
     2187      BAFFAEABA8FF949391FF898987FF999794FFA6A29FFFC1BDB8FFD4CFCAFFCFCD
     2188      CAFFCAC9C8FF8F8E8EFC565656F97F7F7FC6BABABAE1EBEBEBFEE6E6E6FFDDDD
     2189      DDFFDADADAFFD6D5D6FFD9D7D7FFDDDCDAFFDFDDDBFFE1DEDBFFE2DEDBFFE3DE
     2190      D9FFE4DFD9FFE8E1DBFFEBE3DCFFEFE6DEFFF1E8E0FFF4EBE3FFECE5DDFFC8C3
     2191      BDFFB2AEAAFF959391FF898786FF9C9996FFAAA6A3FFC4C2BFFFD5D4D2FFC4C4
     2192      C3FFB5B5B5FF7E7E7EFA484848F5838383DDBBBBBBEDEFEFEFFFE9E9E9FFDFDF
     2193      DFFFDCDCDCFFD8D7D8FFDAD9D8FFDEDCDAFFE0DDDBFFE3E0DDFFE3E0DCFFE3DF
     2194      DAFFE5DFDAFFE8E2DBFFEBE3DCFFEFE6DEFFF1E8E0FFF4ECE4FFEDE6DEFFC9C4
     2195      BEFFB4B0ACFF959391FF898786FF9D9A98FFACA9A6FFC4C3C1FFD3D4D3FFB7B7
     2196      B7FF9F9F9FFE717171F2414141E6898989F3B8B8B8F9E7E7E7FFEAEAEAFFEBEB
     2197      EBFFEAEAEAFFE8E8E7FFE6E6E5FFE4E3E2FFE3E2E0FFE3E0DDFFE4E0DDFFE5E0
     2198      DBFFE6E1DBFFE9E2DCFFEBE4DDFFEEE6DFFFF1E8E0FFF5ECE4FFEFE6DEFFCCC6
     2199      C0FFB7B2AEFF959391FF878785FF9F9D9BFFAFADABFFC1C1C0FFC9CACAFF8E8E
     2200      8EFF5D5D5DFE4E4E4ED2383838A98A8A8AF6B2B2B2FADADADAFFDFDFDFFFE4E4
     2201      E4FFE6E6E5FFE8E8E7FFE7E6E5FFE5E4E3FFE4E3E2FFE5E3E0FFE6E3E0FFE8E3
     2202      DFFFE9E4DFFFEBE4DFFFECE5DFFFEFE7E0FFF1E9E1FFF5ECE4FFF0E6DFFFCEC7
     2203      C1FFB9B4AFFF969593FF888887FFA1A09EFFB0AFADFFB7B8B7FFB9B9B9FF7676
     2204      76FC3F3F3FF73A3A3AB93232327F7F7F7FCF959595E6A8A8A8FEA4A4A4FF9F9F
     2205      9FFFABABABFFBEBEBEFFC9C9C9FFD8D8D8FFE1E1E1FFEFEEEEFFF2F1F0FFF3F2
     2206      F0FFF3F1EEFFF2EEEAFFF2EDE9FFF2EDE7FFF3EDE6FFF6EFE6FFF1E8E0FFD0CA
     2207      C4FFBDB8B3FF9D9B9AFF908F90FFA8A8A7FFB3B2B2FF8E8E8DFF727272FE5454
     2208      54E9383838D63737377E3232322B777777AC838383CD8D8D8DF0838383F47878
     2209      78F8898989FBA1A1A2FEB2B2B3FEC8C8C9FFD6D6D7FFEAEAEBFFEFEFF0FFF2F2
     2210      F2FFF3F2F1FFF2F0EEFFF3F0ECFFF4F0EBFFF5F0EAFFF8F1E9FFF2EBE3FFD4CF
     2211      C8FFC1BDB8FFA2A09FFF959495FFA7A7A7FFACACACFF747474FD4C4C4CF94040
     2212      40D5333333B53333335800000000747474457B7B7B697F7F7F906D6D6DAA5D5D
     2213      5DCA666666DD717171F57B7B7BFA888889FE929293FFA2A2A3FFAFAFAFFFC3C3
     2214      C4FFCDCDCDFFDBDADAFFE4E2E2FFF2F1EFFFF8F6F4FFFBF9F6FFF8F5F2FFE3E0
     2215      DEFFD3D1CFFFB0AFAEFF9A9A9AFF858585FF757575FD565656EC3E3E3EDC3B3B
     2216      3B8B3333334A3333332400000000484848076666662B69696952545454774747
     2217      47A44C4C4CBF525252E3595959EB616161F4696969F7767676FA858586FBA3A3
     2218      A4FEB1B1B2FEC7C7C8FFD4D4D5FFEBEBEBFFF3F3F3FFF8F8F8FFF6F6F6FFE7E7
     2219      E7FFDAD9D9FFB3B3B3FF999999FF6E6E6EFE535353FA424242DB343434C03434
     2220      345B313131093131310400000000484848036666661269696921545454314747
     2221      47434C4C4C5151515162575757755C5C5C915F5F5FA6626262C869696AD97777
     2222      77F2808080F9909090FE999999FFA9A9A9FFB2B2B2FFC2C2C2FFC6C6C6FFBABA
     2223      BAFFAEAEAEFF848484FF6B6B6BFE535353F4434343E53D3D3D953333335A3333
     2224      332B313131043131310200000000000000000000000000000000000000000000
     2225      00003C3C3C033C3C3C084D4D4D21515151494F4F4F6A4D4D4D9F505050BA5656
     2226      56E25C5C5CEE686868F66F6F6FF97A7A7AFB848484FC9B9B9BFDA2A2A2FE9899
     2227      99FF8D8E8EFF626262FE4B4B4BFB3E3E3EE7363636D135353561303030133030
     2228      3008000000000000000000000000000000000000000000000000000000000000
     2229      00003C3C3C023C3C3C044D4D4D0F515151214F4F4F304D4D4D47505050545656
     2230      56685B5B5B7663636391666666A06B6B6BBB6F6F6FC9797979E0797979EB7070
     2231      70F7676868FA4D4D4DED3D3D3DDC393939993535356C34343431303030083030
     2232      3004000000000000000000000000000000000000000000000000000000000000
     2233      00000000000000000000000000000000000000000000000000004A4A4A024A4A
     2234      4A064F4F4F165151513E52525257545454855454549E565656C6545454D94E4E
     2235      4EEE494949F3393939DC303030C12F2F2F5A2C2C2C1A2C2C2C0B000000000000
     2236      0000000000000000000000000000000000000000000000000000000000000000
     2237      00000000000000000000000000000000000000000000000000004A4A4A014A4A
     2238      4A034F4F4F0B5151511E5252522A545454405454544D56565660545454694E4E
     2239      4E73494949763939396A3030305D2F2F2F2B2C2C2C0D2C2C2C05000000000000
     2240      0000000000000000000000000000000000000000000000000000000000000000
     2241      0000000000000000000000000000000000000000000000000000000000000000
     2242      0000000000000000000000000000000000000000000000000000000000000000
     2243      0000000000000000000000000000000000000000000000000000000000000000
     2244      0000000000000000000000000000858A88FF858A88FF858A88FF858A88FF858A
     2245      88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A
     2246      88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A
     2247      88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A
     2248      88FF858A88FF858A88FF858A88FF858A88FFA4A8A6FFBEC1C0FFBFC2C1FFBFC2
     2249      C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2
     2250      C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2
     2251      C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2
     2252      C1FFBEC1C0FFA4A8A6FF858A88FF858A88FFBEC1C0FFFBFBFBFFFDFDFDFFFDFD
     2253      FDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFD
     2254      FDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFD
     2255      FDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFD
     2256      FDFFFBFBFBFFBEC1C0FF858A88FF858A88FFBFC2C1FFFDFDFDFFEEE3DAFFD9BF
     2257      ABFFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFE0CCBDFFF3F0
     2258      EDFFF7F8F8FFF7F8F8FFF7F8F8FFF8F8F8FFF8F8F8FFF7F8F8FFF3F0EDFFE0CC
     2259      BDFFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFD9BFABFFEEE3
     2260      DAFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD9BFABFFAA70
     2261      42FFA76A3BFFA76A3BFFA76A3BFFA76A3BFFA76A3BFFA76A3BFFBA8E6BFFE3DD
     2262      D7FFEDEFEFFFEDEFEFFFEDEFEFFFEEEFEFFFEEF0F0FFEEF0F0FFE4DED7FFBA8E
     2263      6BFFA76A3BFFA76A3BFFA76A3BFFA76A3BFFA76A3BFFA76A3BFFAA7042FFD9BF
     2264      ABFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76A
     2265      3BFFA46534FFA46534FFA46534FFA46635FFAD764AFFBD9575FFCCB09AFFE6E3
     2266      DFFFECEEEEFFECEEEEFFECEEEFFFEEEFEFFFEEEFEFFFEEEFEFFFE7E4E0FFCDB1
     2267      9BFFBE9575FFAD764BFFA46635FFA46534FFA46534FFA46534FFA76A3BFFD8BD
     2268      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76A
     2269      3BFFA46534FFA46534FFA46635FFA56736FFB98D6AFFE1D9D1FFE9E8E6FFEBED
     2270      EDFFECEEEEFFECEEEFFFECEEEFFFEEF0F0FFEEF0F0FFEEF0F0FFEDEFEEFFEBEA
     2271      E8FFE3DAD3FFBA8E6BFFA56736FFA46635FFA46534FFA46534FFA76A3BFFD8BD
     2272      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76A
     2273      3BFFA46534FFA46635FFA56737FFA76A3AFFB68762FFD3BFAFFFDED3CAFFEAE9
     2274      E8FFEDEEEEFFEDEEEFFFEDEFEFFFEEF0F0FFEFF0F0FFEFF0F0FFECEBE9FFDED2
     2275      C7FFD3BDABFFB58660FFA66939FFA56737FFA46635FFA46535FFA76A3BFFD8BD
     2276      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76A
     2277      3BFFA46635FFA56736FFA76A3AFFA96F41FFAE784EFFB78A67FFC7A78EFFE7E2
     2278      DDFFEEEFEFFFEEEFEFFFEEEFEFFFEFF1F1FFF0F1F1FFF0F1F1FFE8E2DDFFC39F
     2279      83FFB28058FFAC7347FFA86D3FFFA66A3AFFA56837FFA46635FFA76A3BFFD8BD
     2280      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76B
     2281      3BFFAD764BFFB98E6BFFB68762FFAE784DFFB07C54FFB78A67FFC4A287FFDFD3
     2282      C9FFE7E2DDFFECECEBFFEEF0F0FFF0F1F1FFEEEEEDFFE8E2DCFFDED1C6FFC19A
     2283      7CFFB38059FFAE784DFFAD764AFFB68862FFBB906DFFAD774CFFA76B3CFFD8BD
     2284      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76B
     2285      3CFFBD9676FFE2DAD2FFD4BFAFFFB68864FFB78965FFC0997BFFC6A58BFFD0B8
     2286      A4FFD9C8BAFFE9E7E4FFEEF0F0FFF0F2F1FFEBE8E4FFD7C5B5FFCDB29CFFC39E
     2287      81FFBD9272FFB5845FFFB68660FFD6C1AFFFE5DDD6FFBF9878FFA86C3EFFD8BE
     2288      A9FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFE0CDBDFFBB8F
     2289      6CFFCDB29CFFEAE9E7FFDFD4CAFFC6A68CFFC4A186FFC6A48AFFC9AA93FFD0B8
     2290      A4FFD7C5B6FFE6E1DCFFEBE9E6FFECEAE7FFE8E2DCFFD7C3B2FFCFB49EFFC7A6
     2291      8CFFC49F83FFC39E82FFC7A58AFFE1D6CBFFEEEDEBFFCFB49FFFBC916FFFE1CE
     2292      BEFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFF4F0EEFFE6DF
     2293      D8FFE9E5E1FFEEEFEEFFECEBE9FFE8E3DFFFDFD3C9FFD0B6A3FFD0B6A3FFD6C2
     2294      B3FFD9C9BCFFE0D4CAFFE2D8CFFFE3DAD1FFE2D7CDFFDCCCBEFFD8C4B4FFD0B6
     2295      A2FFD0B6A1FFE1D4CAFFEAE6E1FFEFEEECFFF2F3F2FFECE8E4FFE9E2DCFFF5F2
     2296      EFFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFF8F9F9FFF0F1
     2297      F1FFEFF0F0FFEFF0F0FFEFF0F1FFEFF1F1FFE8E3DEFFD9C7B9FFD7C4B5FFD9C9
     2298      BBFFDCCDC1FFE2D7CFFFE4DBD3FFE5DDD5FFE4DBD3FFDFD1C6FFDDCCBFFFD9C6
     2299      B6FFDAC8BAFFEAE5E0FFF2F4F4FFF3F4F4FFF3F4F3FFF3F4F4FFF3F5F4FFFAFA
     2300      FAFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFF8F9F9FFF0F1
     2301      F1FFEFF1F1FFF0F1F1FFF0F1F1FFF0F1F2FFEEEEEDFFEBE9E5FFE7E2DBFFE0D3
     2302      C9FFE1D7CEFFEBE8E5FFEEEDECFFEFEEEDFFEDEAE8FFE4DBD3FFE3D8CFFFEAE4
     2303      DFFFEEEBE8FFF1F1F1FFF3F4F5FFF3F5F5FFF3F5F5FFF3F5F4FFF4F5F4FFFAFB
     2304      FAFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFF8F9F9FFF0F2
     2305      F2FFF0F2F2FFF1F2F2FFF1F2F2FFF1F2F3FFF1F2F2FFF1F3F2FFECEAE7FFE2D7
     2306      CEFFE4DAD2FFEEEDECFFF1F3F3FFF2F4F4FFF0EFEFFFE7DFD9FFE6DDD5FFEFED
     2307      ECFFF4F5F6FFF4F5F6FFF4F5F6FFF4F6F6FFF4F6F6FFF4F6F5FFF5F6F5FFFBFB
     2308      FBFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFFAFAFAFFF3F5
     2309      F5FFF2F4F4FFF2F4F4FFF3F4F4FFF3F4F4FFF3F4F5FFF3F4F5FFEFECEAFFE4DA
     2310      D1FFE6DDD5FFF1EFEEFFF4F5F5FFF5F6F6FFF3F2F1FFEBE4DEFFEAE2DBFFF3F1
     2311      EFFFF6F7F7FFF7F8F7FFF7F8F7FFF6F8F8FFF6F8F8FFF7F8F8FFF7F8F8FFFCFC
     2312      FCFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFFAFBFBFFF4F6
     2313      F6FFF3F5F5FFF3F5F5FFF4F5F5FFF4F5F5FFF2F1F0FFEEEAE7FFEAE3DEFFE3D7
     2314      CCFFE6DBD2FFF0ECEAFFF3F1F1FFF4F3F2FFF2F0EEFFECE4DDFFEAE1D9FFEFEA
     2315      E5FFF2EFECFFF6F6F4FFF8F9F8FFF8F9F9FFF7F9F9FFF8F9F9FFF8F8F9FFFCFC
     2316      FCFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFFBFBFBFFF5F6
     2317      F6FFF4F6F6FFF4F6F6FFF4F6F6FFF5F6F6FFEBE4DEFFD7C2B0FFD6BFADFFDCC9
     2318      B9FFE0D0C3FFE7DDD6FFEAE2DCFFECE6E0FFECE4DEFFE7DCD2FFE4D6CBFFDFCD
     2319      BEFFDFCDC0FFEFEAE5FFF8F9F9FFF8FAF9FFF9FAFAFFF9F9F9FFF9F9F9FFFCFC
     2320      FCFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFF6F3F0FFEBE4
     2321      DDFFEEEAE6FFF4F5F5FFF1F0EEFFEDE7E2FFE1D2C6FFCCAC93FFCCAE95FFD6BF
     2322      ACFFDCC9BAFFE6DAD1FFE9E0D9FFEBE4DEFFEAE2DAFFE4D6CAFFDFCEBFFFD5BC
     2323      A9FFD4BAA6FFE5D8CDFFEFE9E4FFF5F4F2FFF8F9F8FFF2EDE9FFEEE6E0FFF7F4
     2324      F1FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFE1CEBEFFBC91
     2325      6EFFD1B6A0FFF2F1EEFFE3D6CBFFC5A083FFC09777FFBE9473FFC29B7CFFCCAB
     2326      92FFD6BEABFFECE6E0FFF3F1EFFFF5F2F0FFF0EAE5FFDDCABAFFD4B9A4FFC8A5
     2327      89FFC39C7DFFC29A7AFFC6A183FFE6D8CDFFF5F4F1FFD3B7A1FFBD916EFFE2CE
     2328      BEFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76B
     2329      3CFFC19878FFE9E0D9FFD7C0AEFFB37F57FFB07B52FFB68661FFBD9271FFCBA9
     2330      8FFFD7C0ADFFF0ECE8FFF7F8F8FFF9F9F9FFF3EFECFFDECABBFFD2B69FFFC29A
     2331      7BFFBA8B67FFB17C53FFB37E56FFD9C2AFFFECE3DBFFC29979FFA76A3BFFD8BD
     2332      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76B
     2333      3BFFAE774CFFBB8F6DFFB68660FFAB7144FFAB7245FFAF784EFFBF9574FFE2D2
     2334      C5FFEDE5DFFFF5F5F3FFF8F9F9FFF9FAFAFFF8F6F5FFF0EAE5FFE5D7CCFFC096
     2335      76FFAF794EFFAA7043FFA96F41FFB6855FFFBC8F6CFFAE764BFFA76A3BFFD8BD
     2336      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76A
     2337      3BFFA46535FFA46636FFA56737FFA7693AFFAA6F42FFB07B52FFC49E80FFEFE9
     2338      E3FFF8F9F8FFF8F9F9FFF8F9F9FFFAFAFAFFFAFAFAFFFAFAFBFFF0E9E5FFC49D
     2339      7FFFAF794FFFA86D3FFFA56737FFA46635FFA46534FFA46534FFA76A3BFFD8BD
     2340      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76A
     2341      3BFFA46534FFA46535FFA46635FFA56736FFB6855FFFD8C0AEFFE5D7CCFFF5F3
     2342      F0FFF9F9F9FFF9FAF9FFF9FAF9FFFAFAFAFFFBFBFBFFFBFBFBFFF7F4F3FFE6D8
     2343      CDFFD9C0AEFFB6855EFFA46635FFA46534FFA46534FFA46534FFA76A3BFFD8BD
     2344      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76A
     2345      3BFFA46534FFA46534FFA46534FFA46534FFBC8F6CFFECE3DBFFF5F3F1FFF8F8
     2346      F8FFF9F9F9FFF9FAF9FFF9FAFAFFFBFBFBFFFBFBFBFFFBFBFCFFFAFAFAFFF7F5
     2347      F3FFEDE4DDFFBD906DFFA46534FFA46534FFA46534FFA46534FFA76A3BFFD8BD
     2348      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD8BDA8FFA76A
     2349      3BFFA46534FFA46534FFA46534FFA46534FFAE764BFFC29979FFD3B7A1FFF3EE
     2350      EAFFFAFAFAFFFAFBFAFFFAFBFBFFFBFBFCFFFCFCFCFFFCFCFCFFF5EFECFFD4B8
     2351      A2FFC2997AFFAE774BFFA46534FFA46534FFA46534FFA46534FFA76A3BFFD8BD
     2352      A8FFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFD9BFABFFAA70
     2353      42FFA76A3BFFA76A3BFFA76A3BFFA76A3BFFA76A3BFFA76A3BFFBD916EFFEFE8
     2354      E1FFFAFBFBFFFAFBFBFFFBFBFCFFFCFCFDFFFCFCFDFFFDFCFCFFF2E9E2FFBE91
     2355      6FFFA76A3BFFA76A3BFFA76A3BFFA76A3BFFA76A3BFFA76A3BFFAA7042FFD9BF
     2356      ABFFFDFDFDFFBFC2C1FF858A88FF858A88FFBFC2C1FFFDFDFDFFEEE3DAFFD9BF
     2357      ABFFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFE2CEBEFFF8F4
     2358      F2FFFDFDFDFFFDFDFDFFFDFDFDFFFEFEFEFFFEFEFEFFFEFEFEFFF9F5F2FFE2CE
     2359      BEFFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFD8BDA8FFD9BFABFFEEE3
     2360      DAFFFDFDFDFFBFC2C1FF858A88FF858A88FFBEC1C0FFFBFBFBFFFDFDFDFFFDFD
     2361      FDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFD
     2362      FDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFD
     2363      FDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFD
     2364      FDFFFBFBFBFFBEC1C0FF858A88FF838886FFA3A7A5FFBEC1C0FFBFC2C1FFBFC2
     2365      C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2
     2366      C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2
     2367      C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2C1FFBFC2
     2368      C1FFBEC1C0FFA3A6A5FF838786FF818684FF838886FF858A88FF858A88FF858A
     2369      88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A
     2370      88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A
     2371      88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A88FF858A
     2372      88FF858A88FF838786FF7F8382FF
    20462373    }
    20472374  end
  • trunk/UCore.pas

    r249 r250  
    1717  TCore = class(TDataModule)
    1818    AAbout: TAction;
     19    AFullscreen: TAction;
    1920    AToggleFogOfWar: TAction;
    2021    AShowKeyShortcuts: TAction;
     
    4647    procedure AAboutExecute(Sender: TObject);
    4748    procedure AExitExecute(Sender: TObject);
     49    procedure AFullscreenExecute(Sender: TObject);
    4850    procedure AGameEndExecute(Sender: TObject);
    4951    procedure AGameLoadExecute(Sender: TObject);
     
    7072    GameLoaded: Boolean;
    7173    FormNewTabIndex: Integer;
     74    OldWindowState: TWindowState;
     75    InFullScreenMode: Boolean;
    7276    procedure LoadRecentExecute(Sender: TObject);
    7377    procedure StartNewGame;
     
    273277end;
    274278
     279procedure TCore.AFullscreenExecute(Sender: TObject);
     280begin
     281  if InFullScreenMode then begin
     282    // Workaround: WindowState has sometimes wrong value under Linux.
     283    // Try to switch fullscreen again before switching back.
     284    if FormMain.WindowState <> wsFullScreen then begin
     285      FormMain.WindowState := wsFullScreen;
     286    end;
     287    FormMain.WindowState := OldWindowState;
     288    InFullScreenMode := False;
     289  end else begin
     290    OldWindowState := FormMain.WindowState;
     291    FormMain.WindowState := wsFullScreen;
     292    InFullScreenMode := True;
     293  end;
     294end;
     295
    275296procedure TCore.AAboutExecute(Sender: TObject);
    276297begin
Note: See TracChangeset for help on using the changeset viewer.