mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-01-18 23:51:53 +00:00
bleargh, revert all that :/
This commit is contained in:
parent
89102c17c7
commit
ce66ef6e8e
7 changed files with 1 additions and 40 deletions
|
@ -3065,8 +3065,6 @@ void() ClientConnect =
|
|||
{
|
||||
local string st;
|
||||
|
||||
initentity (self);
|
||||
|
||||
bprint (PRINT_HIGH, self.netname);
|
||||
bprint (PRINT_HIGH, " has joined the server\n");
|
||||
|
||||
|
|
2
defs.qc
2
defs.qc
|
@ -446,7 +446,7 @@ void(string e) error = #10;
|
|||
void(string e) objerror = #11;
|
||||
float(vector v) vlen = #12;
|
||||
float(vector v) vectoyaw = #13;
|
||||
entity() real_spawn = #14;
|
||||
entity() spawn = #14;
|
||||
void(entity e) remove = #15;
|
||||
|
||||
// sets trace_* globals
|
||||
|
|
1
defs.qh
1
defs.qh
|
@ -1,5 +1,4 @@
|
|||
#include "options.qh"
|
||||
#include "spawn.qh"
|
||||
|
||||
// because I want a boolean type :)
|
||||
#define boolean integer
|
||||
|
|
|
@ -80,4 +80,3 @@ spectate.qc
|
|||
ofnents.qc
|
||||
|
||||
waypoint.qc
|
||||
spawn.qc
|
||||
|
|
31
spawn.qc
31
spawn.qc
|
@ -1,31 +0,0 @@
|
|||
#include "defs.qh"
|
||||
|
||||
entity () real_spawn;
|
||||
void (entity ent) initentity;
|
||||
|
||||
entity () spawn =
|
||||
{
|
||||
local entity ent;
|
||||
|
||||
ent = real_spawn ();
|
||||
initentity (ent);
|
||||
|
||||
return ent;
|
||||
};
|
||||
|
||||
void (entity ent) initentity =
|
||||
{
|
||||
ent.classname = "";
|
||||
ent.netname = "";
|
||||
ent.targetname = "";
|
||||
ent.target = "";
|
||||
ent.team_str_home = "";
|
||||
ent.flame_id = "";
|
||||
ent.group = "";
|
||||
ent.message = "";
|
||||
|
||||
// self.solid = SOLID_NOT;
|
||||
// self.movetype = MOVETYPE_NONE;
|
||||
// setmodel (self, "");
|
||||
// ent.model = "";
|
||||
};
|
2
spawn.qh
2
spawn.qh
|
@ -1,2 +0,0 @@
|
|||
entity () spawn;
|
||||
void (entity ent) initentity;
|
|
@ -19,8 +19,6 @@ called when a spectator connects to a server
|
|||
*/
|
||||
void() SpectatorConnect =
|
||||
{
|
||||
initentity (self);
|
||||
|
||||
bprint (PRINT_MEDIUM, "Spectator ");
|
||||
bprint (PRINT_MEDIUM, self.netname);
|
||||
bprint (PRINT_MEDIUM, " connected\n");
|
||||
|
|
Loading…
Reference in a new issue