Changeset 732
- Timestamp:
- Jan 17, 2026, 9:21:53 AM (4 hours ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
Back.pas (modified) (1 diff)
-
Direct.pas (modified) (4 diffs)
-
Integrated.lpr (modified) (1 diff)
-
Start.pas (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Back.pas
r722 r732 23 23 procedure UpdateInterface; 24 24 end; 25 26 var27 Background: TBackground;28 25 29 26 -
trunk/Direct.pas
r666 r732 105 105 ntEndInfo: begin 106 106 Hide; 107 Background.Update;107 StartDlg.Background.Update; 108 108 end; 109 109 ntLoadError: begin … … 133 133 if not Quick then begin 134 134 StartDlg.Hide; 135 Background.Update;135 StartDlg.Background.Update; 136 136 end; 137 137 if MusicEnabled then begin … … 166 166 end; 167 167 ntBackOn: begin 168 Background.Show;169 Background.Update;168 StartDlg.Background.Show; 169 StartDlg.Background.Update; 170 170 Sleep(50); // prevent flickering 171 171 end; 172 ntBackOff: Background.Close;172 ntBackOff: StartDlg.Background.Close; 173 173 end; 174 174 end; … … 260 260 end; 261 261 if not Quick then begin 262 Background.Show;262 StartDlg.Background.Show; 263 263 StartDlg.Show; 264 264 end; -
trunk/Integrated.lpr
r731 r732 37 37 Application.CreateForm(TDirectDlg, DirectDlg); 38 38 Application.CreateForm(TStartDlg, StartDlg); 39 Application.CreateForm(TBackground, Background);40 39 Application.Run; 41 40 ScreenTools.UnitDone; -
trunk/Start.pas
r725 r732 5 5 6 6 uses 7 GameServer, Messg, ButtonBase, ButtonA, ButtonC, ButtonB, Area, 7 GameServer, Messg, ButtonBase, ButtonA, ButtonC, ButtonB, Area, Back, 8 8 LCLIntf, LCLType, SysUtils, Classes, BaseWin, ListBoxEx, LazFileUtils, Math, 9 9 Registry, DrawDlg, Generics.Collections, Protocol, MiniMap, Brain, Translator, … … 143 143 procedure OffscreenPaint; override; 144 144 public 145 Background: TBackground; 145 146 EmptyPicture: TBitmap; 146 147 Translator: TTranslator; … … 156 157 157 158 uses 158 Global, Directories, Direct, ScreenTools, Inp, Back,Settings, KeyBindings,159 Global, Directories, Direct, ScreenTools, Inp, Settings, KeyBindings, 159 160 Languages, Music; 160 161 … … 224 225 AIBrains: TBrains; 225 226 begin 227 Background := TBackground.Create(nil); 228 226 229 TitleHeight := 0; 227 230 PlayerSlots := TPlayerSlots.Create; … … 340 343 FreeAndNil(PlayerSlots); 341 344 FreeAndNil(MiniMap); 345 FreeAndNil(Background); 342 346 end; 343 347
Note:
See TracChangeset
for help on using the changeset viewer.
