diff --git a/src/game/g_gfx.pas b/src/game/g_gfx.pas
index 82a45e3e21e8724a2c9b5c66864b394f0d508e1a..f39d0710c683638f30b61674a1b3e1b287a64705 100644 (file)
--- a/src/game/g_gfx.pas
+++ b/src/game/g_gfx.pas
+(* Copyright (C) DooM 2D:Forever Developers
+ *
+ * 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * 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/>.
+ *)
+{$MODE DELPHI}
unit g_gfx;
interface
if Width < 0 then
Exit;
-
+
if y < 0 then
begin
Height := Height + y;
Green := 255;
Blue := 255;
Alpha := 255;
-
+
State := STATE_NORMAL;
Time := 0;
LiveTime := 65535;
ParticleType := PARTICLE_BUBBLES;
-
+
CorrectOffsets(CurrentParticle);
end;
begin
glDisable(GL_TEXTURE_2D);
glPointSize(2);
-
+
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);