get everything compiling again. there are likely still incorrect prototypes

This commit is contained in:
Bill Currie 2002-08-15 07:05:17 +00:00
parent 118fc4b3ef
commit d97a584c4f
10 changed files with 12 additions and 15 deletions

View file

@ -1,10 +1,10 @@
#include "axe.h"
#include "gameent.h"
#include "message.h"
#include "math.h"
#include "physics.h"
#include "qw_message.h"
#include "sound.h"
#include "tempent.h"
#include "trace.h"
#include "vector.h"
#include "world.h"
@implementation Axe

View file

@ -1,4 +1,4 @@
#include "message.h"
#include "qw_message.h"
#include "tempent.h"
void(vector org, float damage) SpawnBlood =

View file

@ -4,10 +4,6 @@
id world;
integer deathmatch;
void(entity e, vector min, vector max) setsize = #0;
void(entity e, vector o) setorigin = #0;
#define MAX_BODIES 8
@interface BodyQue : Object

View file

@ -3,7 +3,7 @@
@extern vector v_forward, v_up, v_right;
@extern void (entity e) makevectors;
@extern void (vector ang) makevectors;
@extern float () random;
@extern integer (float f) ftoi;
@extern float (integer i) itof;

View file

@ -11,7 +11,7 @@
@extern float trace_inopen;
@extern float trace_inwater;
@extern float (vector v1, vector v2, float tryents) traceline;
@extern void (vector v1, vector v2, float nomonsters, entity forent) traceline;
@extern entity () checkclient;
@extern float (float yaw, float dist) walkmove;
@extern float () droptofloor;

View file

@ -1,6 +1,8 @@
#ifndef __qw_message_h
#define __qw_message_h
#include "message.h"
@extern void (vector where, float set) multicast;
#endif//__qw_message_h

View file

@ -13,7 +13,7 @@
#define ATTN_IDLE 2
#define ATTN_STATIC 3
@extern void (entity e, float chan, string samp) sound;
@extern void (entity e, float chan, string samp, float vol, float atten) sound;
@extern void (vector pos, string samp, float vol, float atten) ambientsound;
#endif//__sound_h

View file

@ -2,7 +2,7 @@
vector v_forward, v_up, v_right;
void (entity e) makevectors = #1;
void (vector ang) makevectors = #1;
float () random = #7;
integer (float f) ftoi = #110;
float (integer i) itof = #111;

View file

@ -10,9 +10,8 @@ entity trace_ent;
float trace_inopen;
float trace_inwater;
void(vector v1, vector v2, float nomonsters, entity forent) traceline = #0;
float (vector v1, vector v2, float tryents) traceline = #16;
void (vector v1, vector v2, float nomonsters, entity forent) traceline = #16;
entity () checkclient = #17;
float (float yaw, float dist) walkmove = #32;
float () droptofloor = #34;

View file

@ -1,4 +1,4 @@
#include "sound.h"
void (entity e, float chan, string samp) sound = #8;
void (entity e, float chan, string samp, float vol, float atten) sound = #8;
void (vector pos, string samp, float vol, float atten) ambientsound = #74;