mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-22 03:51:12 +00:00
progress getting klik to compile
This commit is contained in:
parent
cc9c73acf9
commit
13ecbceba2
7 changed files with 21 additions and 1 deletions
|
@ -3,6 +3,9 @@
|
|||
#include "mapents_util.qh"
|
||||
#include "damage.qh"
|
||||
|
||||
#define IMPLEMENT_MAPENTS
|
||||
#include "mapents.qh"
|
||||
|
||||
/*QUAKED info_intermission (1 0.5 0.5) (-16 -16 -16) (16 16 16)
|
||||
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'
|
||||
|
|
10
klik/mapents/mapents.qh
Normal file
10
klik/mapents/mapents.qh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef IMPLEMENT_MAPENTS
|
||||
@extern {
|
||||
#endif
|
||||
|
||||
entity intermission_head;
|
||||
entity spawn_head;
|
||||
|
||||
#ifndef IMPLEMENT_MAPENTS
|
||||
};
|
||||
#endif
|
|
@ -2,7 +2,7 @@
|
|||
#define QW_SYSTEM_qh 1
|
||||
|
||||
@extern {
|
||||
#include "qw/system.qc"
|
||||
#include "qw/sys_defs.qc"
|
||||
};
|
||||
|
||||
#endif
|
|
@ -15,6 +15,8 @@
|
|||
|
||||
#include "delays.qh"
|
||||
|
||||
#include "mapents.qh"
|
||||
|
||||
#define SV_FRAMES_BEFORE_SPAWN 3
|
||||
|
||||
void() main = {
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef SYSTEM_qh
|
||||
#include "sys_defs.qc"
|
||||
#endif
|
||||
|
||||
void() NOTHING_function = {};
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef SYSTEM_qh
|
||||
#define SYSTEM_qh 1
|
||||
|
||||
#include "sys_defs.qh"
|
||||
|
||||
@extern {
|
||||
#include "system.qc"
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue