djcev.com

//

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

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

Show viewthing.qc

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

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

// viewthing
void(entity e) viewthing_init;
void() viewthing;

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

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

Just for the debugging level. Don't use
*/
//----------------------------------------------------------------------
// class viewthing: base_mapentity
// {
//--------------------------------------------------------------
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);
};
// };

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

Log viewthing.qc

Date Commit Message Author + -
2024-03-24 2nd pass refactor, rework QC class structure cev +28 -8
2024-01-09 Continue OO / Class-based refactor cev +9 -8
2023-12-09 Start OO / class-based refactor, work on items cev +15 -12
2023-12-02 More refactoring & moving, begin adding mdls & snd cev +21  

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