mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-01 09:02:08 +00:00
get everything compiling again. there are likely still incorrect prototypes
This commit is contained in:
parent
118fc4b3ef
commit
d97a584c4f
10 changed files with 12 additions and 15 deletions
|
@ -1,10 +1,10 @@
|
||||||
#include "axe.h"
|
#include "axe.h"
|
||||||
#include "gameent.h"
|
#include "gameent.h"
|
||||||
#include "message.h"
|
#include "math.h"
|
||||||
|
#include "physics.h"
|
||||||
|
#include "qw_message.h"
|
||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
#include "tempent.h"
|
#include "tempent.h"
|
||||||
#include "trace.h"
|
|
||||||
#include "vector.h"
|
|
||||||
#include "world.h"
|
#include "world.h"
|
||||||
|
|
||||||
@implementation Axe
|
@implementation Axe
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "message.h"
|
#include "qw_message.h"
|
||||||
#include "tempent.h"
|
#include "tempent.h"
|
||||||
|
|
||||||
void(vector org, float damage) SpawnBlood =
|
void(vector org, float damage) SpawnBlood =
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
id world;
|
id world;
|
||||||
integer deathmatch;
|
integer deathmatch;
|
||||||
|
|
||||||
void(entity e, vector min, vector max) setsize = #0;
|
|
||||||
void(entity e, vector o) setorigin = #0;
|
|
||||||
|
|
||||||
|
|
||||||
#define MAX_BODIES 8
|
#define MAX_BODIES 8
|
||||||
|
|
||||||
@interface BodyQue : Object
|
@interface BodyQue : Object
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
@extern vector v_forward, v_up, v_right;
|
@extern vector v_forward, v_up, v_right;
|
||||||
|
|
||||||
@extern void (entity e) makevectors;
|
@extern void (vector ang) makevectors;
|
||||||
@extern float () random;
|
@extern float () random;
|
||||||
@extern integer (float f) ftoi;
|
@extern integer (float f) ftoi;
|
||||||
@extern float (integer i) itof;
|
@extern float (integer i) itof;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
@extern float trace_inopen;
|
@extern float trace_inopen;
|
||||||
@extern float trace_inwater;
|
@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 entity () checkclient;
|
||||||
@extern float (float yaw, float dist) walkmove;
|
@extern float (float yaw, float dist) walkmove;
|
||||||
@extern float () droptofloor;
|
@extern float () droptofloor;
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef __qw_message_h
|
#ifndef __qw_message_h
|
||||||
#define __qw_message_h
|
#define __qw_message_h
|
||||||
|
|
||||||
|
#include "message.h"
|
||||||
|
|
||||||
@extern void (vector where, float set) multicast;
|
@extern void (vector where, float set) multicast;
|
||||||
|
|
||||||
#endif//__qw_message_h
|
#endif//__qw_message_h
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#define ATTN_IDLE 2
|
#define ATTN_IDLE 2
|
||||||
#define ATTN_STATIC 3
|
#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;
|
@extern void (vector pos, string samp, float vol, float atten) ambientsound;
|
||||||
|
|
||||||
#endif//__sound_h
|
#endif//__sound_h
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
vector v_forward, v_up, v_right;
|
vector v_forward, v_up, v_right;
|
||||||
|
|
||||||
void (entity e) makevectors = #1;
|
void (vector ang) makevectors = #1;
|
||||||
float () random = #7;
|
float () random = #7;
|
||||||
integer (float f) ftoi = #110;
|
integer (float f) ftoi = #110;
|
||||||
float (integer i) itof = #111;
|
float (integer i) itof = #111;
|
||||||
|
|
|
@ -10,9 +10,8 @@ entity trace_ent;
|
||||||
float trace_inopen;
|
float trace_inopen;
|
||||||
float trace_inwater;
|
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;
|
entity () checkclient = #17;
|
||||||
float (float yaw, float dist) walkmove = #32;
|
float (float yaw, float dist) walkmove = #32;
|
||||||
float () droptofloor = #34;
|
float () droptofloor = #34;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "sound.h"
|
#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;
|
void (vector pos, string samp, float vol, float atten) ambientsound = #74;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue