aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/util/printmaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/util/printmaps.cpp')
-rw-r--r--NorthstarDLL/util/printmaps.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/NorthstarDLL/util/printmaps.cpp b/NorthstarDLL/util/printmaps.cpp
index dd825bff..c4e30886 100644
--- a/NorthstarDLL/util/printmaps.cpp
+++ b/NorthstarDLL/util/printmaps.cpp
@@ -19,7 +19,7 @@ enum class MapSource_t
};
const std::unordered_map<MapSource_t, const char*> PrintMapSource = {
- {MapSource_t::VPK, "VPK"}, {MapSource_t::MOD, "MOD"}, {MapSource_t::GAMEDIR, "R2"}};
+ {MapSource_t::VPK, "VPK"}, {MapSource_t::MOD, "MOD"}, {MapSource_t::GAMEDIR, "R2"}};
struct MapVPKInfo
{
@@ -62,7 +62,7 @@ void RefreshMapList()
{
const int iNumRetailNonMapVpks = 1;
static const char* const ppRetailNonMapVpks[] = {
- "englishclient_frontend.bsp.pak000_dir.vpk"}; // don't include mp_common here as it contains mp_lobby
+ "englishclient_frontend.bsp.pak000_dir.vpk"}; // don't include mp_common here as it contains mp_lobby
// matches directory vpks, and captures their map name in the first group
static const std::regex rVpkMapRegex("englishclient_([a-zA-Z0-9_]+)\\.bsp\\.pak000_dir\\.vpk", std::regex::icase);
@@ -135,10 +135,10 @@ int, __fastcall, (const char *const cmdname, const char *const partial, char com
{
strcpy(commands[numMaps], cmdname);
strncpy_s(
- commands[numMaps++] + cmdLength,
- COMMAND_COMPLETION_ITEM_LENGTH,
- &vMapList[i].name[0],
- COMMAND_COMPLETION_ITEM_LENGTH - cmdLength);
+ commands[numMaps++] + cmdLength,
+ COMMAND_COMPLETION_ITEM_LENGTH,
+ &vMapList[i].name[0],
+ COMMAND_COMPLETION_ITEM_LENGTH - cmdLength);
}
}
@@ -146,11 +146,11 @@ int, __fastcall, (const char *const cmdname, const char *const partial, char com
}
ADD_SQFUNC(
- "array<string>",
- NSGetLoadedMapNames,
- "",
- "Returns a string array of loaded map file names",
- ScriptContext::UI | ScriptContext::CLIENT | ScriptContext::SERVER)
+ "array<string>",
+ NSGetLoadedMapNames,
+ "",
+ "Returns a string array of loaded map file names",
+ ScriptContext::UI | ScriptContext::CLIENT | ScriptContext::SERVER)
{
// Maybe we should call this on mods reload instead
RefreshMapList();