Initial commit

This commit is contained in:
Mike Rubits
2023-08-07 14:47:28 -05:00
commit 60f29560f3
438 changed files with 317574 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
// Copyright (c) ZeniMax Media Inc.
// Licensed under the GNU General Public License 2.0.
#include "../g_local.h"
//======================
// ROGUE
USE(misc_nuke_core_use) (edict_t *self, edict_t *other, edict_t *activator) -> void
{
if (self->svflags & SVF_NOCLIENT)
self->svflags &= ~SVF_NOCLIENT;
else
self->svflags |= SVF_NOCLIENT;
}
/*QUAKED misc_nuke_core (1 0 0) (-16 -16 -16) (16 16 16)
toggles visible/not visible. starts visible.
*/
void SP_misc_nuke_core(edict_t *ent)
{
gi.setmodel(ent, "models/objects/core/tris.md2");
gi.linkentity(ent);
ent->use = misc_nuke_core_use;
}
// ROGUE
//======================