Updated release. Removed defunct ConvoCC includes.

This commit is contained in:
Jaysyn904
2024-05-11 18:11:56 -04:00
parent 1779e9a728
commit 2c917cf128
8 changed files with 83 additions and 4229 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -124,6 +124,8 @@ int _CheckEpicSpellcastingForClass(object oPC, int nClass)
case CLASS_TYPE_WARMAGE: return GetIsEpicWarmage(oPC);
case CLASS_TYPE_BLIGHTER: return GetIsEpicBlighter(oPC);
case CLASS_TYPE_UR_PRIEST: return GetIsEpicUrPriest(oPC);
break;
}
return FALSE;
}
@@ -268,4 +270,6 @@ string GetNameForSpell(int nSpellID)
int nFeat = GetFeatForSpell(nSpellID);
string sName = GetStringByStrRef(StringToInt(Get2DACache("feat", "FEAT", nFeat)));
return sName;
}
}
//:: void main (){}

View File

@@ -233,3 +233,5 @@ int GetDamageFromConstant(int nIPConst)
WriteTimestampedLogEntry("Unknown IP_CONST_MONSTERDAMAGE_* constant passed to GetDamageFromConstant()!");
return 0;
}
//:: void main (){}

View File

@@ -6,6 +6,8 @@
* @date created on 2009-01-25
*/
#include "prc_inc_switch"
const int PRC_SQL_ERROR = 0;
const int PRC_SQL_SUCCESS = 1;
const string XCHST_DB = "xchst_db";
@@ -109,8 +111,14 @@ int PRC_SQLFetch()
/** @todo check mySQL manual, not sure if this is needed - fluffyamoeba */
string PRC_SQLGetTick()
{
if(GetPRCSwitch(PRC_DB_SQLITE)) return "";
else return "`";
if(GetPRCSwitch(PRC_DB_SQLITE))
{
return "";
}
else
{
return "`";
}
}
string PRC_SQLGetData(int iCol)
@@ -303,4 +311,6 @@ void CreateXChestDB_MySQL()
"last timestamp NOT NULL default CURRENT_TIMESTAMP," +
"PRIMARY KEY (player,tag,name)" +
") ENGINE=MyISAM DEFAULT CHARSET=latin1;");
}
}
//:: void main (){}