diff --git a/src/gx/glgfx.pas b/src/gx/glgfx.pas
index 84bbe534e6109242155034c68c8be8cd46123569..1237550cc98d8b425a42f041810b30681702fe78 100644 (file)
--- a/src/gx/glgfx.pas
+++ b/src/gx/glgfx.pas
-(* Copyright (C) DooM 2D:Forever Developers
+(* coded by Ketmar // Invisible Vector <ketmar@ketmar.no-ip.org>
+ * Understanding is not required. Only obedience.
*
* 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
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*)
{$INCLUDE ../shared/a_modes.inc}
unit glgfx;
glDisable(GL_TEXTURE_2D);
if (not isScaled) then
begin
+ glLineWidth(1);
glBegin(GL_LINES);
glVertex2f(x+0.375, y+0.375);
glVertex2f(x+len+0.375, y+0.375);
glDisable(GL_TEXTURE_2D);
if (not isScaled) then
begin
+ glLineWidth(1);
glBegin(GL_LINES);
glVertex2f(x+0.375, y+0.375);
glVertex2f(x+0.375, y+len+0.375);
if (not isScaled) then
begin
+ glLineWidth(1);
glBegin(GL_LINES);
glVertex2f(x1+0.375, y1+0.375);
glVertex2f(x2+0.375, y2+0.375);
end
else
begin
+ glLineWidth(1);
glBegin(GL_LINES);
glVertex2i(x1, y1);
glVertex2i(x2, y2);
end
else
begin
+ glLineWidth(1);
glBegin(GL_LINES);
glVertex2i(x, y); glVertex2i(x+w, y); // top
glVertex2i(x, y+h-1); glVertex2i(x+w, y+h-1); // bottom
begin
if not scaled then
begin
+ glLineWidth(1);
glBegin(GL_LINES);
glVertex2i(x, y); glVertex2i(x+w, y); // top
glVertex2i(x, y+h-1); glVertex2i(x+w, y+h-1); // bottom