Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
|
0e20a29227 | ||
|
5ec19369e5 |
20 changed files with 449 additions and 107 deletions
85
amtest.qc
85
amtest.qc
|
@ -1,85 +0,0 @@
|
||||||
/*~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>
|
|
||||||
~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~*/
|
|
||||||
|
|
||||||
void() test_teleport_touch;
|
|
||||||
void() tele_done;
|
|
||||||
|
|
||||||
/*QUAKED test_teleport (0 .5 .8) ?
|
|
||||||
Teleporter testing
|
|
||||||
*/
|
|
||||||
void() test_teleport =
|
|
||||||
{
|
|
||||||
precache_model ("sprites/s_aball.spr");
|
|
||||||
setsize (self, self.mins, self.maxs);
|
|
||||||
self.touch = test_teleport_touch;
|
|
||||||
self.solid = 1;
|
|
||||||
|
|
||||||
if (!self.target)
|
|
||||||
objerror ("no target\n");
|
|
||||||
};
|
|
||||||
|
|
||||||
void() test_teleport_touch =
|
|
||||||
{
|
|
||||||
local entity oldself;
|
|
||||||
other.movetype = MOVETYPE_TOSS;
|
|
||||||
// other.solid = SOLID_NOT;
|
|
||||||
other.dest = '256 -128 -128';
|
|
||||||
oldself = self;
|
|
||||||
self = other;
|
|
||||||
// SUB_CalcMove (self.dest, 200, tele_done);
|
|
||||||
self.velocity = '1000 0 0 ';
|
|
||||||
self = oldself;
|
|
||||||
};
|
|
||||||
|
|
||||||
void() tele_done =
|
|
||||||
{
|
|
||||||
self.movetype = MOVETYPE_WALK;
|
|
||||||
self.solid = SOLID_SLIDEBOX;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>
|
|
||||||
~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~<~>~*/
|
|
||||||
|
|
||||||
void() test_goaway;
|
|
||||||
void() test_spawn;
|
|
||||||
|
|
||||||
/*QUAKED test_fodder (0 .5 .8) ?
|
|
||||||
beating guy
|
|
||||||
*/
|
|
||||||
void() test_fodder =
|
|
||||||
{
|
|
||||||
self.nextthink = time + 3;
|
|
||||||
self.think = test_spawn;
|
|
||||||
};
|
|
||||||
|
|
||||||
void() test_spawn =
|
|
||||||
{
|
|
||||||
local entity body;
|
|
||||||
makevectors (self.angles);
|
|
||||||
|
|
||||||
body = spawn();
|
|
||||||
setmodel (body, "progs/soldier.mdl");
|
|
||||||
setorigin (body, self.origin);
|
|
||||||
body.classname = "player";
|
|
||||||
body.health = 1000;
|
|
||||||
body.frags = 0;
|
|
||||||
body.takedamage = DAMAGE_AIM;
|
|
||||||
body.solid = SOLID_SLIDEBOX;
|
|
||||||
body.movetype = MOVETYPE_WALK;
|
|
||||||
body.show_hostile = 0;
|
|
||||||
body.weapon = 1;
|
|
||||||
body.velocity = v_forward * 200;
|
|
||||||
|
|
||||||
body.nextthink = time + 5;
|
|
||||||
body.think = test_goaway;
|
|
||||||
|
|
||||||
self.nextthink = time + 3;
|
|
||||||
self.think = test_spawn;
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
void() test_goaway =
|
|
||||||
{
|
|
||||||
remove (self);
|
|
||||||
};
|
|
||||||
|
|
27
buttons.qc
27
buttons.qc
|
@ -1,4 +1,29 @@
|
||||||
// button and multiple button
|
/*
|
||||||
|
buttons.qc
|
||||||
|
|
||||||
|
button and multiple button
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
void() button_wait;
|
void() button_wait;
|
||||||
void() button_return;
|
void() button_return;
|
||||||
|
|
26
client.qc
26
client.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
client.qc
|
||||||
|
|
||||||
|
client functions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
// prototypes
|
// prototypes
|
||||||
void () W_WeaponFrame;
|
void () W_WeaponFrame;
|
||||||
|
|
35
combat.qc
35
combat.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
combat.qc
|
||||||
|
|
||||||
|
damage, obit, etc related functions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
void() T_MissileTouch;
|
void() T_MissileTouch;
|
||||||
void() info_player_start;
|
void() info_player_start;
|
||||||
|
@ -161,10 +187,11 @@ void(entity targ, entity inflictor, entity attacker, float damage) T_Damage=
|
||||||
dir = targ.origin - (inflictor.absmin + inflictor.absmax) * 0.5;
|
dir = targ.origin - (inflictor.absmin + inflictor.absmax) * 0.5;
|
||||||
dir = normalize(dir);
|
dir = normalize(dir);
|
||||||
// Set kickback for smaller weapons
|
// Set kickback for smaller weapons
|
||||||
// Read: only if it's not yourself doing the damage
|
//Zoid -- use normal NQ kickback
|
||||||
if ( (damage < 60) & ((attacker.classname == "player") & (targ.classname == "player")) & ( attacker.netname != targ.netname))
|
// // Read: only if it's not yourself doing the damage
|
||||||
targ.velocity = targ.velocity + dir * damage * 11;
|
// if ( (damage < 60) & ((attacker.classname == "player") & (targ.classname == "player")) & ( attacker.netname != targ.netname))
|
||||||
else
|
// targ.velocity = targ.velocity + dir * damage * 11;
|
||||||
|
// else
|
||||||
// Otherwise, these rules apply to rockets and grenades
|
// Otherwise, these rules apply to rockets and grenades
|
||||||
// for blast velocity
|
// for blast velocity
|
||||||
targ.velocity = targ.velocity + dir * damage * 8;
|
targ.velocity = targ.velocity + dir * damage * 8;
|
||||||
|
|
26
defs.qc
26
defs.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
defs.qc
|
||||||
|
|
||||||
|
global definitions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
|
26
doors.qc
26
doors.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
doors.qc
|
||||||
|
|
||||||
|
door functions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
float DOOR_START_OPEN = 1;
|
float DOOR_START_OPEN = 1;
|
||||||
float DOOR_DONT_LINK = 4;
|
float DOOR_DONT_LINK = 4;
|
||||||
|
|
26
items.qc
26
items.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
items.qc
|
||||||
|
|
||||||
|
item functions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
void() W_SetCurrentAmmo;
|
void() W_SetCurrentAmmo;
|
||||||
/* ALL LIGHTS SHOULD BE 0 1 0 IN COLOR ALL OTHER ITEMS SHOULD
|
/* ALL LIGHTS SHOULD BE 0 1 0 IN COLOR ALL OTHER ITEMS SHOULD
|
||||||
BE .8 .3 .4 IN COLOR */
|
BE .8 .3 .4 IN COLOR */
|
||||||
|
|
15
jctest.qc
15
jctest.qc
|
@ -1,15 +0,0 @@
|
||||||
|
|
||||||
void() jctrig =
|
|
||||||
{
|
|
||||||
dprint ("here\n\n");
|
|
||||||
lightstyle(0, "az");
|
|
||||||
};
|
|
||||||
|
|
||||||
/*QUAKED trigger_jctest (.5 .5 .5) ?
|
|
||||||
*/
|
|
||||||
void() trigger_jctest =
|
|
||||||
{
|
|
||||||
setsize (self, self.mins, self.maxs);
|
|
||||||
self.solid = SOLID_EDGE;
|
|
||||||
self.touch = jctrig;
|
|
||||||
};
|
|
26
misc.qc
26
misc.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
misc.qc
|
||||||
|
|
||||||
|
pretty much everything else
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
/*QUAKED info_null (0 0.5 0) (-4 -4 -4) (4 4 4)
|
/*QUAKED info_null (0 0.5 0) (-4 -4 -4) (4 4 4)
|
||||||
Used as a positional target for spotlights, etc.
|
Used as a positional target for spotlights, etc.
|
||||||
|
|
26
models.qc
26
models.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
models.qc
|
||||||
|
|
||||||
|
model definitions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
|
26
plats.qc
26
plats.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
plats.qc
|
||||||
|
|
||||||
|
platform functions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
void() plat_center_touch;
|
void() plat_center_touch;
|
||||||
|
|
26
player.qc
26
player.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
player.qc
|
||||||
|
|
||||||
|
player functions/definitions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
void() bubble_bob;
|
void() bubble_bob;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
../qwprogs.dat
|
./qwprogs.dat
|
||||||
|
|
||||||
defs.qc
|
defs.qc
|
||||||
subs.qc
|
subs.qc
|
||||||
|
|
26
server.qc
26
server.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
server.qc
|
||||||
|
|
||||||
|
server functions (movetarget code)
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
void() monster_ogre = {remove(self);};
|
void() monster_ogre = {remove(self);};
|
||||||
void() monster_demon1 = {remove(self);};
|
void() monster_demon1 = {remove(self);};
|
||||||
|
|
29
spectate.qc
29
spectate.qc
|
@ -1,4 +1,31 @@
|
||||||
// Spectator functions
|
/*
|
||||||
|
spectate.qc
|
||||||
|
|
||||||
|
spectator functions
|
||||||
|
|
||||||
|
PURPOSE
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
// Added Aug11'97 by Zoid <zoid@idsoftware.com>
|
// Added Aug11'97 by Zoid <zoid@idsoftware.com>
|
||||||
//
|
//
|
||||||
// These functions are called from the server if they exist.
|
// These functions are called from the server if they exist.
|
||||||
|
|
26
sprites.qc
26
sprites.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
sprites.qc
|
||||||
|
|
||||||
|
sprite definitions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
// these are the only sprites still in the game...
|
// these are the only sprites still in the game...
|
||||||
|
|
||||||
|
|
26
subs.qc
26
subs.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
subs.qc
|
||||||
|
|
||||||
|
sub-functions, mostly movement related
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
void() SUB_Null = {};
|
void() SUB_Null = {};
|
||||||
|
|
26
triggers.qc
26
triggers.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
triggers.qc
|
||||||
|
|
||||||
|
trigger functions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
entity stemp, otemp, s, old;
|
entity stemp, otemp, s, old;
|
||||||
|
|
||||||
|
|
25
weapons.qc
25
weapons.qc
|
@ -1,5 +1,30 @@
|
||||||
/*
|
/*
|
||||||
|
weapons.qc
|
||||||
|
|
||||||
|
weapon and weapon hit functions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void (entity targ, entity inflictor, entity attacker, float damage) T_Damage;
|
void (entity targ, entity inflictor, entity attacker, float damage) T_Damage;
|
||||||
void () player_run;
|
void () player_run;
|
||||||
void(entity bomb, entity attacker, float rad, entity ignore, string dtype) T_RadiusDamage;
|
void(entity bomb, entity attacker, float rad, entity ignore, string dtype) T_RadiusDamage;
|
||||||
|
|
26
world.qc
26
world.qc
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
world.qc
|
||||||
|
|
||||||
|
main/world setup functions
|
||||||
|
|
||||||
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
void() InitBodyQue;
|
void() InitBodyQue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue