From 3b3ef4754bf1daa69c47ca39a576affd334c7f6f Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sun, 14 Jun 2015 23:13:09 +0300 Subject: [PATCH] tweaked cvars --- project/Performance1.psess | 65 ++++++++++++++++++++++++++++++++++++++ source/basecode.cpp | 2 +- source/support.cpp | 2 +- 3 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 project/Performance1.psess diff --git a/project/Performance1.psess b/project/Performance1.psess new file mode 100644 index 0000000..11c8ffc --- /dev/null +++ b/project/Performance1.psess @@ -0,0 +1,65 @@ + + + + yapb.sln + Sampling + None + true + true + Timestamp + Cycles + 10000000 + 10 + 10 + + false + + + + false + 500 + + \Memory\Pages/sec + \PhysicalDisk(_Total)\Avg. Disk Queue Length + \Processor(_Total)\% Processor Time + + + + true + false + + false + + + false + + + + Report150602.vspx + + + Report150602(1).vspx + + + Report150602(2).vspx + + + Report150602(3).vspx + + + Report150602(4).vspx + + + Report150602(5).vspx + + + Report150602(6).vspx + + + Report150603.vspx + + + Report150603(1).vspx + + + \ No newline at end of file diff --git a/source/basecode.cpp b/source/basecode.cpp index b06ae9c..2555272 100644 --- a/source/basecode.cpp +++ b/source/basecode.cpp @@ -29,7 +29,7 @@ ConVar yb_timerpickup ("yb_timerpickup", "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_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 ConVar mp_c4timer ("mp_c4timer", NULL, VT_NOREGISTER); diff --git a/source/support.cpp b/source/support.cpp index 370da13..ffa86cb 100644 --- a/source/support.cpp +++ b/source/support.cpp @@ -216,7 +216,7 @@ void DecalTrace (entvars_t *pev, TraceResult *trace, int logotypeIndex) static Array logotypes; 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 decalIndex = (*g_engfuncs.pfnDecalIndex) (logotypes[logotypeIndex].GetBuffer ());