Changeset 303 for branches/highdpi/NoTerm.pas
- Timestamp:
- Mar 9, 2021, 9:19:49 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/NoTerm.pas
r210 r303 25 25 G: TNewGameData; 26 26 Server: TServerCall; 27 Shade, State: TDpiBitmap; 27 Shade: TDpiBitmap; 28 State: TDpiBitmap; 28 29 WinStat, ExtStat, AloneStat: array [0 .. nPl - 1] of integer; 29 30 DisallowShowActive: array [0 .. nPl - 1] of boolean; … … 163 164 cReleaseModule: 164 165 begin 165 Shade.Free;166 State.Free;166 FreeAndNil(Shade); 167 FreeAndNil(State); 167 168 end; 168 169 … … 245 246 ShipComplete := false; 246 247 if ShipComplete then 247 inc(WinStat[p]) 248 inc(WinStat[p]); 248 249 end; 249 250 if Mode = Running then … … 255 256 begin 256 257 GoBtn.ButtonIndex := 22; 257 Mode := Stopped 258 end 258 Mode := Stopped; 259 end; 259 260 end; 260 261 … … 277 278 if (Active >= 0) and not DisallowShowActive[Active] then 278 279 ShowActive(Active, true); 279 end 280 281 end 280 end; 281 end; 282 282 end; 283 283 … … 292 292 GoBtn.Update; 293 293 Server(sTurn, me, 0, nil^); 294 end 294 end; 295 295 end; 296 296 … … 300 300 EndPlaying 301 301 else 302 Mode := Quit 302 Mode := Quit; 303 303 end; 304 304
Note:
See TracChangeset
for help on using the changeset viewer.