mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Change space indentation to tabs
This commit is contained in:
+31
-33
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* This file was generated automatically by xsubpp version 1.9508 from the
|
||||
* contents of tmp. Do not edit this file, edit tmp instead.
|
||||
*
|
||||
* ANY CHANGES MADE HERE WILL BE LOST!
|
||||
*
|
||||
*/
|
||||
* This file was generated automatically by xsubpp version 1.9508 from the
|
||||
* contents of tmp. Do not edit this file, edit tmp instead.
|
||||
*
|
||||
* ANY CHANGES MADE HERE WILL BE LOST!
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/* EQEMu: Everquest Server Emulator
|
||||
Copyright (C) 2001-2004 EQEMu Development Team (http://eqemulator.net)
|
||||
/* EQEMu: Everquest Server Emulator
|
||||
Copyright (C) 2001-2004 EQEMu Development Team (http://eqemulator.net)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -18,11 +18,11 @@
|
||||
but WITHOUT ANY WARRANTY except by those people which sell it, which
|
||||
are required to give you total support for your newly bought product;
|
||||
without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../common/features.h"
|
||||
@@ -40,7 +40,7 @@ typedef const char Const_char;
|
||||
#include "client.h"
|
||||
#include "../common/spdat.h"
|
||||
|
||||
#ifdef THIS /* this macro seems to leak out on some systems */
|
||||
#ifdef THIS /* this macro seems to leak out on some systems */
|
||||
#undef THIS
|
||||
#endif
|
||||
|
||||
@@ -5872,9 +5872,9 @@ XS(XS_Mob_NPCSpecialAttacks)
|
||||
{
|
||||
Mob * THIS;
|
||||
char* parse = (char *)SvPV_nolen(ST(1));
|
||||
int permtag = (int)SvIV(ST(2));
|
||||
bool reset = items == 4 ? (bool)SvTRUE(ST(3)) : true;
|
||||
bool remove = items == 5 ? (bool)SvTRUE(ST(4)) : false;
|
||||
int permtag = (int)SvIV(ST(2));
|
||||
bool reset = items == 4 ? (bool)SvTRUE(ST(3)) : true;
|
||||
bool remove = items == 5 ? (bool)SvTRUE(ST(4)) : false;
|
||||
|
||||
if (sv_derived_from(ST(0), "Mob")) {
|
||||
IV tmp = SvIV((SV*)SvRV(ST(0)));
|
||||
@@ -6792,7 +6792,7 @@ XS(XS_Mob_ProjectileAnim)
|
||||
{
|
||||
dXSARGS;
|
||||
if (items < 3 || items > 8)
|
||||
Perl_croak(aTHX_ "Usage: Mob::ProjectileAnim(THIS, mob, item_id, IsArrow?, speed, angle, tilt, arc)");
|
||||
Perl_croak(aTHX_ "Usage: Mob::ProjectileAnim(THIS, mob, item_id, IsArrow?, speed, angle, tilt, arc)");
|
||||
|
||||
{
|
||||
Mob * THIS;
|
||||
@@ -7407,7 +7407,7 @@ XS(XS_Mob_DoKnockback)
|
||||
Perl_croak(aTHX_ "Usage: Mob::DoKnockback(THIS, caster, pushback, pushup)");
|
||||
{
|
||||
Mob * THIS;
|
||||
Mob * caster;
|
||||
Mob * caster;
|
||||
uint32 pushback = (uint16)SvUV(ST(2));
|
||||
uint32 pushup = (uint16)SvUV(ST(2));
|
||||
|
||||
@@ -7477,7 +7477,7 @@ XS(XS_Mob_SetRunning)
|
||||
if(THIS == nullptr)
|
||||
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
|
||||
|
||||
THIS->SetRunning(value);
|
||||
THIS->SetRunning(value);
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
}
|
||||
@@ -7502,7 +7502,7 @@ XS(XS_Mob_IsRunning)
|
||||
if(THIS == nullptr)
|
||||
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
|
||||
|
||||
RETVAL = THIS->IsRunning();
|
||||
RETVAL = THIS->IsRunning();
|
||||
ST(0) = boolSV(RETVAL);
|
||||
sv_2mortal(ST(0));
|
||||
}
|
||||
@@ -7518,7 +7518,7 @@ XS(XS_Mob_SetBodyType)
|
||||
{
|
||||
Mob * THIS;
|
||||
int32 type = (int32)SvIV(ST(1));
|
||||
bool overwrite_orig = false;
|
||||
bool overwrite_orig = false;
|
||||
|
||||
if (sv_derived_from(ST(0), "Mob")) {
|
||||
IV tmp = SvIV((SV*)SvRV(ST(0)));
|
||||
@@ -7529,11 +7529,11 @@ XS(XS_Mob_SetBodyType)
|
||||
if(THIS == nullptr)
|
||||
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
|
||||
|
||||
if(items == 3) {
|
||||
overwrite_orig = (bool)SvTRUE(ST(2));
|
||||
}
|
||||
if(items == 3) {
|
||||
overwrite_orig = (bool)SvTRUE(ST(2));
|
||||
}
|
||||
|
||||
THIS->SetBodyType((bodyType)type, overwrite_orig);
|
||||
THIS->SetBodyType((bodyType)type, overwrite_orig);
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
}
|
||||
@@ -7584,7 +7584,7 @@ XS(XS_Mob_SetLD)
|
||||
if(THIS == nullptr)
|
||||
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
|
||||
|
||||
THIS->SendAppearancePacket(AT_Linkdead, value);
|
||||
THIS->SendAppearancePacket(AT_Linkdead, value);
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
}
|
||||
@@ -7735,7 +7735,7 @@ XS(XS_Mob_SetAllowBeneficial)
|
||||
if(THIS == nullptr)
|
||||
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
|
||||
|
||||
THIS->SetAllowBeneficial(value);
|
||||
THIS->SetAllowBeneficial(value);
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
}
|
||||
@@ -7811,7 +7811,7 @@ XS(XS_Mob_ModVulnerability)
|
||||
Perl_croak(aTHX_ "Usage: Mob::ModVulnerability(THIS, resist, value)");
|
||||
{
|
||||
Mob * THIS;
|
||||
uint8 resist = (uint8)SvIV(ST(1));
|
||||
uint8 resist = (uint8)SvIV(ST(1));
|
||||
int16 value = (int16)SvIV(ST(2));
|
||||
|
||||
if (sv_derived_from(ST(0), "Mob")) {
|
||||
@@ -7902,8 +7902,8 @@ XS(XS_Mob_DoArcheryAttackDmg)
|
||||
{
|
||||
Mob * THIS;
|
||||
Mob* target;
|
||||
ItemInst* RangeWeapon = nullptr;
|
||||
ItemInst* Ammo = nullptr;
|
||||
ItemInst* RangeWeapon = nullptr;
|
||||
ItemInst* Ammo = nullptr;
|
||||
uint16 weapon_damage = (uint16)SvIV(ST(4));
|
||||
int16 chance_mod = (int16)SvIV(ST(5));
|
||||
int16 focus = (int16)SvIV(ST(6));
|
||||
@@ -7940,7 +7940,7 @@ XS(XS_Mob_DoThrowingAttackDmg)
|
||||
{
|
||||
Mob * THIS;
|
||||
Mob* target;
|
||||
ItemInst* RangeWeapon = nullptr;
|
||||
ItemInst* RangeWeapon = nullptr;
|
||||
Item_Struct* item = nullptr;
|
||||
uint16 weapon_damage = (uint16)SvIV(ST(4));
|
||||
int16 chance_mod = (int16)SvIV(ST(5));
|
||||
@@ -7988,7 +7988,7 @@ XS(XS_Mob_SetDisableMelee)
|
||||
if(THIS == nullptr)
|
||||
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
|
||||
|
||||
THIS->SetDisableMelee(value);
|
||||
THIS->SetDisableMelee(value);
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
}
|
||||
@@ -8086,8 +8086,6 @@ XS(boot_Mob)
|
||||
|
||||
//add the strcpy stuff to get rid of const warnings....
|
||||
|
||||
|
||||
|
||||
XS_VERSION_BOOTCHECK ;
|
||||
|
||||
newXSproto(strcpy(buf, "IsClient"), XS_Mob_IsClient, file, "$");
|
||||
@@ -8351,7 +8349,7 @@ XS(boot_Mob)
|
||||
newXSproto(strcpy(buf, "SetDeltas"), XS_Mob_SetDeltas, file, "$$$$$");
|
||||
newXSproto(strcpy(buf, "SetLD"), XS_Mob_SetLD, file, "$$");
|
||||
newXSproto(strcpy(buf, "SetTargetDestSteps"), XS_Mob_SetTargetDestSteps, file, "$$");
|
||||
newXSproto(strcpy(buf, "SetTargetable"), XS_Mob_SetTargetable, file, "$$");
|
||||
newXSproto(strcpy(buf, "SetTargetable"), XS_Mob_SetTargetable, file, "$$");
|
||||
newXSproto(strcpy(buf, "MakeTempPet"), XS_Mob_MakeTempPet, file, "$$;$$$$");
|
||||
newXSproto(strcpy(buf, "ModSkillDmgTaken"), XS_Mob_ModSkillDmgTaken, file, "$$$");
|
||||
newXSproto(strcpy(buf, "GetModSkillDmgTaken"), XS_Mob_GetModSkillDmgTaken, file, "$$");
|
||||
|
||||
Reference in New Issue
Block a user