bleargh, revert all that :/

This commit is contained in:
Adam Olsen 2001-08-13 21:51:06 +00:00
parent 89102c17c7
commit ce66ef6e8e
7 changed files with 1 additions and 40 deletions

View File

@ -3065,8 +3065,6 @@ void() ClientConnect =
{ {
local string st; local string st;
initentity (self);
bprint (PRINT_HIGH, self.netname); bprint (PRINT_HIGH, self.netname);
bprint (PRINT_HIGH, " has joined the server\n"); bprint (PRINT_HIGH, " has joined the server\n");

View File

@ -446,7 +446,7 @@ void(string e) error = #10;
void(string e) objerror = #11; void(string e) objerror = #11;
float(vector v) vlen = #12; float(vector v) vlen = #12;
float(vector v) vectoyaw = #13; float(vector v) vectoyaw = #13;
entity() real_spawn = #14; entity() spawn = #14;
void(entity e) remove = #15; void(entity e) remove = #15;
// sets trace_* globals // sets trace_* globals

View File

@ -1,5 +1,4 @@
#include "options.qh" #include "options.qh"
#include "spawn.qh"
// because I want a boolean type :) // because I want a boolean type :)
#define boolean integer #define boolean integer

View File

@ -80,4 +80,3 @@ spectate.qc
ofnents.qc ofnents.qc
waypoint.qc waypoint.qc
spawn.qc

View File

@ -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 = "";
};

View File

@ -1,2 +0,0 @@
entity () spawn;
void (entity ent) initentity;

View File

@ -19,8 +19,6 @@ called when a spectator connects to a server
*/ */
void() SpectatorConnect = void() SpectatorConnect =
{ {
initentity (self);
bprint (PRINT_MEDIUM, "Spectator "); bprint (PRINT_MEDIUM, "Spectator ");
bprint (PRINT_MEDIUM, self.netname); bprint (PRINT_MEDIUM, self.netname);
bprint (PRINT_MEDIUM, " connected\n"); bprint (PRINT_MEDIUM, " connected\n");