tweaked cvars
This commit is contained in:
parent
c6a43ba281
commit
3b3ef4754b
3 changed files with 67 additions and 2 deletions
65
project/Performance1.psess
Normal file
65
project/Performance1.psess
Normal file
|
|
@ -0,0 +1,65 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<VSPerformanceSession Version="1.00">
|
||||||
|
<Options>
|
||||||
|
<Solution>yapb.sln</Solution>
|
||||||
|
<CollectionMethod>Sampling</CollectionMethod>
|
||||||
|
<AllocationMethod>None</AllocationMethod>
|
||||||
|
<AddReport>true</AddReport>
|
||||||
|
<ResourceBasedAnalysisSelected>true</ResourceBasedAnalysisSelected>
|
||||||
|
<UniqueReport>Timestamp</UniqueReport>
|
||||||
|
<SamplingMethod>Cycles</SamplingMethod>
|
||||||
|
<CycleCount>10000000</CycleCount>
|
||||||
|
<PageFaultCount>10</PageFaultCount>
|
||||||
|
<SysCallCount>10</SysCallCount>
|
||||||
|
<SamplingCounter Name="" ReloadValue="00000000000f4240" DisplayName="" />
|
||||||
|
<RelocateBinaries>false</RelocateBinaries>
|
||||||
|
<HardwareCounters EnableHWCounters="false" />
|
||||||
|
<EtwSettings />
|
||||||
|
<PdhSettings>
|
||||||
|
<PdhCountersEnabled>false</PdhCountersEnabled>
|
||||||
|
<PdhCountersRate>500</PdhCountersRate>
|
||||||
|
<PdhCounters>
|
||||||
|
<PdhCounter>\Memory\Pages/sec</PdhCounter>
|
||||||
|
<PdhCounter>\PhysicalDisk(_Total)\Avg. Disk Queue Length</PdhCounter>
|
||||||
|
<PdhCounter>\Processor(_Total)\% Processor Time</PdhCounter>
|
||||||
|
</PdhCounters>
|
||||||
|
</PdhSettings>
|
||||||
|
</Options>
|
||||||
|
<ExcludeSmallFuncs>true</ExcludeSmallFuncs>
|
||||||
|
<JScriptProfilingEnabled>false</JScriptProfilingEnabled>
|
||||||
|
<PreinstrumentEvent>
|
||||||
|
<InstrEventExclude>false</InstrEventExclude>
|
||||||
|
</PreinstrumentEvent>
|
||||||
|
<PostinstrumentEvent>
|
||||||
|
<InstrEventExclude>false</InstrEventExclude>
|
||||||
|
</PostinstrumentEvent>
|
||||||
|
<Reports>
|
||||||
|
<Report>
|
||||||
|
<Path>Report150602.vspx</Path>
|
||||||
|
</Report>
|
||||||
|
<Report>
|
||||||
|
<Path>Report150602(1).vspx</Path>
|
||||||
|
</Report>
|
||||||
|
<Report>
|
||||||
|
<Path>Report150602(2).vspx</Path>
|
||||||
|
</Report>
|
||||||
|
<Report>
|
||||||
|
<Path>Report150602(3).vspx</Path>
|
||||||
|
</Report>
|
||||||
|
<Report>
|
||||||
|
<Path>Report150602(4).vspx</Path>
|
||||||
|
</Report>
|
||||||
|
<Report>
|
||||||
|
<Path>Report150602(5).vspx</Path>
|
||||||
|
</Report>
|
||||||
|
<Report>
|
||||||
|
<Path>Report150602(6).vspx</Path>
|
||||||
|
</Report>
|
||||||
|
<Report>
|
||||||
|
<Path>Report150603.vspx</Path>
|
||||||
|
</Report>
|
||||||
|
<Report>
|
||||||
|
<Path>Report150603(1).vspx</Path>
|
||||||
|
</Report>
|
||||||
|
</Reports>
|
||||||
|
</VSPerformanceSession>
|
||||||
|
|
@ -29,7 +29,7 @@ ConVar yb_timerpickup ("yb_timerpickup", "0.5", VT_NOSERVER);
|
||||||
ConVar yb_timergrenade ("yb_timergrenade", "0.5", VT_NOSERVER);
|
ConVar yb_timergrenade ("yb_timergrenade", "0.5", VT_NOSERVER);
|
||||||
|
|
||||||
ConVar yb_chatter_path ("yb_chatter_path", "sound/radio/bot", VT_NOSERVER);
|
ConVar yb_chatter_path ("yb_chatter_path", "sound/radio/bot", VT_NOSERVER);
|
||||||
ConVar yb_restricted_weapons ("yb_restricted_weapons", "ump45;p90;elite;tmp;mac10;m3;xm1014");
|
ConVar yb_restricted_weapons ("yb_restricted_weapons", "ump45;elite;tmp;mac10;m3;xm1014");
|
||||||
|
|
||||||
// game console variables
|
// game console variables
|
||||||
ConVar mp_c4timer ("mp_c4timer", NULL, VT_NOREGISTER);
|
ConVar mp_c4timer ("mp_c4timer", NULL, VT_NOREGISTER);
|
||||||
|
|
|
||||||
|
|
@ -216,7 +216,7 @@ void DecalTrace (entvars_t *pev, TraceResult *trace, int logotypeIndex)
|
||||||
static Array <String> logotypes;
|
static Array <String> logotypes;
|
||||||
|
|
||||||
if (logotypes.IsEmpty ())
|
if (logotypes.IsEmpty ())
|
||||||
logotypes = String ("{biohaz;{graf004;{graf005;{lambda06;{target;{hand1").Split (";");
|
logotypes = String ("{biohaz;{graf003;{graf004;{graf005;{lambda06;{target;{hand1;{spit2;{bloodhand6;{foot_l;{foot_r").Split (";");
|
||||||
|
|
||||||
int entityIndex = -1, message = TE_DECAL;
|
int entityIndex = -1, message = TE_DECAL;
|
||||||
int decalIndex = (*g_engfuncs.pfnDecalIndex) (logotypes[logotypeIndex].GetBuffer ());
|
int decalIndex = (*g_engfuncs.pfnDecalIndex) (logotypes[logotypeIndex].GetBuffer ());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue