Skip to content

Commit

Permalink
in-progress: 20160406
Browse files Browse the repository at this point in the history
  • Loading branch information
sigsegv-mvm committed Apr 29, 2016
1 parent 3da68d3 commit 02781f1
Show file tree
Hide file tree
Showing 81 changed files with 5,080 additions and 453 deletions.
15 changes: 14 additions & 1 deletion AMBuilder
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ sourceFiles = [
'src/stub/cdebugoverlay.cpp',
'src/stub/particles.cpp',
'src/stub/igamesystem.cpp',
'src/stub/tfbot_behavior.cpp',
'src/stub/baseplayer.cpp',
'src/stub/baseanimating.cpp',
'src/link/link.cpp',
'src/link/nextbot1.cpp',
'src/link/nextbot2.cpp',
Expand All @@ -60,8 +63,17 @@ sourceFiles = [
'src/mod/ai/prevent_postmortem_updates.cpp',
'src/mod/ai/rocketjump.cpp',
'src/mod/ai/wrapassassin_altfire.cpp',
'src/mod/ai/mvm_defender_bots.cpp',
'src/mod/ai/nextboteventresponder_hooks.cpp',
'src/mod/ai/mvm_defender_bots.cpp',
'src/mod/ai/mvm_defender_bots_quirks_isbot.cpp',
'src/mod/ai/mvm_defender_bots_quirks_isbotoftype.cpp',
'src/mod/ai/mvm_defender_bots_quirks_getlastknownarea.cpp',
'src/mod/ai/mvm_defender_bots_quirks_mannvsmachinemode.cpp',
'src/mod/ai/mvm_defender_bots_quirks_steamid.cpp',
'src/mod/ai/mvm_defender_bots_gotoupgradestation.cpp',
'src/mod/ai/mvm_defender_bots_purchaseupgrades.cpp',
'src/mod/ai/mvm_defender_bots_collectmoney.cpp',
'src/mod/ai/mvm_defender_bots_scout.cpp',
'src/mod/attr/undocumented.cpp',
'src/mod/bot/kill_before_forcespec.cpp',
'src/mod/bot/medieval_nonmelee.cpp',
Expand All @@ -88,6 +100,7 @@ sourceFiles = [
'src/mod/debug/list_competitive_convars.cpp',
'src/mod/debug/grenade_logger.cpp',
'src/mod/demo/stringtable_limit.cpp',
'src/mod/mvm/changeclass_anytime.cpp',
'src/mod/mvm/disposable_dispenser.cpp',
'src/mod/pop/eventpopfile_improvements.cpp',
# 'src/mod/pop/extattr/parse.cpp',
Expand Down
1 change: 1 addition & 0 deletions PackageScript
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ CopyFiles('gamedata/sigsegv', 'addons/sourcemod/gamedata/sigsegv',
'nav.txt',
'tfplayer.txt',
'tfbot.txt',
'tfbot_body.txt',
'tfbot_locomotion.txt',
'tfbot_vision.txt',
'tfbot_behavior.txt',
Expand Down
6 changes: 5 additions & 1 deletion gamedata/sigsegv/NextBotLocomotionInterface.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
{
"addrs"
{

"ILocomotion::TraceHull"
{
type "sym"
sym "_ZNK11ILocomotion9TraceHullERK6VectorS2_S2_S2_jP12ITraceFilterP10CGameTrace"
}
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions gamedata/sigsegv/NextBotManager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
type "sym"
sym "_Z11TheNextBotsv"
}

"NextBotManager::CollectAllBots"
{
type "sym"
sym "_ZN14NextBotManager14CollectAllBotsEP10CUtlVectorIP8INextBot10CUtlMemoryIS2_iEE"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions gamedata/sigsegv/NextBotPlayer.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
type "sym"
sym "_ZN13NextBotPlayerI9CTFPlayerE6UpdateEv"
}
"NextBotPlayer<CTFPlayer>::IsBot"
{
type "sym"
sym "_ZNK13NextBotPlayerI9CTFPlayerE5IsBotEv"
}

"NextBotPlayer<CTFPlayer>::PressFireButton"
{
Expand Down
5 changes: 5 additions & 0 deletions gamedata/sigsegv/NextBotVisionInterface.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
type "sym"
sym "_ZN7IVision6UpdateEv"
}
"IVision::UpdateKnownEntities"
{
type "sym"
sym "_ZN7IVision19UpdateKnownEntitiesEv"
}
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions gamedata/sigsegv/datamaps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@
sym "_ZN12CSpellPickup9m_DataMapE"
class "CSpellPickup"
}
"CBaseTrigger::m_DataMap"
{
type "datamap"
sym "_ZN12CBaseTrigger9m_DataMapE"
class "CBaseTrigger"
}
}
}
}
Expand Down
12 changes: 12 additions & 0 deletions gamedata/sigsegv/globals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@
type "sym"
sym "_ZN15CGameRulesProxy17s_pGameRulesProxyE"
}

"g_hUpgradeEntity"
{
type "sym"
sym "g_hUpgradeEntity"
}

"g_MannVsMachineUpgrades"
{
type "sym"
sym "g_MannVsMachineUpgrades"
}
}
}
}
Expand Down
197 changes: 197 additions & 0 deletions gamedata/sigsegv/misc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@
func "CItemComeToRest"
vtable ".?AVCCurrencyPack@@"
}
"CCurrencyPack::MyTouch"
{
type "sym"
sym "_ZN13CCurrencyPack7MyTouchEP11CBasePlayer"
}

"CFuncNavCost::IsApplicableTo"
{
Expand Down Expand Up @@ -460,6 +465,12 @@
sym "_ZN11CBaseObject13StartBuildingEP11CBaseEntity"
}

"CTFWeaponBuilder::StartBuilding"
{
type "sym"
sym "_ZN16CTFWeaponBuilder13StartBuildingEv"
}

"CEconItemView::GetItemDefIndex"
{
type "sym"
Expand Down Expand Up @@ -495,6 +506,12 @@
sym "_ZN24ITFBotHintEntityAutoList34m_ITFBotHintEntityAutoListAutoListE"
}

"ICaptureFlagAutoList::m_ICaptureFlagAutoListAutoList"
{
type "sym"
sym "_ZN20ICaptureFlagAutoList30m_ICaptureFlagAutoListAutoListE"
}

"CBaseEntity::Remove"
{
type "sym"
Expand Down Expand Up @@ -658,6 +675,186 @@
type "sym"
sym "_ZN11CBaseEntity13CreateNoSpawnEPKcRK6VectorRK6QAnglePS_"
}

"WeaponID_IsSniperRifle"
{
type "sym"
sym "_Z22WeaponID_IsSniperRiflei"
}
"WeaponID_IsSniperRifleOrBow"
{
type "sym"
sym "_Z27WeaponID_IsSniperRifleOrBowi"
}

"CTFKnife::GetMeleeDamage"
{
type "sym"
sym "_ZN8CTFKnife14GetMeleeDamageEP11CBaseEntityPiS2_"
}

"CObjectSapper::Spawn"
{
type "sym"
sym "_ZN13CObjectSapper5SpawnEv"
}

"CTFGameRules::ApplyOnDamageAliveModifyRules"
{
type "sym"
sym "_ZN12CTFGameRules29ApplyOnDamageAliveModifyRulesERK15CTakeDamageInfoP11CBaseEntityRNS_20DamageModifyExtras_tE"
}

"NextBotTraversableTraceFilter::ShouldHitEntity"
{
type "sym"
sym "_ZN29NextBotTraversableTraceFilter15ShouldHitEntityEP13IHandleEntityi"
}

"CUpgrades::GetUpgradeAttributeName"
{
type "sym"
sym "_ZNK9CUpgrades23GetUpgradeAttributeNameEi"
}

"GetItemSchema"
{
type "sym"
sym "_Z13GetItemSchemav"
}

"CEconItemSchema::GetAttributeDefinitionByName"
{
type "sym"
sym "_ZN15CEconItemSchema28GetAttributeDefinitionByNameEPKc"
}

"CTFGameRules::CanUpgradeWithAttrib"
{
type "sym"
sym "_ZN12CTFGameRules20CanUpgradeWithAttribEP9CTFPlayeritP22CMannVsMachineUpgrades"
}
"CTFGameRules::GetCostForUpgrade"
{
type "sym"
sym "_ZN12CTFGameRules17GetCostForUpgradeEP22CMannVsMachineUpgradesiiP9CTFPlayer"
}
"CTFGameRules::GetUpgradeTier"
{
type "sym"
sym "_ZN12CTFGameRules14GetUpgradeTierEi"
}
"CTFGameRules::IsUpgradeTierEnabled"
{
type "sym"
sym "_ZN12CTFGameRules20IsUpgradeTierEnabledEP9CTFPlayerii"
}

"CBaseCombatCharacter::GetLastKnownArea"
{
type "sym"
sym "_ZNK20CBaseCombatCharacter16GetLastKnownAreaEv"
}

"CBasePlayer::GetSteamID"
{
type "sym"
sym "_ZN11CBasePlayer10GetSteamIDEP8CSteamID"
}

"CMannVsMachineStats::GetUpgradeSpending"
{
type "sym"
sym "_ZN19CMannVsMachineStats18GetUpgradeSpendingEP9CTFPlayer"
}
"CMannVsMachineStats::GetBottleSpending"
{
type "sym"
sym "_ZN19CMannVsMachineStats17GetBottleSpendingEP9CTFPlayer"
}
"CMannVsMachineStats::GetBuyBackSpending"
{
type "sym"
sym "_ZN19CMannVsMachineStats18GetBuyBackSpendingEP9CTFPlayer"
}
"CMannVsMachineStats::ResetUpgradeSpending"
{
type "sym"
sym "_ZN19CMannVsMachineStats20ResetUpgradeSpendingEP9CTFPlayer"
}

"CPopulationManager::FindOrAddPlayerUpgradeHistory [CTFPlayer *]"
{
type "sym"
sym "_ZN18CPopulationManager29FindOrAddPlayerUpgradeHistoryEP9CTFPlayer"
}
"CPopulationManager::FindCheckpointSnapshot [CTFPlayer *]"
{
type "sym"
sym "_ZNK18CPopulationManager22FindCheckpointSnapshotEP9CTFPlayer"
}
"CPopulationManager::RemovePlayerAndItemUpgradesFromHistory"
{
type "sym"
sym "_ZN18CPopulationManager38RemovePlayerAndItemUpgradesFromHistoryEP9CTFPlayer"
}

"CPopulationManager::GetNumRespecsAvailableForPlayer"
{
type "sym"
sym "_ZN18CPopulationManager31GetNumRespecsAvailableForPlayerEP9CTFPlayer"
}
"CPopulationManager::SetNumRespecsForPlayer"
{
type "sym"
sym "_ZN18CPopulationManager22SetNumRespecsForPlayerEP9CTFPlayeri"
}
"CPopulationManager::AddRespecToPlayer"
{
type "sym"
sym "_ZN18CPopulationManager17AddRespecToPlayerEP9CTFPlayer"
}
"CPopulationManager::RemoveRespecFromPlayer"
{
type "sym"
sym "_ZN18CPopulationManager22RemoveRespecFromPlayerEP9CTFPlayer"
}

"CGameRules::GetViewVectors"
{
type "sym"
sym "_ZNK10CGameRules14GetViewVectorsEv"
}

"ICurrencyPackAutoList::m_ICurrencyPackAutoListAutoList"
{
type "sym"
sym "_ZN21ICurrencyPackAutoList31m_ICurrencyPackAutoListAutoListE"
}

"CTFPowerup::GetLifeTime"
{
type "sym"
sym "_ZN10CTFPowerup11GetLifeTimeEv"
}

"CBaseEntity::GetNextThink"
{
type "sym"
sym "_ZN11CBaseEntity12GetNextThinkEPKc"
}

"CCurrencyPack::SetAmount"
{
type "sym"
sym "_ZN13CCurrencyPack9SetAmountEf"
}

"CBaseCombatCharacter::Weapon_GetSlot"
{
type "sym"
sym "_ZNK20CBaseCombatCharacter14Weapon_GetSlotEi"
}
}
}
}
Expand Down
Loading

0 comments on commit 02781f1

Please sign in to comment.