Skip to content

Commit ce688d2

Browse files
intorrXottab-DUTY
authored andcommitted
Work on the dependencies for the utils folder.
1 parent 16df9ad commit ce688d2

File tree

16 files changed

+32
-28
lines changed

16 files changed

+32
-28
lines changed

src/utils/mp_balancer/entry_point.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
#include "wpn_collection.hpp"
33
#include "statistics_collector.hpp"
44

5-
#pragma comment(lib, "xrCore.LIB")
6-
75
void main(int argc, char* argv[])
86
{
97
Core._initialize("mp_ballancer", NULL, TRUE, "fsgame4mpu.ltx");

src/utils/mp_configs_verifyer/entry_point.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#include "pch.h"
22
#include "configs_dump_verifyer.h"
33

4-
#pragma comment(lib, "xrCore.lib")
5-
64
static char const* help_msg =
75
"Format: mp_configs_verifyer.exe [--file | --unpack | --io_filter | --help] [file name]\n"
86
"Keys:\n"

src/utils/mp_screenshots_info/entry_point.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
#include "screenshots_writer.h"
33
#include "screenshots_reader.h"
44

5-
#pragma comment(lib, "xrCore.lib")
6-
75
void print_format() { printf("Format: mp_screenshots_info.exe [screenshot_file_name]\n"); };
86
void xrcore_log_cb(void* context, LPCSTR log_string) { printf("%s\n", log_string); };
97
u8* ss_buffer = NULL;

src/utils/xrAI/compiler.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#pragma once
22

3-
#pragma comment(lib, "FreeImage.lib")
4-
53
#include "xrCDB/xrCDB.h"
64
#include "Common/LevelStructure.hpp"
75
#include "AIMapExport.h"

src/utils/xrDXT/NormalMapGen.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ using namespace xray_nvi;
99
#ifdef XR_DXT_DBG_BUMP_STAGES_DIR
1010
#include "xrCore/Media/Image.hpp"
1111
using namespace XRay::Media;
12-
#pragma comment(lib, "xrCore.lib")
1312
#endif
1413

1514
enum KernelType

src/utils/xrLC/Build.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "xrCore/FS.h"
33
#include "utils/Shader_xrLC.h"
44
struct STextureParams;
5-
#pragma comment(lib, "dxt.lib")
5+
66
extern "C" bool XR_IMPORT __stdcall DXTCompress(
77
LPCSTR out_name, u8* raw_data, u8* normal_map, u32 w, u32 h, u32 pitch, STextureParams* fmt, u32 depth);
88

src/utils/xrLC/OGF_Face_Save.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ struct r1v_vert
121121
};
122122
#pragma pack(pop)
123123

124-
#pragma comment(lib, "ETools.lib")
125-
126124
void OGF::Save(IWriter& fs)
127125
{
128126
OGF_Base::Save(fs);

src/utils/xrLC/OGF_Face_Sphere.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#pragma warning(disable : 4995)
66
#include <MgcCont3DMinSphere.h>
77

8-
#pragma comment(lib, "MagicFM.lib")
9-
108
BOOL f_valid(float f) { return _finite(f) && !_isnan(f); }
119
BOOL SphereValid(xr_vector<Fvector>& geom, Fsphere& test)
1210
{

src/utils/xrLC/xrLC.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@
1212
#pragma comment(lib, "d3dx9.lib")
1313
#pragma comment(lib, "IMAGEHLP.LIB")
1414
#pragma comment(lib, "winmm.LIB")
15-
#pragma comment(lib, "xrCDB.lib")
1615
#pragma comment(lib, "FreeImage.lib")
17-
#pragma comment(lib, "xrCore.lib")
18-
#pragma comment(lib, "xrLC_Light.lib")
19-
#pragma comment(lib, "xrLCUtil.lib")
2016

2117
CBuild* pBuild = NULL;
2218
u32 version = 0;

src/utils/xrLC/xrLC.vcxproj

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
<ClCompile Include="xrPhase_GI.cpp" />
291291
<ClCompile Include="xrPhase_MergeGeometry.cpp" />
292292
<ClCompile Include="xrPhase_MergeLM.cpp" />
293-
<ClCompile Include="xrPhase_MergeLM_Surface.cpp" />
293+
<ClCompile Include="xrPhase_MergeLM_Surface.cpp" />
294294
<ClCompile Include="xrPhase_ResolveMaterials.cpp" />
295295
<ClCompile Include="xrPhase_Subdivide.cpp" />
296296
<ClCompile Include="xrPhase_TangentBasis.cpp" />
@@ -302,9 +302,30 @@
302302
<ClCompile Include="xrT_Junction.cpp" />
303303
</ItemGroup>
304304
<ItemGroup>
305+
<ProjectReference Include="..\..\..\Externals\MagicFM.vcxproj">
306+
<Project>{848e8ab3-9962-4c04-b813-5690399c8a3e}</Project>
307+
</ProjectReference>
308+
<ProjectReference Include="..\..\xrCDB\xrCDB.vcxproj">
309+
<Project>{a19b1df2-82ec-4364-8bdf-85d13a1c89b5}</Project>
310+
</ProjectReference>
311+
<ProjectReference Include="..\..\xrCore\xrCore.vcxproj">
312+
<Project>{a0f7d1fb-59a7-4717-a7e4-96f37e91998e}</Project>
313+
</ProjectReference>
314+
<ProjectReference Include="..\ETools\ETools.vcxproj">
315+
<Project>{65cbb9d0-fbc6-41a4-8316-f5e9b5d7fb33}</Project>
316+
</ProjectReference>
317+
<ProjectReference Include="..\xrLCUtil\xrLCUtil.vcxproj">
318+
<Project>{b90bdc22-a891-4b33-b562-29d701f65dbd}</Project>
319+
</ProjectReference>
320+
<ProjectReference Include="..\xrLC_Light\xrLC_Light.vcxproj">
321+
<Project>{efb76d6f-0092-439c-a783-c0be10bd17c9}</Project>
322+
</ProjectReference>
305323
<ProjectReference Include="..\xrMiscMath\xrMiscMath.vcxproj">
306324
<Project>{7885cf3c-ee04-4c67-9467-1fbf9a36b037}</Project>
307325
</ProjectReference>
326+
<ProjectReference Include="..\xrQSlim\xrQSlim.vcxproj">
327+
<Project>{f1836ce2-59ef-4189-8b9c-d103a511cb27}</Project>
328+
</ProjectReference>
308329
</ItemGroup>
309330
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
310331
<ImportGroup Label="ExtensionTargets">

0 commit comments

Comments
 (0)