summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f356426)
raw | patch | inline | side by side (parent: f356426)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 8 Jun 2021 08:08:18 +0000 (11:08 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 29 Jun 2021 09:51:11 +0000 (12:51 +0300) |
src/game/opengl/r_game.pas | patch | blob | history | |
src/game/opengl/r_player.pas | patch | blob | history |
index 3d2befe2b9808707f47fea4143b95ff09c4a7d12..e200923be35bb5d3e9cf29583372a515bc073c7e 100644 (file)
uses
{$INCLUDE ../nogl/noGLuses.inc}
+{$IFDEF ENABLE_HOLMES}
+ g_holmes,
+{$ENDIF}
SysUtils, Classes, Math,
e_graphics,
g_system, g_touch,
index 25a2dd7bfe6ea22e51efe94dc9a5ecc84bc3d286..25cd55f36cb3b1ca042886b22575b54db205bfa8 100644 (file)
SysUtils, Classes, Math,
MAPDEF, utils,
g_basic, g_game, g_phys, g_map, g_textures, g_menu, g_language, g_weapons, g_items, g_net, g_options,
+{$IFDEF ENABLE_HOLMES}
+ g_holmes,
+{$ENDIF}
r_playermodel
;
begin
{$IFDEF ENABLE_HOLMES}
- if isValidViewPort and (self = gPlayer1) then
+ if p.isValidViewPort() and (p = gPlayer1) then
begin
g_Holmes_plrLaser(ax0, ay0, ax1, ay1);
end;