UFO: Alien Invasion
g_func.h
Go to the documentation of this file.
1
6/*
7All original material Copyright (C) 2002-2022 UFO: Alien Invasion.
8
9Original file from Quake 2 v3.21: quake2-2.31/game/g_spawn.c
10Copyright (C) 1997-2001 Id Software, Inc.
11
12This program is free software; you can redistribute it and/or
13modify it under the terms of the GNU General Public License
14as published by the Free Software Foundation; either version 2
15of the License, or (at your option) any later version.
16
17This program is distributed in the hope that it will be useful,
18but WITHOUT ANY WARRANTY; without even the implied warranty of
19MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
21See the GNU General Public License for more details.
22
23You should have received a copy of the GNU General Public License
24along with this program; if not, write to the Free Software
25Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
27*/
28
29#pragma once
30
31#include "g_local.h"
32
33void SP_func_breakable(Edict* ent);
34void SP_func_door(Edict* ent);
36void SP_func_rotating(Edict* ent);
Definition: g_edict.h:45
void SP_func_breakable(Edict *ent)
func_breakable (0.3 0.3 0.3) ? Used for breakable objects.
Definition: g_func.cpp:144
void SP_func_door(Edict *ent)
func_door (0 .5 .8) ? "health" if set, door is destroyable
Definition: g_func.cpp:335
void SP_func_door_sliding(Edict *ent)
Definition: g_func.cpp:374
void SP_func_rotating(Edict *ent)
Spawns a rotating solid inline brush model.
Definition: g_func.cpp:405
Local definitions for game module.