X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fengine%2Fe_graphics.pas;h=96513d90755f8abcbe1e5237a36767dd8c45316f;hb=6e52b3dc2eb459c745e571dfef5afb5c2ccd546f;hp=47bf1107eff8781417c7e2f583f11e2201d525ce;hpb=3dc2fe6b3d29cd54425db8f590e922f2dce50e99;p=d2df-editor.git diff --git a/src/engine/e_graphics.pas b/src/engine/e_graphics.pas index 47bf110..96513d9 100644 --- a/src/engine/e_graphics.pas +++ b/src/engine/e_graphics.pas @@ -2,8 +2,7 @@ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation, version 3 of the License ONLY. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -37,7 +36,7 @@ type X, Y: Double; end; - TRect = record + TRectE = record Left, Top, Right, Bottom: Integer; end; @@ -52,7 +51,7 @@ type PPoint = ^TPoint; PPoint2f = ^TPoint2f; - PRect = ^TRect; + PRect = ^TRectE; PRectWH = ^TRectWH; @@ -126,7 +125,7 @@ procedure e_EndRender(); function _RGB(Red, Green, Blue: Byte): TRGB; function _Point(X, Y: Integer): TPoint2i; function _Rect(X, Y: Integer; Width, Height: Word): TRectWH; -function _TRect(L, T, R, B: LongInt): TRect; +function _TRect(L, T, R, B: LongInt): TRectE; //function e_getTextGLId (ID: DWORD): GLuint; @@ -1522,7 +1521,7 @@ begin Result.Height := Height; end; -function _TRect(L, T, R, B: LongInt): TRect; +function _TRect(L, T, R, B: LongInt): TRectE; begin Result.Top := T; Result.Left := L;