djcev.com

//

Git Repos / fte_dogmode / qc / info / null.qc

Last update to this file was on 2024-03-24 at 02:40.

Show null.qc

//==============================================================================
// info_null
//==============================================================================

//======================================================================
// forward declarations
//======================================================================

// info_null
entity(entity src, vector org) spawn_info_null;
void(entity e) info_null_init;
void() info_null;

//------------------------------------------------------------------------------

/*QUAKED info_null (0 0.5 0) (-4 -4 -4) (4 4 4) X X X X X X X X NOT_ON_EASY NOT_ON_NORMAL NOT_ON_HARD_OR_NIGHTMARE NOT_IN_DEATHMATCH NOT_IN_COOP NOT_IN_SINGLEPLAYER X NOT_ON_HARD_ONLY NOT_ON_NIGHTMARE_ONLY

Used as a positional target for spotlights, etc.
*/

//----------------------------------------------------------------------
// class info_null: base_mapentity
// {
//--------------------------------------------------------------
entity(entity src, vector org) spawn_info_null =
{
local entity e = spawn ();
e.owner = src;
e.origin = org;
info_null_init (e);
return e;
};

//--------------------------------------------------------------
void(entity e) info_null_init =
{
base_mapentity_init (e);
e.classname = "info_null";
e.classtype = CT_INFO_NULL;
remove (self);
};

//--------------------------------------------------------------
void() info_null =
{
// new spawnflags for all entities -- iw
if (SUB_Inhibit())
return;

info_null_init (self);
};
// };

Return to the top of this page or return to the overview of this repo.

Log null.qc

Date Commit Message Author + -
2024-03-24 2nd pass refactor, rework QC class structure cev +40 -5
2024-01-09 Continue OO / Class-based refactor cev +1 -6
2023-12-09 Start OO / class-based refactor, work on items cev +22  

Return to the top of this page or return to the overview of this repo.