mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-25 13:21:30 +00:00
fix a few compile issues
This commit is contained in:
parent
be35af6714
commit
1fdecdcafd
2 changed files with 27 additions and 27 deletions
|
@ -255,31 +255,31 @@
|
|||
#define VEC_HULL2_MAX '32 32 64'
|
||||
|
||||
// protocol bytes
|
||||
#define SVC_TEMPENTITY 23
|
||||
#define SVC_KILLEDMONSTER 27
|
||||
#define SVC_FOUNDSECRET 28
|
||||
#define SVC_INTERMISSION 30
|
||||
#define SVC_FINALE 31
|
||||
#define SVC_CDTRACK 32
|
||||
#define SVC_SELLSCREEN 33
|
||||
#define SVC_SMALLKICK 34
|
||||
#define SVC_BIGKICK 35
|
||||
#define SVC_MUZZLEFLASH 39
|
||||
#define SVC_TEMPENTITY 23.0
|
||||
#define SVC_KILLEDMONSTER 27.0
|
||||
#define SVC_FOUNDSECRET 28.0
|
||||
#define SVC_INTERMISSION 30.0
|
||||
#define SVC_FINALE 31.0
|
||||
#define SVC_CDTRACK 32.0
|
||||
#define SVC_SELLSCREEN 33.0
|
||||
#define SVC_SMALLKICK 34.0
|
||||
#define SVC_BIGKICK 35.0
|
||||
#define SVC_MUZZLEFLASH 39.0
|
||||
|
||||
#define TE_SPIKE 0
|
||||
#define TE_SUPERSPIKE 1
|
||||
#define TE_GUNSHOT 2
|
||||
#define TE_EXPLOSION 3
|
||||
#define TE_TAREXPLOSION 4
|
||||
#define TE_LIGHTNING1 5
|
||||
#define TE_LIGHTNING2 6
|
||||
#define TE_WIZSPIKE 7
|
||||
#define TE_KNIGHTSPIKE 8
|
||||
#define TE_LIGHTNING3 9
|
||||
#define TE_LAVASPLASH 10
|
||||
#define TE_TELEPORT 11
|
||||
#define TE_BLOOD 12
|
||||
#define TE_LIGHTNINGBLOOD 13
|
||||
#define TE_SPIKE 0.0
|
||||
#define TE_SUPERSPIKE 1.0
|
||||
#define TE_GUNSHOT 2.0
|
||||
#define TE_EXPLOSION 3.0
|
||||
#define TE_TAREXPLOSION 4.0
|
||||
#define TE_LIGHTNING1 5.0
|
||||
#define TE_LIGHTNING2 6.0
|
||||
#define TE_WIZSPIKE 7.0
|
||||
#define TE_KNIGHTSPIKE 8.0
|
||||
#define TE_LIGHTNING3 9.0
|
||||
#define TE_LAVASPLASH 10.0
|
||||
#define TE_TELEPORT 11.0
|
||||
#define TE_BLOOD 12.0
|
||||
#define TE_LIGHTNINGBLOOD 13.0
|
||||
|
||||
// sound channels
|
||||
// channel 0 never willingly overrides
|
||||
|
|
|
@ -153,12 +153,12 @@ void(vector org, float damage) SpawnBlood =
|
|||
|
||||
if (trace_ent.nobleed) {
|
||||
type = TE_GUNSHOT;
|
||||
count = 5.0
|
||||
count = 5.0;
|
||||
} else {
|
||||
type = TE_BLOOD;
|
||||
count = 1.0;
|
||||
}
|
||||
WriteBytes (MSG_MULTICAST, SVC_TEMPENTIty, type, count);
|
||||
WriteBytes (MSG_MULTICAST, SVC_TEMPENTITY, type, count);
|
||||
WriteCoordV (MSG_MULTICAST, org);
|
||||
multicast (org, MULTICAST_PVS);
|
||||
};
|
||||
|
@ -231,7 +231,7 @@ void() Multi_Finish =
|
|||
WriteCoordV (MSG_MULTICAST, puff_org);
|
||||
}
|
||||
if (blood_count) {
|
||||
WriteByte (MSG_MULTICAST, SVC_TEMPENTITY, TE_BLOOD, blood_count);
|
||||
WriteBytes (MSG_MULTICAST, SVC_TEMPENTITY, TE_BLOOD, blood_count);
|
||||
WriteCoordV (MSG_MULTICAST, blood_org);
|
||||
}
|
||||
multicast (puff_org, MULTICAST_PVS);
|
||||
|
|
Loading…
Reference in a new issue