Changeset 91 for trunk/UGame.pas
- Timestamp:
- Dec 4, 2014, 10:18:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r90 r91 426 426 SUnfinishedBattle = 'Unfinished battle'; 427 427 SNewGameFile = 'New game.xtg'; 428 SZeroZoomNotAlowed = 'Zero zoom not allowed'; 428 429 429 430 procedure InitStrings; … … 1429 1430 begin 1430 1431 if FZoom = AValue then Exit; 1432 if AValue = 0 then 1433 raise Exception.Create(SZeroZoomNotAlowed); 1431 1434 FZoom := AValue; 1432 1435 SourceRect := Bounds(Trunc(SourceRect.Left + (SourceRect.Right - SourceRect.Left) div 2 - (DestRect.Right - DestRect.Left) / Zoom / 2),
Note:
See TracChangeset
for help on using the changeset viewer.