mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Rename slots to bindslots - conflict with Qt #define keyword
This commit is contained in:
@@ -152,7 +152,7 @@ struct FetchFrameConstantBindStats
|
||||
uint32_t calls;
|
||||
uint32_t sets;
|
||||
uint32_t nulls;
|
||||
rdctype::array<uint32_t> slots;
|
||||
rdctype::array<uint32_t> bindslots;
|
||||
rdctype::array<uint32_t> sizes;
|
||||
};
|
||||
|
||||
@@ -161,7 +161,7 @@ struct FetchFrameSamplerBindStats
|
||||
uint32_t calls;
|
||||
uint32_t sets;
|
||||
uint32_t nulls;
|
||||
rdctype::array<uint32_t> slots;
|
||||
rdctype::array<uint32_t> bindslots;
|
||||
};
|
||||
|
||||
struct FetchFrameResourceBindStats
|
||||
@@ -170,7 +170,7 @@ struct FetchFrameResourceBindStats
|
||||
uint32_t sets;
|
||||
uint32_t nulls;
|
||||
rdctype::array<uint32_t> types;
|
||||
rdctype::array<uint32_t> slots;
|
||||
rdctype::array<uint32_t> bindslots;
|
||||
};
|
||||
|
||||
struct FetchFrameUpdateStats
|
||||
@@ -219,7 +219,7 @@ struct FetchFrameVertexBindStats
|
||||
uint32_t calls;
|
||||
uint32_t sets;
|
||||
uint32_t nulls;
|
||||
rdctype::array<uint32_t> slots;
|
||||
rdctype::array<uint32_t> bindslots;
|
||||
};
|
||||
|
||||
struct FetchFrameLayoutBindStats
|
||||
|
||||
@@ -1055,7 +1055,7 @@ void Serialiser::Serialise(const char *name, FetchFrameConstantBindStats &el)
|
||||
Serialise("", el.calls);
|
||||
Serialise("", el.sets);
|
||||
Serialise("", el.nulls);
|
||||
Serialise("", el.slots);
|
||||
Serialise("", el.bindslots);
|
||||
Serialise("", el.sizes);
|
||||
|
||||
SIZE_CHECK(FetchFrameConstantBindStats, 28);
|
||||
@@ -1067,7 +1067,7 @@ void Serialiser::Serialise(const char *name, FetchFrameSamplerBindStats &el)
|
||||
Serialise("", el.calls);
|
||||
Serialise("", el.sets);
|
||||
Serialise("", el.nulls);
|
||||
Serialise("", el.slots);
|
||||
Serialise("", el.bindslots);
|
||||
|
||||
SIZE_CHECK(FetchFrameSamplerBindStats, 20);
|
||||
}
|
||||
@@ -1079,7 +1079,7 @@ void Serialiser::Serialise(const char *name, FetchFrameResourceBindStats &el)
|
||||
Serialise("", el.sets);
|
||||
Serialise("", el.nulls);
|
||||
Serialise("", el.types);
|
||||
Serialise("", el.slots);
|
||||
Serialise("", el.bindslots);
|
||||
|
||||
SIZE_CHECK(FetchFrameResourceBindStats, 28);
|
||||
}
|
||||
@@ -1132,7 +1132,7 @@ void Serialiser::Serialise(const char *name, FetchFrameVertexBindStats &el)
|
||||
Serialise("", el.calls);
|
||||
Serialise("", el.sets);
|
||||
Serialise("", el.nulls);
|
||||
Serialise("", el.slots);
|
||||
Serialise("", el.bindslots);
|
||||
|
||||
SIZE_CHECK(FetchFrameVertexBindStats, 20);
|
||||
}
|
||||
|
||||
@@ -1404,8 +1404,8 @@ void WrappedID3D11DeviceContext::RecordVertexBindStats(UINT NumBuffers, ID3D11Bu
|
||||
FetchFrameStatistics& stats = record.frameInfo.stats;
|
||||
FetchFrameVertexBindStats& vertices = stats.vertices;
|
||||
vertices.calls += 1;
|
||||
RDCASSERT(NumBuffers < vertices.slots.size());
|
||||
vertices.slots[NumBuffers] += 1;
|
||||
RDCASSERT(NumBuffers < vertices.bindslots.size());
|
||||
vertices.bindslots[NumBuffers] += 1;
|
||||
|
||||
for (UINT i = 0; i < NumBuffers; i++)
|
||||
{
|
||||
@@ -1433,8 +1433,8 @@ void WrappedID3D11DeviceContext::RecordConstantStats(ShaderStageType stage, UINT
|
||||
RDCASSERT(stage < ARRAY_COUNT( stats.constants));
|
||||
FetchFrameConstantBindStats& constants = stats.constants[stage];
|
||||
constants.calls += 1;
|
||||
RDCASSERT(NumBuffers < constants.slots.size());
|
||||
constants.slots[NumBuffers] += 1;
|
||||
RDCASSERT(NumBuffers < constants.bindslots.size());
|
||||
constants.bindslots[NumBuffers] += 1;
|
||||
|
||||
for (UINT i = 0; i < NumBuffers; i++)
|
||||
{
|
||||
@@ -1463,8 +1463,8 @@ void WrappedID3D11DeviceContext::RecordResourceStats(ShaderStageType stage, UINT
|
||||
RDCASSERT(stage < ARRAY_COUNT(stats.resources));
|
||||
FetchFrameResourceBindStats& resources = stats.resources[stage];
|
||||
resources.calls += 1;
|
||||
RDCASSERT(NumResources < resources.slots.size());
|
||||
resources.slots[NumResources] += 1;
|
||||
RDCASSERT(NumResources < resources.bindslots.size());
|
||||
resources.bindslots[NumResources] += 1;
|
||||
|
||||
const ShaderResourceType mapping[] = {
|
||||
eResType_None,
|
||||
@@ -1511,8 +1511,8 @@ void WrappedID3D11DeviceContext::RecordSamplerStats(ShaderStageType stage, UINT
|
||||
RDCASSERT(stage < ARRAY_COUNT(stats.samplers));
|
||||
FetchFrameSamplerBindStats& samplers = stats.samplers[stage];
|
||||
samplers.calls += 1;
|
||||
RDCASSERT(NumSamplers < samplers.slots.size());
|
||||
samplers.slots[NumSamplers] += 1;
|
||||
RDCASSERT(NumSamplers < samplers.bindslots.size());
|
||||
samplers.bindslots[NumSamplers] += 1;
|
||||
|
||||
for (UINT i = 0; i < NumSamplers; i++)
|
||||
{
|
||||
|
||||
@@ -1013,13 +1013,13 @@ void WrappedID3D11Device::Serialise_CaptureScope(uint64_t offset)
|
||||
|
||||
for(uint32_t stage = eShaderStage_First; stage < eShaderStage_Count; stage++)
|
||||
{
|
||||
create_array(stats.constants[stage].slots, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT + 1);
|
||||
create_array(stats.constants[stage].bindslots, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT + 1);
|
||||
create_array(stats.constants[stage].sizes, FetchFrameConstantBindStats::BUCKET_COUNT);
|
||||
|
||||
create_array(stats.samplers[stage].slots, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT + 1);
|
||||
create_array(stats.samplers[stage].bindslots, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT + 1);
|
||||
|
||||
create_array(stats.resources[stage].types, eResType_Count);
|
||||
create_array(stats.resources[stage].slots, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT + 1);
|
||||
create_array(stats.resources[stage].bindslots, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT + 1);
|
||||
}
|
||||
|
||||
create_array(stats.updates.types, eResType_Count);
|
||||
@@ -1027,7 +1027,7 @@ void WrappedID3D11Device::Serialise_CaptureScope(uint64_t offset)
|
||||
|
||||
create_array(stats.draws.counts, FetchFrameDrawStats::BUCKET_COUNT);
|
||||
|
||||
create_array(stats.vertices.slots, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT + 1);
|
||||
create_array(stats.vertices.bindslots, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT + 1);
|
||||
|
||||
m_FrameRecord.push_back(record);
|
||||
|
||||
|
||||
@@ -283,7 +283,7 @@ namespace renderdoc
|
||||
public UInt32 sets;
|
||||
public UInt32 nulls;
|
||||
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
|
||||
public UInt32[] slots;
|
||||
public UInt32[] bindslots;
|
||||
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
|
||||
public UInt32[] sizes;
|
||||
};
|
||||
@@ -295,7 +295,7 @@ namespace renderdoc
|
||||
public UInt32 sets;
|
||||
public UInt32 nulls;
|
||||
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
|
||||
public UInt32[] slots;
|
||||
public UInt32[] bindslots;
|
||||
};
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
@@ -307,7 +307,7 @@ namespace renderdoc
|
||||
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
|
||||
public UInt32[] types;
|
||||
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
|
||||
public UInt32[] slots;
|
||||
public UInt32[] bindslots;
|
||||
};
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
@@ -354,7 +354,7 @@ namespace renderdoc
|
||||
public UInt32 sets;
|
||||
public UInt32 nulls;
|
||||
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
|
||||
public UInt32[] slots;
|
||||
public UInt32[] bindslots;
|
||||
};
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
|
||||
@@ -166,7 +166,7 @@ namespace renderdocui.Windows
|
||||
// #mivance see AppendConstantBindStatistics
|
||||
FetchFrameVertexBindStats template = frameList[0].stats.vertices;
|
||||
FetchFrameVertexBindStats totalVertexStats = new FetchFrameVertexBindStats();
|
||||
totalVertexStats.slots = new UInt32[template.slots.Length];
|
||||
totalVertexStats.bindslots = new UInt32[template.bindslots.Length];
|
||||
|
||||
foreach (var f in frameList)
|
||||
{
|
||||
@@ -176,10 +176,10 @@ namespace renderdocui.Windows
|
||||
totalVertexStats.sets += vertices.sets;
|
||||
totalVertexStats.nulls += vertices.nulls;
|
||||
|
||||
System.Diagnostics.Debug.Assert(totalVertexStats.slots.Length == vertices.slots.Length);
|
||||
for (var s = 0; s < vertices.slots.Length; s++)
|
||||
System.Diagnostics.Debug.Assert(totalVertexStats.bindslots.Length == vertices.bindslots.Length);
|
||||
for (var s = 0; s < vertices.bindslots.Length; s++)
|
||||
{
|
||||
totalVertexStats.slots[s] += vertices.slots[s];
|
||||
totalVertexStats.bindslots[s] += vertices.bindslots[s];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,9 +192,9 @@ namespace renderdocui.Windows
|
||||
statisticsLog.AppendText("\nHistogram of aggregate vertex slot counts per invocation:\n");
|
||||
UInt32 maxCount = 0;
|
||||
int maxWithValue = 0;
|
||||
for (var s = 1; s < totalVertexStats.slots.Length; s++)
|
||||
for (var s = 1; s < totalVertexStats.bindslots.Length; s++)
|
||||
{
|
||||
UInt32 value = totalVertexStats.slots[s];
|
||||
UInt32 value = totalVertexStats.bindslots[s];
|
||||
if (value > 0)
|
||||
maxWithValue = s;
|
||||
maxCount = Math.Max(maxCount, value);
|
||||
@@ -202,7 +202,7 @@ namespace renderdocui.Windows
|
||||
|
||||
for (var s = 1; s <= maxWithValue; s++)
|
||||
{
|
||||
UInt32 count = totalVertexStats.slots[s];
|
||||
UInt32 count = totalVertexStats.bindslots[s];
|
||||
int slice = SliceForString(Stars, count, maxCount);
|
||||
statisticsLog.AppendText(String.Format("{0,2}: {1} {2}\n", s, Stars.Substring(0, slice), CountOrEmpty(count)));
|
||||
}
|
||||
@@ -225,7 +225,7 @@ namespace renderdocui.Windows
|
||||
for (var s = (int)ShaderStageType.First; s < (int)ShaderStageType.Count; s++)
|
||||
{
|
||||
totalConstantsPerStage[s] = new FetchFrameConstantBindStats();
|
||||
totalConstantsPerStage[s].slots = new UInt32[template.slots.Length];
|
||||
totalConstantsPerStage[s].bindslots = new UInt32[template.bindslots.Length];
|
||||
totalConstantsPerStage[s].sizes = new UInt32[template.sizes.Length];
|
||||
}
|
||||
|
||||
@@ -238,10 +238,10 @@ namespace renderdocui.Windows
|
||||
totalConstantsPerStage[s].sets += constants[s].sets;
|
||||
totalConstantsPerStage[s].nulls += constants[s].nulls;
|
||||
|
||||
System.Diagnostics.Debug.Assert(totalConstantsPerStage[s].slots.Length == constants[s].slots.Length);
|
||||
for (var l = 0; l < constants[s].slots.Length; l++)
|
||||
System.Diagnostics.Debug.Assert(totalConstantsPerStage[s].bindslots.Length == constants[s].bindslots.Length);
|
||||
for (var l = 0; l < constants[s].bindslots.Length; l++)
|
||||
{
|
||||
totalConstantsPerStage[s].slots[l] += constants[s].slots[l];
|
||||
totalConstantsPerStage[s].bindslots[l] += constants[s].bindslots[l];
|
||||
}
|
||||
|
||||
System.Diagnostics.Debug.Assert(totalConstantsPerStage[s].sizes.Length == constants[s].sizes.Length);
|
||||
@@ -253,7 +253,7 @@ namespace renderdocui.Windows
|
||||
}
|
||||
|
||||
FetchFrameConstantBindStats totalConstantsForAllStages = new FetchFrameConstantBindStats();
|
||||
totalConstantsForAllStages.slots = new UInt32[totalConstantsPerStage[0].slots.Length];
|
||||
totalConstantsForAllStages.bindslots = new UInt32[totalConstantsPerStage[0].bindslots.Length];
|
||||
totalConstantsForAllStages.sizes = new UInt32[totalConstantsPerStage[0].sizes.Length];
|
||||
|
||||
for (var s = (int)ShaderStageType.First; s < (int)ShaderStageType.Count; s++)
|
||||
@@ -262,9 +262,9 @@ namespace renderdocui.Windows
|
||||
totalConstantsForAllStages.calls += perStage.calls;
|
||||
totalConstantsForAllStages.sets += perStage.sets;
|
||||
totalConstantsForAllStages.nulls += perStage.nulls;
|
||||
for (var l = 0; l < perStage.slots.Length; l++)
|
||||
for (var l = 0; l < perStage.bindslots.Length; l++)
|
||||
{
|
||||
totalConstantsForAllStages.slots[l] += perStage.slots[l];
|
||||
totalConstantsForAllStages.bindslots[l] += perStage.bindslots[l];
|
||||
}
|
||||
for (var z = 0; z < perStage.sizes.Length; z++)
|
||||
{
|
||||
@@ -287,9 +287,9 @@ namespace renderdocui.Windows
|
||||
statisticsLog.AppendText("\nHistogram of aggregate slot counts per invocation across all stages:\n");
|
||||
UInt32 maxCount = 0;
|
||||
int maxWithValue = 0;
|
||||
for (var s = 1; s < totalConstantsForAllStages.slots.Length; s++)
|
||||
for (var s = 1; s < totalConstantsForAllStages.bindslots.Length; s++)
|
||||
{
|
||||
UInt32 value = totalConstantsForAllStages.slots[s];
|
||||
UInt32 value = totalConstantsForAllStages.bindslots[s];
|
||||
if (value > 0)
|
||||
maxWithValue = s;
|
||||
maxCount = Math.Max(maxCount, value);
|
||||
@@ -297,7 +297,7 @@ namespace renderdocui.Windows
|
||||
|
||||
for (var s = 1; s <= maxWithValue; s++)
|
||||
{
|
||||
UInt32 count = totalConstantsForAllStages.slots[s];
|
||||
UInt32 count = totalConstantsForAllStages.bindslots[s];
|
||||
int slice = SliceForString(Stars, count, maxCount);
|
||||
statisticsLog.AppendText(String.Format("{0,2}: {1} {2}\n", s, Stars.Substring(0, slice), CountOrEmpty(count)));
|
||||
}
|
||||
@@ -330,7 +330,7 @@ namespace renderdocui.Windows
|
||||
for (var s = (int)ShaderStageType.First; s < (int)ShaderStageType.Count; s++)
|
||||
{
|
||||
totalSamplersPerStage[s] = new FetchFrameSamplerBindStats();
|
||||
totalSamplersPerStage[s].slots = new UInt32[template.slots.Length];
|
||||
totalSamplersPerStage[s].bindslots = new UInt32[template.bindslots.Length];
|
||||
}
|
||||
|
||||
foreach (var f in frameList)
|
||||
@@ -342,16 +342,16 @@ namespace renderdocui.Windows
|
||||
totalSamplersPerStage[s].sets += resources[s].sets;
|
||||
totalSamplersPerStage[s].nulls += resources[s].nulls;
|
||||
|
||||
System.Diagnostics.Debug.Assert(totalSamplersPerStage[s].slots.Length == resources[s].slots.Length);
|
||||
for (var l = 0; l < resources[s].slots.Length; l++)
|
||||
System.Diagnostics.Debug.Assert(totalSamplersPerStage[s].bindslots.Length == resources[s].bindslots.Length);
|
||||
for (var l = 0; l < resources[s].bindslots.Length; l++)
|
||||
{
|
||||
totalSamplersPerStage[s].slots[l] += resources[s].slots[l];
|
||||
totalSamplersPerStage[s].bindslots[l] += resources[s].bindslots[l];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
FetchFrameSamplerBindStats totalSamplersForAllStages = new FetchFrameSamplerBindStats();
|
||||
totalSamplersForAllStages.slots = new UInt32[totalSamplersPerStage[0].slots.Length];
|
||||
totalSamplersForAllStages.bindslots = new UInt32[totalSamplersPerStage[0].bindslots.Length];
|
||||
|
||||
for (var s = (int)ShaderStageType.First; s < (int)ShaderStageType.Count; s++)
|
||||
{
|
||||
@@ -359,9 +359,9 @@ namespace renderdocui.Windows
|
||||
totalSamplersForAllStages.calls += perStage.calls;
|
||||
totalSamplersForAllStages.sets += perStage.sets;
|
||||
totalSamplersForAllStages.nulls += perStage.nulls;
|
||||
for (var l = 0; l < perStage.slots.Length; l++)
|
||||
for (var l = 0; l < perStage.bindslots.Length; l++)
|
||||
{
|
||||
totalSamplersForAllStages.slots[l] += perStage.slots[l];
|
||||
totalSamplersForAllStages.bindslots[l] += perStage.bindslots[l];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -380,9 +380,9 @@ namespace renderdocui.Windows
|
||||
statisticsLog.AppendText("\nHistogram of aggregate slot counts per invocation across all stages:\n");
|
||||
UInt32 maxCount = 0;
|
||||
int maxWithValue = 0;
|
||||
for (var s = 1; s < totalSamplersForAllStages.slots.Length; s++)
|
||||
for (var s = 1; s < totalSamplersForAllStages.bindslots.Length; s++)
|
||||
{
|
||||
UInt32 value = totalSamplersForAllStages.slots[s];
|
||||
UInt32 value = totalSamplersForAllStages.bindslots[s];
|
||||
if (value > 0)
|
||||
maxWithValue = s;
|
||||
maxCount = Math.Max(maxCount, value);
|
||||
@@ -390,7 +390,7 @@ namespace renderdocui.Windows
|
||||
|
||||
for (var s = 1; s <= maxWithValue; s++)
|
||||
{
|
||||
UInt32 count = totalSamplersForAllStages.slots[s];
|
||||
UInt32 count = totalSamplersForAllStages.bindslots[s];
|
||||
int slice = SliceForString(Stars, count, maxCount);
|
||||
statisticsLog.AppendText(String.Format("{0,2}: {1} {2}\n", s, Stars.Substring(0, slice), CountOrEmpty(count)));
|
||||
}
|
||||
@@ -408,7 +408,7 @@ namespace renderdocui.Windows
|
||||
{
|
||||
totalResourcesPerStage[s] = new FetchFrameResourceBindStats();
|
||||
totalResourcesPerStage[s].types = new UInt32[template.types.Length];
|
||||
totalResourcesPerStage[s].slots = new UInt32[template.slots.Length];
|
||||
totalResourcesPerStage[s].bindslots = new UInt32[template.bindslots.Length];
|
||||
}
|
||||
|
||||
foreach (var f in frameList)
|
||||
@@ -426,17 +426,17 @@ namespace renderdocui.Windows
|
||||
totalResourcesPerStage[s].types[z] += resources[s].types[z];
|
||||
}
|
||||
|
||||
System.Diagnostics.Debug.Assert(totalResourcesPerStage[s].slots.Length == resources[s].slots.Length);
|
||||
for (var l = 0; l < resources[s].slots.Length; l++)
|
||||
System.Diagnostics.Debug.Assert(totalResourcesPerStage[s].bindslots.Length == resources[s].bindslots.Length);
|
||||
for (var l = 0; l < resources[s].bindslots.Length; l++)
|
||||
{
|
||||
totalResourcesPerStage[s].slots[l] += resources[s].slots[l];
|
||||
totalResourcesPerStage[s].bindslots[l] += resources[s].bindslots[l];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
FetchFrameResourceBindStats totalResourcesForAllStages = new FetchFrameResourceBindStats();
|
||||
totalResourcesForAllStages.types = new UInt32[totalResourcesPerStage[0].types.Length];
|
||||
totalResourcesForAllStages.slots = new UInt32[totalResourcesPerStage[0].slots.Length];
|
||||
totalResourcesForAllStages.bindslots = new UInt32[totalResourcesPerStage[0].bindslots.Length];
|
||||
|
||||
for (var s = (int)ShaderStageType.First; s < (int)ShaderStageType.Count; s++)
|
||||
{
|
||||
@@ -448,9 +448,9 @@ namespace renderdocui.Windows
|
||||
{
|
||||
totalResourcesForAllStages.types[t] += perStage.types[t];
|
||||
}
|
||||
for (var l = 0; l < perStage.slots.Length; l++)
|
||||
for (var l = 0; l < perStage.bindslots.Length; l++)
|
||||
{
|
||||
totalResourcesForAllStages.slots[l] += perStage.slots[l];
|
||||
totalResourcesForAllStages.bindslots[l] += perStage.bindslots[l];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -491,9 +491,9 @@ namespace renderdocui.Windows
|
||||
maxWithCount = 0;
|
||||
|
||||
statisticsLog.AppendText("\nHistogram of aggregate slot counts per invocation across all stages:\n");
|
||||
for (var s = 1; s < totalResourcesForAllStages.slots.Length; s++)
|
||||
for (var s = 1; s < totalResourcesForAllStages.bindslots.Length; s++)
|
||||
{
|
||||
UInt32 count = totalResourcesForAllStages.slots[s];
|
||||
UInt32 count = totalResourcesForAllStages.bindslots[s];
|
||||
if (count > 0)
|
||||
maxWithCount = s;
|
||||
maxCount = Math.Max(maxCount, count);
|
||||
@@ -501,7 +501,7 @@ namespace renderdocui.Windows
|
||||
|
||||
for (var s = 1; s <= maxWithCount; s++)
|
||||
{
|
||||
UInt32 count = totalResourcesForAllStages.slots[s];
|
||||
UInt32 count = totalResourcesForAllStages.bindslots[s];
|
||||
int slice = SliceForString(Stars, count, maxCount);
|
||||
statisticsLog.AppendText(String.Format("{0,3}: {1} {2}\n", s, Stars.Substring(0, slice), CountOrEmpty(count)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user