djcev.com

//

Git Repos / fte_dogmode / qc / misc / viewthing.qc

Last update to this file was on 2024-06-15 at 19:50.

Show viewthing.qc

//~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>
// viewthing -- was in misc.qc
//~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>

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

#ifdef SSQC
// viewthing
void(entity e) viewthing_init;
void() viewthing;
#endif

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

/*QUAKED viewthing (0 .5 .8) (-8 -8 -8) (8 8 8)

Just for the debugging level. Don't use
*/
//----------------------------------------------------------------------
// class viewthing: base_mapentity
// {
#ifdef SSQC
//--------------------------------------------------------------
void(entity e) viewthing_init =
{
e.classname = "viewthing";
e.classtype = CT_MISC_VIEWTHING;

base_mapentity_init (e);

e.movetype = MOVETYPE_NONE;
e.solid = SOLID_NOT;
precache_model ("progs/player.mdl");
setmodel (e, "progs/player.mdl");
};

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

viewthing_init (self);
};
#endif
// };

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

Log viewthing.qc

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