Skip to content

Commit ef3c96d

Browse files
committed
xr_ini refactoring
BOOL to bool LPCSTR to pcstr and others.. Something taken from commit: Im-dex/xray-162@ceb6518
1 parent e3b1bf5 commit ef3c96d

File tree

5 files changed

+319
-372
lines changed

5 files changed

+319
-372
lines changed

src/Layers/xrRender/ParticleGroup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ void CPGDef::Save2(CInifile& ini)
165165
ini.w_string(
166166
buff, "on_play_child", (*it)->m_Flags.test(SEffect::flOnPlayChild) ? (*it)->m_OnPlayChildName.c_str() : "");
167167
ini.w_string(buff, "on_birth_child",
168-
(*it)->m_Flags.test(SEffect::flOnBirthChild) ? (*it)->m_OnBirthChildName.c_str() : "");
168+
(*it)->m_Flags.test(SEffect::flOnBirthChild) ? (*it)->m_OnBirthChildName.c_str() : "");
169169
ini.w_string(buff, "on_death_child",
170-
(*it)->m_Flags.test(SEffect::flOnDeadChild) ? (*it)->m_OnDeadChildName.c_str() : "");
170+
(*it)->m_Flags.test(SEffect::flOnDeadChild) ? (*it)->m_OnDeadChildName.c_str() : "");
171171
ini.w_float(buff, "time0", (*it)->m_Time0);
172172
ini.w_float(buff, "time1", (*it)->m_Time1);
173173
ini.w_u32(buff, "flags", (*it)->m_Flags.get());

src/xrCore/xrCore.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@
430430
<ClCompile Include="xrMemory_subst_msvc.cpp" />
431431
<ClCompile Include="xrsharedmem.cpp" />
432432
<ClCompile Include="xrstring.cpp" />
433-
<ClCompile Include="Xr_ini.cpp" />
433+
<ClCompile Include="xr_ini.cpp" />
434434
<ClCompile Include="xr_shared.cpp" />
435435
<ClCompile Include="xr_trims.cpp" />
436436
<ClCompile Include="_compressed_normal.cpp" />

src/xrCore/xrCore.vcxproj.filters

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
<ClCompile Include="NET_utils.cpp">
184184
<Filter>FS</Filter>
185185
</ClCompile>
186-
<ClCompile Include="Xr_ini.cpp">
186+
<ClCompile Include="xr_ini.cpp">
187187
<Filter>FS</Filter>
188188
</ClCompile>
189189
<ClCompile Include="stream_reader.cpp">

0 commit comments

Comments
 (0)