note description: "[ p_local.h Play functions, animation, global header. ]" license: "[ Copyright (C) 1993-1996 by id Software, Inc. Copyright (C) 2005-2014 Simon Howard Copyright (C) 2021 Ilgiz Mustafin 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 2 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ]" class P_LOCAL create default_create feature Floatspeed: INTEGER_32 once Result := 4 * {M_FIXED}.fracunit ensure instance_free: class end Maxradius: INTEGER_32 -- MAXRADIUS is for precalculated sector block boxes -- the spider demon is larger, -- but we do not have any moving sectors nearby once Result := 32 * {M_FIXED}.fracunit ensure instance_free: class end Gravity: INTEGER_32 once Result := {M_FIXED}.fracunit ensure instance_free: class end Maxmove: INTEGER_32 once Result := 30 * {M_FIXED}.fracunit ensure instance_free: class end Mapblockshift: INTEGER_32 once Result := {M_FIXED}.fracbits + 7 ensure instance_free: class end Onfloorz: INTEGER_32 once Result := {DOOMTYPE_H}.minint ensure instance_free: class end Onceilingz: INTEGER_32 once Result := {DOOMTYPE_H}.maxint ensure instance_free: class end Viewheight: INTEGER_32 once Result := 41 * {M_FIXED}.fracunit ensure instance_free: class end Maxhealth: INTEGER_32 = 100 Userange: INTEGER_32 once Result := 64 * {M_FIXED}.fracunit ensure instance_free: class end Pt_addlines: INTEGER_32 = 1 Pt_addthings: INTEGER_32 = 2 Pt_earlyout: INTEGER_32 = 4 Mapblockunits: INTEGER_32 = 128 Mapblocksize: INTEGER_32 once Result := Mapblockunits * {M_FIXED}.fracunit ensure instance_free: class end Mapbtofrac: INTEGER_32 once Result := Mapblockshift - {M_FIXED}.fracbits ensure instance_free: class end Maxintercepts: INTEGER_32 = 128 Missilerange: INTEGER_32 once Result := 32 * 64 * {M_FIXED}.fracunit ensure instance_free: class end Meleerange: INTEGER_32 once Result := 64 * {M_FIXED}.fracunit ensure instance_free: class end Itemquesize: INTEGER_32 = 128 Basethreshold: INTEGER_32 = 100 -- follow a player exlusively for 3 seconds end -- class P_LOCAL
Generated by ISE EiffelStudio