no tabs in code!
This commit is contained in:
parent
6bcf41c5d2
commit
d991030145
3 changed files with 11 additions and 11 deletions
|
|
@ -54,12 +54,12 @@
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<PlatformToolset>v140_xp</PlatformToolset>
|
<PlatformToolset>v120_xp</PlatformToolset>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<PlatformToolset>v140_xp</PlatformToolset>
|
<PlatformToolset>v120_xp</PlatformToolset>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
|
|
||||||
|
|
@ -3017,17 +3017,17 @@ DLL_GIVEFNPTRSTODLL GiveFnptrsToDll (enginefuncs_t *functionTable, globalvars_t
|
||||||
// register our cvars
|
// register our cvars
|
||||||
convars.PushRegisteredConVarsToEngine ();
|
convars.PushRegisteredConVarsToEngine ();
|
||||||
|
|
||||||
// ensure data & learned directory are created (as we can download waypoints from the net)
|
// ensure data & learned directory are created (as we can download waypoints from the net)
|
||||||
const char *path = GetWaypointDir ();
|
const char *path = GetWaypointDir ();
|
||||||
|
|
||||||
// ensure data path exists
|
// ensure data path exists
|
||||||
CreatePath (const_cast <char *> (path));
|
CreatePath (const_cast <char *> (path));
|
||||||
|
|
||||||
char learnedPath[256];
|
char learnedPath[256];
|
||||||
snprintf (learnedPath, SIZEOF_CHAR (learnedPath), "%s/learned", path);
|
snprintf (learnedPath, SIZEOF_CHAR (learnedPath), "%s/learned", path);
|
||||||
|
|
||||||
// ensure data/learned path exists
|
// ensure data/learned path exists
|
||||||
CreatePath (learnedPath);
|
CreatePath (learnedPath);
|
||||||
|
|
||||||
#ifdef PLATFORM_ANDROID
|
#ifdef PLATFORM_ANDROID
|
||||||
g_gameVersion = CSV_OLD; // temporary, until opensource client dll get BotVoice message
|
g_gameVersion = CSV_OLD; // temporary, until opensource client dll get BotVoice message
|
||||||
|
|
|
||||||
|
|
@ -960,7 +960,7 @@ extern bool OpenConfig(const char *fileName, const char *errorIfNotExists, File
|
||||||
|
|
||||||
const char *GetWaypointDir (void)
|
const char *GetWaypointDir (void)
|
||||||
{
|
{
|
||||||
return FormatBuffer ("%s/addons/yapb/data/", GetModName ());
|
return FormatBuffer ("%s/addons/yapb/data/", GetModName ());
|
||||||
}
|
}
|
||||||
|
|
||||||
extern void RegisterCommand(const char *command, void funcPtr (void))
|
extern void RegisterCommand(const char *command, void funcPtr (void))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue