note description: "[ doomdef.h Internally used data structures for virtually everything, key definitions, lots of other stuff. ]" 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 DOOMDEF_H inherit DOOMKEYS_H create default_create feature Version: INTEGER_32 = 110 feature Screenwidth: INTEGER_32 = 320 Screenheight: INTEGER_32 = 200 Maxplayers: INTEGER_32 = 4 Ticrate: INTEGER_32 = 35 -- State updates, number of tics / second. feature -- skill_t Sk_baby: INTEGER_32 = 0 Sk_easy: INTEGER_32 = 1 Sk_medium: INTEGER_32 = 2 Sk_hard: INTEGER_32 = 3 Sk_nightmare: INTEGER_32 = 4 feature -- gamestate_t Gs_level: INTEGER_32 = 0 Gs_intermission: INTEGER_32 = 1 Gs_finale: INTEGER_32 = 2 Gs_demoscreen: INTEGER_32 = 3 feature Mtf_ambush: INTEGER_32 = 8 -- Deaf monsters/do not react to sound feature English: INTEGER_32 = 0 French: INTEGER_32 = 1 German: INTEGER_32 = 2 Unknown: INTEGER_32 = 3 feature -- powerduration_t -- Power up durations, -- how many seconds till expiration, -- assuming TICRATE is 35 ticks/second Invulntics: INTEGER_32 once Result := 30 * Ticrate ensure instance_free: class end Invistics: INTEGER_32 once Result := 60 * Ticrate ensure instance_free: class end Infratics: INTEGER_32 once Result := 120 * Ticrate ensure instance_free: class end Irontics: INTEGER_32 once Result := 60 * Ticrate ensure instance_free: class end end -- class DOOMDEF_H
Generated by ISE EiffelStudio