progress getting klik to compile

This commit is contained in:
Bill Currie 2003-10-27 21:26:50 +00:00
parent cc9c73acf9
commit 13ecbceba2
7 changed files with 21 additions and 1 deletions

View file

@ -3,6 +3,9 @@
#include "mapents_util.qh" #include "mapents_util.qh"
#include "damage.qh" #include "damage.qh"
#define IMPLEMENT_MAPENTS
#include "mapents.qh"
/*QUAKED info_intermission (1 0.5 0.5) (-16 -16 -16) (16 16 16) /*QUAKED info_intermission (1 0.5 0.5) (-16 -16 -16) (16 16 16)
This is the camera point for the intermission. This is the camera point for the intermission.
Use mangle instead of angle, so you can set pitch or roll as well as yaw. 'pitch roll yaw' Use mangle instead of angle, so you can set pitch or roll as well as yaw. 'pitch roll yaw'

10
klik/mapents/mapents.qh Normal file
View file

@ -0,0 +1,10 @@
#ifndef IMPLEMENT_MAPENTS
@extern {
#endif
entity intermission_head;
entity spawn_head;
#ifndef IMPLEMENT_MAPENTS
};
#endif

View file

@ -2,7 +2,7 @@
#define QW_SYSTEM_qh 1 #define QW_SYSTEM_qh 1
@extern { @extern {
#include "qw/system.qc" #include "qw/sys_defs.qc"
}; };
#endif #endif

View file

@ -15,6 +15,8 @@
#include "delays.qh" #include "delays.qh"
#include "mapents.qh"
#define SV_FRAMES_BEFORE_SPAWN 3 #define SV_FRAMES_BEFORE_SPAWN 3
void() main = { void() main = {

View file

@ -1,3 +1,6 @@
#ifndef SYSTEM_qh
#include "sys_defs.qc"
#endif
void() NOTHING_function = {}; void() NOTHING_function = {};

View file

@ -1,6 +1,8 @@
#ifndef SYSTEM_qh #ifndef SYSTEM_qh
#define SYSTEM_qh 1 #define SYSTEM_qh 1
#include "sys_defs.qh"
@extern { @extern {
#include "system.qc" #include "system.qc"
}; };