Skip to content

Commit

Permalink
xrCore: renamed MhHelpers.h|cpp -> StringConversion.hpp|cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Aug 6, 2018
1 parent 3774f79 commit 28d317f
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/Layers/xrRender/dxFontRender.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "stdafx.h"
#include "dxFontRender.h"
#include "xrEngine/GameFont.h"
#include "xrCore/Text/MbHelpers.h"
#include "xrCore/Text/StringConversion.hpp"

dxFontRender::dxFontRender() {}
dxFontRender::~dxFontRender()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "stdafx.h"
#include "MbHelpers.h"
#include "StringConversion.hpp"
#include <codecvt>

// XXX: use c++11 functions and kill that DUMP_CONVERSION!!!11
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once
#include "xrCore/xrCore.h"

// XXX: rename this file to StringConversion.hpp
// XXX: use c++11 functions

#define MAX_MB_CHARS 4096
Expand Down
4 changes: 2 additions & 2 deletions src/xrCore/xrCore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
</ClCompile>
<ClCompile Include="stream_reader.cpp" />
<ClCompile Include="string_concatenations.cpp" />
<ClCompile Include="Text\MbHelpers.cpp" />
<ClCompile Include="Text\StringConversion.cpp" />
<ClCompile Include="Threading\Event.cpp" />
<ClCompile Include="Threading\ScopeLock.cpp" />
<ClCompile Include="Threading\ThreadPool.cpp" />
Expand Down Expand Up @@ -340,7 +340,7 @@
<ClInclude Include="stream_reader_inline.h" />
<ClInclude Include="string_concatenations.h" />
<ClInclude Include="string_concatenations_inline.h" />
<ClInclude Include="Text\MbHelpers.h" />
<ClInclude Include="Text\StringConversion.hpp" />
<ClInclude Include="Threading\Event.hpp" />
<ClInclude Include="Threading\ScopeLock.hpp" />
<ClInclude Include="Threading\ThreadPool.hpp" />
Expand Down
12 changes: 6 additions & 6 deletions src/xrCore/xrCore.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,6 @@
<ClCompile Include="Math\MathUtil.cpp">
<Filter>Math</Filter>
</ClCompile>
<ClCompile Include="Text\MbHelpers.cpp">
<Filter>Text</Filter>
</ClCompile>
<ClCompile Include="Threading\Lock.cpp">
<Filter>Threading</Filter>
</ClCompile>
Expand Down Expand Up @@ -309,6 +306,9 @@
<ClCompile Include="Compression\rt_compressor.cpp">
<Filter>Compression\lzo</Filter>
</ClCompile>
<ClCompile Include="Text\StringConversion.cpp">
<Filter>Text</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="FTimer.h">
Expand Down Expand Up @@ -545,9 +545,6 @@
<ClInclude Include="Containers\AssociativeVector.hpp">
<Filter>Containers</Filter>
</ClInclude>
<ClInclude Include="Text\MbHelpers.h">
<Filter>Text</Filter>
</ClInclude>
<ClInclude Include="Threading\Lock.hpp">
<Filter>Threading</Filter>
</ClInclude>
Expand Down Expand Up @@ -677,6 +674,9 @@
<ClInclude Include="Compression\rt_compressor.h">
<Filter>Compression\lzo</Filter>
</ClInclude>
<ClInclude Include="Text\StringConversion.hpp">
<Filter>Text</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="xrCore.rc">
Expand Down
2 changes: 1 addition & 1 deletion src/xrEngine/GameFont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#pragma hdrstop

#include "GameFont.h"
#include "xrCore/Text/MbHelpers.h"
#include "xrCore/Text/StringConversion.hpp"
#ifndef _EDITOR
#include "Render.h"
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/xrEngine/edit_actions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "edit_actions.h"
#include "line_edit_control.h"
#include "xr_input.h"
#include "xrCore/Text/MbHelpers.h"
#include "xrCore/Text/StringConversion.hpp"

namespace text_editor
{
Expand Down
2 changes: 1 addition & 1 deletion src/xrEngine/xr_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "Include/editor/ide.hpp"
#include "GameFont.h"
#include "PerformanceAlert.hpp"
#include "xrCore/Text/MbHelpers.h"
#include "xrCore/Text/StringConversion.hpp"

#ifndef _EDITOR
#include "xr_input_xinput.h"
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/ui/UILines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "UIXmlInit.h"
#include "uilinestd.h"
#include "string_table.h"
#include "xrCore/Text/MbHelpers.h"
#include "xrCore/Text/StringConversion.hpp"

CUILines::CUILines()
{
Expand Down

0 comments on commit 28d317f

Please sign in to comment.