mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4658 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d7f83cbdc7
commit
4c3cb29108
3 changed files with 5 additions and 1 deletions
|
@ -545,6 +545,7 @@ void CL_RegisterParticles(void)
|
|||
ptqw_blood = P_FindParticleType("TE_BLOOD");
|
||||
ptqw_lightningblood = P_FindParticleType("TE_LIGHTNINGBLOOD");
|
||||
|
||||
#ifdef Q2CLIENT
|
||||
if (cls.protocol == CP_QUAKE2)
|
||||
{
|
||||
for (i = 0; i < sizeof(pt_q2)/sizeof(pt_q2[0]); i++)
|
||||
|
@ -572,6 +573,7 @@ void CL_RegisterParticles(void)
|
|||
rtq2_rocket = P_INVALID;
|
||||
rtq2_grenade = P_INVALID;
|
||||
}
|
||||
#endif
|
||||
|
||||
rtqw_railtrail = P_FindParticleType("TE_RAILTRAIL");
|
||||
rtfte_lightning1 = P_FindParticleType("TE_LIGHTNING1");
|
||||
|
|
|
@ -40,6 +40,7 @@ extern int
|
|||
ptqw_blood,
|
||||
ptqw_lightningblood,
|
||||
|
||||
#ifdef Q2CLIENT
|
||||
ptq2_blood,
|
||||
rtq2_railtrail,
|
||||
rtq2_blastertrail,
|
||||
|
@ -48,6 +49,7 @@ extern int
|
|||
rtq2_gib,
|
||||
rtq2_rocket,
|
||||
rtq2_grenade,
|
||||
#endif
|
||||
|
||||
rtqw_railtrail, //common to zquake/fuhquake/fte
|
||||
rtfte_lightning1,
|
||||
|
|
|
@ -219,7 +219,7 @@ int Mod_RegisterModelFormatMagic(void *module, const char *formatname, unsigned
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
void Mod_UnRegisterModelFormat(int idx)
|
||||
void Mod_UnRegisterModelFormat(void *module, int idx)
|
||||
{
|
||||
}
|
||||
void Mod_UnRegisterAllModelFormats(void *module)
|
||||
|
|
Loading…
Reference in a new issue