Skip to content

Commit

Permalink
xr_ini refactoring
Browse files Browse the repository at this point in the history
BOOL to bool
LPCSTR to pcstr
and others..
Something taken from commit: Im-dex/xray-162@ceb6518
  • Loading branch information
Xottab-DUTY committed Aug 13, 2017
1 parent e3b1bf5 commit ef3c96d
Show file tree
Hide file tree
Showing 5 changed files with 319 additions and 372 deletions.
4 changes: 2 additions & 2 deletions src/Layers/xrRender/ParticleGroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ void CPGDef::Save2(CInifile& ini)
ini.w_string(
buff, "on_play_child", (*it)->m_Flags.test(SEffect::flOnPlayChild) ? (*it)->m_OnPlayChildName.c_str() : "");
ini.w_string(buff, "on_birth_child",
(*it)->m_Flags.test(SEffect::flOnBirthChild) ? (*it)->m_OnBirthChildName.c_str() : "");
(*it)->m_Flags.test(SEffect::flOnBirthChild) ? (*it)->m_OnBirthChildName.c_str() : "");
ini.w_string(buff, "on_death_child",
(*it)->m_Flags.test(SEffect::flOnDeadChild) ? (*it)->m_OnDeadChildName.c_str() : "");
(*it)->m_Flags.test(SEffect::flOnDeadChild) ? (*it)->m_OnDeadChildName.c_str() : "");
ini.w_float(buff, "time0", (*it)->m_Time0);
ini.w_float(buff, "time1", (*it)->m_Time1);
ini.w_u32(buff, "flags", (*it)->m_Flags.get());
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/xrCore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@
<ClCompile Include="xrMemory_subst_msvc.cpp" />
<ClCompile Include="xrsharedmem.cpp" />
<ClCompile Include="xrstring.cpp" />
<ClCompile Include="Xr_ini.cpp" />
<ClCompile Include="xr_ini.cpp" />
<ClCompile Include="xr_shared.cpp" />
<ClCompile Include="xr_trims.cpp" />
<ClCompile Include="_compressed_normal.cpp" />
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/xrCore.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
<ClCompile Include="NET_utils.cpp">
<Filter>FS</Filter>
</ClCompile>
<ClCompile Include="Xr_ini.cpp">
<ClCompile Include="xr_ini.cpp">
<Filter>FS</Filter>
</ClCompile>
<ClCompile Include="stream_reader.cpp">
Expand Down
Loading

0 comments on commit ef3c96d

Please sign in to comment.