Get rid of src/gs-entbase/baseentity.h

This commit is contained in:
Marco Cawthorne 2022-07-20 16:33:52 -07:00
parent 197ce20c31
commit 30b4007894
Signed by: eukara
GPG key ID: CE2032F0A2882A22
5 changed files with 41 additions and 58 deletions

View file

@ -1,56 +0,0 @@
/*
* Copyright (c) 2016-2022 Vera Visions LLC.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
* IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
enum
{
RM_NORMAL = 0,
RM_COLOR = 1,
RM_TEXTURE = 2,
RM_GLOW = 3,
RM_SOLID = 4,
RM_ADDITIVE = 5,
RM_FULLBRIGHT = 6,
RM_ADDFRAC = 7, /* Source 2004 */
RM_WORLDGLOW = 9, /* Source 2004 */
RM_DONTRENDER = 10, /* Source 2004 */
RM_TRIGGER
};
enum
{
RFX_NORMAL = 0,
RFX_SLOWPULSE = 1,
RFX_FASTPULSE = 2,
RFX_SLOWWIDEPULSE = 3,
RFX_FASTWIDEPULSE = 4,
RFX_SLOWFADEAWAY = 5,
RFX_FASTFADEAWAY = 6,
RFX_SLOWBECOMESOLID = 7,
RFX_FASTBECOMESOLID = 8,
RFX_SLOWSTROBE = 9,
RFX_FASTSTROBE = 10,
RFX_FASTERSTROBE = 11,
RFX_SLOWFLICKER = 12,
RFX_FASTFLICKER = 13,
RFX_CONSTANTGLOW = 14,
RFX_DISTORT = 15,
RFX_HOLOGRAM = 16,
RFX_GLOWSHELL = 19,
RFX_GLOWSHELL2 = 20,
RFX_Q2PULSE = 21
};
.bool _mapspawned;

View file

@ -3,7 +3,6 @@
#endif
#includelist
baseentity.h
decals.h
client/defs.h
client/env_cubemap.qc

View file

@ -3,7 +3,6 @@
#endif
#includelist
baseentity.h
decals.h
server/info_null.qc
server/info_notnull.qc

View file

@ -68,3 +68,5 @@ class NSIO
virtual void(entity, string, string) Input;
#endif
};
.bool _mapspawned;

View file

@ -39,6 +39,45 @@ enumflags
RDENT_CHANGED_CONTROLLER
};
enum
{
RM_NORMAL = 0,
RM_COLOR = 1,
RM_TEXTURE = 2,
RM_GLOW = 3,
RM_SOLID = 4,
RM_ADDITIVE = 5,
RM_FULLBRIGHT = 6,
RM_ADDFRAC = 7, /* Source 2004 */
RM_WORLDGLOW = 9, /* Source 2004 */
RM_DONTRENDER = 10, /* Source 2004 */
RM_TRIGGER
};
enum
{
RFX_NORMAL = 0,
RFX_SLOWPULSE = 1,
RFX_FASTPULSE = 2,
RFX_SLOWWIDEPULSE = 3,
RFX_FASTWIDEPULSE = 4,
RFX_SLOWFADEAWAY = 5,
RFX_FASTFADEAWAY = 6,
RFX_SLOWBECOMESOLID = 7,
RFX_FASTBECOMESOLID = 8,
RFX_SLOWSTROBE = 9,
RFX_FASTSTROBE = 10,
RFX_FASTERSTROBE = 11,
RFX_SLOWFLICKER = 12,
RFX_FASTFLICKER = 13,
RFX_CONSTANTGLOW = 14,
RFX_DISTORT = 15,
RFX_HOLOGRAM = 16,
RFX_GLOWSHELL = 19,
RFX_GLOWSHELL2 = 20,
RFX_Q2PULSE = 21
};
#ifdef CLIENT
var int autocvar_cl_showtriggers = FALSE;
var int autocvar_rm_unlit_additive = TRUE;