Changeset 253


Ignore:
Timestamp:
Sep 22, 2018, 11:11:38 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Version 1.3.0 related changes.
  • Fixed: Fullscreen mode under Windows.
Files:
1 added
17 edited

Legend:

Unmodified
Added
Removed
  • tags/1.3.0/Forms/UFormMain.lfm

    r250 r253  
    55  Width = 775
    66  Caption = 'xTactics'
    7   ClientHeight = 587
     7  ClientHeight = 591
    88  ClientWidth = 775
    99  DesignTimePPI = 144
     
    1515  OnKeyUp = FormKeyUp
    1616  OnShow = FormShow
    17   LCLVersion = '1.8.2.0'
     17  LCLVersion = '1.8.4.0'
    1818  WindowState = wsMaximized
    1919  object ToolBar1: TToolBar
     
    7979  object PanelMain: TPanel
    8080    Left = 0
    81     Height = 547
     81    Height = 551
    8282    Top = 40
    8383    Width = 775
  • tags/1.3.0/Forms/UFormMain.pas

    r250 r253  
    8383  private
    8484    FormActivated: Boolean;
     85    FormShown: Boolean;
    8586    procedure ApplicationStart(Ptr: IntPtr);
    8687    procedure UpdateClientForms;
     
    245246procedure TFormMain.FormShow(Sender: TObject);
    246247begin
    247   Core.LoadConfig;
    248   Core.ScaleDPI;
    249   Core.PersistentForm.Load(Self, True);
    250   Core.ThemeManager1.UseTheme(Self);
    251   Core.Init;
    252   LoadConfig(Core.XMLConfig1, 'FormMain');
    253   ReloadView;
    254   FormClient.Show;
    255   UpdateClientForms;
    256   Application.QueueAsyncCall(ApplicationStart, 0);
     248  if not FormShown then begin
     249    Core.LoadConfig;
     250    Core.ScaleDPI;
     251    Core.PersistentForm.Load(Self, True);
     252    Core.ThemeManager1.UseTheme(Self);
     253    Core.Init;
     254    LoadConfig(Core.XMLConfig1, 'FormMain');
     255    ReloadView;
     256    FormClient.Show;
     257    UpdateClientForms;
     258    Application.QueueAsyncCall(ApplicationStart, 0);
     259    FormShown := True;
     260  end;
    257261end;
    258262
  • tags/1.3.0/Install/win/xTactics.iss

    r225 r253  
    33
    44#define MyAppName "xTactics"
    5 #define MyAppVersion "1.3.0-alfa"
     5#define MyAppVersion "1.3.0"
    66#define MyAppPublisher "Chronosoft"
    77#define MyAppPublisherShort "Chronosoft"
  • tags/1.3.0/Languages/xtactics.cs.po

    r250 r253  
    10591059msgid "64-bit UInt read overflow."
    10601060msgstr "Přetečení při čtení 64-bit UInt"
     1061
  • tags/1.3.0/Release notes.txt

    r243 r253  
     1Version 1.3.0 (2018-09-22)
     2==========================
     3
     4* Added: Menu icons for players stats, keyboard shortcuts, and help.
     5* Added: Full screen mode.
     6* Added: Limit minimum and maximum map zoom.
     7* Added: Support for color themes (system, dark, light).
     8* Added: Remember dimensions for more application forms.
     9* Added: Support for cyclic map. Movement across map borders will take player units to opposite map border. Show map multiple times side by side to simulate infinite world.
     10* Added: Show number of captured win objective cells in players stats and graphs.
     11* Added: Remember last opened tab in New game form.
     12* Added: New window to list all available actions with their keyboard shortcuts.
     13* Added: Save action to save game without opening save dialog.
     14* Added: New objective "Capture all special cells" is now functional. Number of such cells can be specified. They are randomly spread across map and such cells are marked with "!" symbol after its number of units.
     15* Added: Evaluate win objection to stay alive for defined number of turns. Multiple players can win.
     16* Added: Settings option to automatically reopen last saved game on application start.
     17* Added: Configurable game parameter maximum units per cell.
     18* Added: Isometric map type.
     19* Added: Sorting by table columns in players stats form.
     20* Added: Popup menu action Spectate in Players stats window.
     21* Added: New window with players statistics.
     22* Added: Allow to open other spectator client windows.
     23* Added: A preparation for gameplay over network. Internal separation of client and server part of game core.
     24* Added: Voronoi map type which generate random mesh type maps.
     25* Modified: Initial game setting made independent to current game settings. So last game can be automatically loaded on start and initial setting will be intact.
     26* Modified: Allow multiselect and removal of players in new game dialog.
     27* Modified: Draw only visible arrows between cells.
     28* Fixed: Force directory creation only if directory is specified on game save.
     29* Fixed: An error on drawing of vertical unit move arrow.
     30* Fixed: Store map type in saved game files.
     31* Fixed: Load and start new game after main form is shown so cells can be correctly zoomed to be visible all.
     32* Fixed: Application settings wasn't saved if the application was exited by main menu action Exit.
     33* Fixed: Computer was affecting player cells by its cell moves.
     34* Fixed: Open/Save dialog with file filter and initial directory and name from current game.
     35* Fixed: Generate map only once on application start.
     36* Fixed: Do not generate map twice on map config load.
     37
     38
    139Version 1.2.0 (2017-11-19)
    240==========================
  • tags/1.3.0/UCore.lfm

    r251 r253  
    27172717    VersionMinor = 3
    27182718    VersionBugFix = 0
    2719     VersionSuffix = 'alfa'
    27202719    CompanyName = 'Chronosoft'
    27212720    CompanyHomePage = 'http://svn.zdechov.net/trac/xtactics'
  • tags/1.3.0/UCore.pas

    r250 r253  
    285285      FormMain.WindowState := wsFullScreen;
    286286    end;
     287    FormMain.BorderStyle := bsSizeable;
    287288    FormMain.WindowState := OldWindowState;
    288289    InFullScreenMode := False;
    289290  end else begin
    290291    OldWindowState := FormMain.WindowState;
     292    FormMain.BorderStyle := bsNone;
    291293    FormMain.WindowState := wsFullScreen;
    292294    InFullScreenMode := True;
  • tags/1.3.0/xtactics.lpi

    r231 r253  
    1818      <OutDir Value="Languages"/>
    1919    </i18n>
     20    <VersionInfo>
     21      <UseVersionInfo Value="True"/>
     22      <MajorVersionNr Value="1"/>
     23      <MinorVersionNr Value="3"/>
     24    </VersionInfo>
    2025    <BuildModes Count="2">
    2126      <Item1 Name="Debug" Default="True"/>
  • trunk/Forms/UFormMain.pas

    r250 r253  
    8383  private
    8484    FormActivated: Boolean;
     85    FormShown: Boolean;
    8586    procedure ApplicationStart(Ptr: IntPtr);
    8687    procedure UpdateClientForms;
     
    245246procedure TFormMain.FormShow(Sender: TObject);
    246247begin
    247   Core.LoadConfig;
    248   Core.ScaleDPI;
    249   Core.PersistentForm.Load(Self, True);
    250   Core.ThemeManager1.UseTheme(Self);
    251   Core.Init;
    252   LoadConfig(Core.XMLConfig1, 'FormMain');
    253   ReloadView;
    254   FormClient.Show;
    255   UpdateClientForms;
    256   Application.QueueAsyncCall(ApplicationStart, 0);
     248  if not FormShown then begin
     249    Core.LoadConfig;
     250    Core.ScaleDPI;
     251    Core.PersistentForm.Load(Self, True);
     252    Core.ThemeManager1.UseTheme(Self);
     253    Core.Init;
     254    LoadConfig(Core.XMLConfig1, 'FormMain');
     255    ReloadView;
     256    FormClient.Show;
     257    UpdateClientForms;
     258    Application.QueueAsyncCall(ApplicationStart, 0);
     259    FormShown := True;
     260  end;
    257261end;
    258262
  • trunk/Install/deb/debian/changelog

    r160 r253  
    1 xtactics (1.3.0-1) precise; urgency=low
     1xtactics (1.4.0-1) precise; urgency=low
    22
    3   * Original version 1.3.0 packaged with lazdebian
     3  * Original version 1.4.0 packaged with lazdebian
    44
    55 -- Chronos <robie@centrum.cz>  Sun, 6 Jul 2017 00:51:08 +0100
  • trunk/Install/deb/debian/control

    r160 r253  
    33Section: utils
    44Priority: optional
    5 Standards-Version: 1.3.0
     5Standards-Version: 1.4.0
    66Build-Depends: fpc, lazarus, lcl, lcl-utils, debhelper (>= 8)
    77
  • trunk/Install/rpm/xtactics.spec

    r200 r253  
    11Name:           xtactics
    2 Version:        1.3.0
     2Version:        1.4.0
    33Release:        1%{?dist}
    44Summary:        Turn-based strategic war game inspired by Risk board game.
  • trunk/Install/win/xTactics.iss

    r225 r253  
    33
    44#define MyAppName "xTactics"
    5 #define MyAppVersion "1.3.0-alfa"
     5#define MyAppVersion "1.4.0-alfa"
    66#define MyAppPublisher "Chronosoft"
    77#define MyAppPublisherShort "Chronosoft"
  • trunk/Languages/xtactics.cs.po

    r250 r253  
    10591059msgid "64-bit UInt read overflow."
    10601060msgstr "Přetečení při čtení 64-bit UInt"
     1061
  • trunk/Release notes.txt

    r243 r253  
     1Version 1.3.0 (2018-09-22)
     2==========================
     3
     4* Added: Menu icons for players stats, keyboard shortcuts, and help.
     5* Added: Full screen mode.
     6* Added: Limit minimum and maximum map zoom.
     7* Added: Support for color themes (system, dark, light).
     8* Added: Remember dimensions for more application forms.
     9* Added: Support for cyclic map. Movement across map borders will take player units to opposite map border. Show map multiple times side by side to simulate infinite world.
     10* Added: Show number of captured win objective cells in players stats and graphs.
     11* Added: Remember last opened tab in New game form.
     12* Added: New window to list all available actions with their keyboard shortcuts.
     13* Added: Save action to save game without opening save dialog.
     14* Added: New objective "Capture all special cells" is now functional. Number of such cells can be specified. They are randomly spread across map and such cells are marked with "!" symbol after its number of units.
     15* Added: Evaluate win objection to stay alive for defined number of turns. Multiple players can win.
     16* Added: Settings option to automatically reopen last saved game on application start.
     17* Added: Configurable game parameter maximum units per cell.
     18* Added: Isometric map type.
     19* Added: Sorting by table columns in players stats form.
     20* Added: Popup menu action Spectate in Players stats window.
     21* Added: New window with players statistics.
     22* Added: Allow to open other spectator client windows.
     23* Added: A preparation for gameplay over network. Internal separation of client and server part of game core.
     24* Added: Voronoi map type which generate random mesh type maps.
     25* Modified: Initial game setting made independent to current game settings. So last game can be automatically loaded on start and initial setting will be intact.
     26* Modified: Allow multiselect and removal of players in new game dialog.
     27* Modified: Draw only visible arrows between cells.
     28* Fixed: Force directory creation only if directory is specified on game save.
     29* Fixed: An error on drawing of vertical unit move arrow.
     30* Fixed: Store map type in saved game files.
     31* Fixed: Load and start new game after main form is shown so cells can be correctly zoomed to be visible all.
     32* Fixed: Application settings wasn't saved if the application was exited by main menu action Exit.
     33* Fixed: Computer was affecting player cells by its cell moves.
     34* Fixed: Open/Save dialog with file filter and initial directory and name from current game.
     35* Fixed: Generate map only once on application start.
     36* Fixed: Do not generate map twice on map config load.
     37
     38
    139Version 1.2.0 (2017-11-19)
    240==========================
  • trunk/UCore.pas

    r250 r253  
    285285      FormMain.WindowState := wsFullScreen;
    286286    end;
     287    FormMain.BorderStyle := bsSizeable;
    287288    FormMain.WindowState := OldWindowState;
    288289    InFullScreenMode := False;
    289290  end else begin
    290291    OldWindowState := FormMain.WindowState;
     292    FormMain.BorderStyle := bsNone;
    291293    FormMain.WindowState := wsFullScreen;
    292294    InFullScreenMode := True;
  • trunk/xtactics.lpi

    r231 r253  
    1818      <OutDir Value="Languages"/>
    1919    </i18n>
     20    <VersionInfo>
     21      <UseVersionInfo Value="True"/>
     22      <MajorVersionNr Value="1"/>
     23      <MinorVersionNr Value="4"/>
     24    </VersionInfo>
    2025    <BuildModes Count="2">
    2126      <Item1 Name="Debug" Default="True"/>
Note: See TracChangeset for help on using the changeset viewer.