Shader stuff
This commit is contained in:
parent
37976a4f39
commit
ba052b201e
@ -165,7 +165,7 @@ namespace Components
|
|||||||
|
|
||||||
void Maps::GetBSPName(char* buffer, size_t size, const char* format, const char* mapname)
|
void Maps::GetBSPName(char* buffer, size_t size, const char* format, const char* mapname)
|
||||||
{
|
{
|
||||||
if (!Utils::String::StartsWith(mapname, "mp_") && mapname != "zm_asylum_sh"s)
|
if (!Utils::String::StartsWith(mapname, "mp_") && mapname != "zm_asylum_sh"s && mapname != "zm_prototype_sh"s && mapname != "zm_zombie_training"s)
|
||||||
{
|
{
|
||||||
format = "maps/%s.d3dbsp";
|
format = "maps/%s.d3dbsp";
|
||||||
}
|
}
|
||||||
@ -517,6 +517,7 @@ namespace Components
|
|||||||
Game::ReallocateAssetPool(Game::XAssetType::ASSET_TYPE_VERTEXDECL, 196);
|
Game::ReallocateAssetPool(Game::XAssetType::ASSET_TYPE_VERTEXDECL, 196);
|
||||||
Game::ReallocateAssetPool(Game::XAssetType::ASSET_TYPE_WEAPON, 2400);
|
Game::ReallocateAssetPool(Game::XAssetType::ASSET_TYPE_WEAPON, 2400);
|
||||||
Game::ReallocateAssetPool(Game::XAssetType::ASSET_TYPE_STRINGTABLE, 800);
|
Game::ReallocateAssetPool(Game::XAssetType::ASSET_TYPE_STRINGTABLE, 800);
|
||||||
|
Game::ReallocateAssetPool(Game::XAssetType::ASSET_TYPE_IMPACTFX, 8);
|
||||||
|
|
||||||
Maps::ReallocateEntryPool();
|
Maps::ReallocateEntryPool();
|
||||||
|
|
||||||
|
@ -15,6 +15,8 @@ namespace Components
|
|||||||
|
|
||||||
static std::pair<std::string, std::string> GetTeamsForMap(std::string map);
|
static std::pair<std::string, std::string> GetTeamsForMap(std::string map);
|
||||||
|
|
||||||
|
static std::string CurrentMainZone;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
class DLC
|
class DLC
|
||||||
{
|
{
|
||||||
@ -28,7 +30,6 @@ namespace Components
|
|||||||
static std::vector<DLC> DlcPacks;
|
static std::vector<DLC> DlcPacks;
|
||||||
static std::vector<Game::XAssetEntry> EntryPool;
|
static std::vector<Game::XAssetEntry> EntryPool;
|
||||||
|
|
||||||
static std::string CurrentMainZone;
|
|
||||||
static std::vector<std::pair<std::string, std::string>> DependencyList;
|
static std::vector<std::pair<std::string, std::string>> DependencyList;
|
||||||
static std::vector<std::string> CurrentDependencies;
|
static std::vector<std::string> CurrentDependencies;
|
||||||
|
|
||||||
|
@ -1045,6 +1045,11 @@ namespace Components
|
|||||||
if (arg->paramID > 15 && arg->paramID < 30)
|
if (arg->paramID > 15 && arg->paramID < 30)
|
||||||
{
|
{
|
||||||
arg->paramID -= 1;
|
arg->paramID -= 1;
|
||||||
|
|
||||||
|
if (arg->paramID == 19)
|
||||||
|
{
|
||||||
|
arg->paramID = 21;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (arg->paramID >= 50)
|
else if (arg->paramID >= 50)
|
||||||
{
|
{
|
||||||
@ -1052,10 +1057,6 @@ namespace Components
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// else if (Zones::Version() >= 359 && arg->paramID == 20592)
|
|
||||||
// {
|
|
||||||
// arg->paramID == 25180;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user