doc/html/engine_notes.html
changeset 249 0e54d20d8f28
parent 248 f72386298cba
     1.1 --- a/doc/html/engine_notes.html	Tue Aug 23 20:31:28 2005 +0000
     1.2 +++ b/doc/html/engine_notes.html	Wed Dec 21 18:40:50 2005 +0000
     1.3 @@ -167,7 +167,8 @@
     1.4     <li><a href=#ProcessTutorMessageDecayBuffer>ProcessTutorMessageDecayBuffer</a>
     1.5     <li><a href=#ConstructTutorMessageDecayBuffer>ConstructTutorMessageDecayBuffer</a>
     1.6     <li><a href=#ResetTutorMessageDecayData>ResetTutorMessageDecayData</a>
     1.7 -   <li><a href=#QueryClientCvar>QueryClientCvar</a>
     1.8 +   <li><a href=#QueryClientCvarValue>QueryClientCvarValue</a>
     1.9 +   <li><a href=#QueryClientCvarValue2>QueryClientCvarValue2</a>
    1.10  </ul>
    1.11  
    1.12  <hr><h3><tt><a name="PrecacheModel">PrecacheModel</a></tt></h3>
    1.13 @@ -1606,7 +1607,7 @@
    1.14  </tt></blockquote>
    1.15  <p><i>comments:</i><br>
    1.16  <blockquote>
    1.17 -	Added for HL 1109; no SDK update.  
    1.18 +	Added for HL 1109; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
    1.19  </blockquote>
    1.20  
    1.21  <hr><h3><tt><a name="SequenceGet">SequenceGet</a></tt></h3>
    1.22 @@ -1614,7 +1615,7 @@
    1.23  <dd><tt>void *SequenceGet(const char *fileName, const char *entryName);</tt>
    1.24  <p><i>comments:</i><br>
    1.25  <blockquote>
    1.26 -	Added for HL 1xxx; no SDK update.  
    1.27 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
    1.28  </blockquote>
    1.29  
    1.30  <hr><h3><tt><a name="SequencePickSentence">SequencePickSentence</a></tt></h3>
    1.31 @@ -1623,7 +1624,7 @@
    1.32  int *picked);</tt>
    1.33  <p><i>comments:</i><br>
    1.34  <blockquote>
    1.35 -	Added for HL 1xxx; no SDK update.  
    1.36 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
    1.37  </blockquote>
    1.38  
    1.39  <hr><h3><tt><a name="GetFileSize">GetFileSize</a></tt></h3>
    1.40 @@ -1631,7 +1632,7 @@
    1.41  <dd><tt>int GetFileSize(char *filename);</tt>
    1.42  <p><i>comments:</i><br>
    1.43  <blockquote>
    1.44 -	Added for HL 1xxx; no SDK update.  
    1.45 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
    1.46  </blockquote>
    1.47  
    1.48  <hr><h3><tt><a name="GetApproxWavePlayLen">GetApproxWavePlayLen</a></tt></h3>
    1.49 @@ -1639,7 +1640,7 @@
    1.50  <dd><tt>unsigned int GetApproxWavePlayLen(const char *filepath);</tt>
    1.51  <p><i>comments:</i><br>
    1.52  <blockquote>
    1.53 -	Added for HL 1xxx; no SDK update.  
    1.54 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
    1.55  </blockquote>
    1.56  
    1.57  <hr><h3><tt><a name="IsCareerMatch">IsCareerMatch</a></tt></h3>
    1.58 @@ -1647,7 +1648,7 @@
    1.59  <dd><tt>int IsCareerMatch(void);</tt>
    1.60  <p><i>comments:</i><br>
    1.61  <blockquote>
    1.62 -	Added for HL 1xxx; no SDK update.  
    1.63 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
    1.64  </blockquote>
    1.65  
    1.66  <hr><h3><tt><a name="GetLocalizedStringLength">GetLocalizedStringLength</a></tt></h3>
    1.67 @@ -1655,7 +1656,7 @@
    1.68  <dd><tt>int GetLocalizedStringLength(const char *label);</tt>
    1.69  <p><i>comments:</i><br>
    1.70  <blockquote>
    1.71 -	Added for HL 1xxx; no SDK update.  
    1.72 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
    1.73  </blockquote>
    1.74  
    1.75  <hr><h3><tt><a name="RegisterTutorMessageShown">RegisterTutorMessageShown</a></tt></h3>
    1.76 @@ -1663,7 +1664,7 @@
    1.77  <dd><tt>void RegisterTutorMessageShown(int mid);</tt>
    1.78  <p><i>comments:</i><br>
    1.79  <blockquote>
    1.80 -	Added for HL 1xxx; no SDK update.  
    1.81 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
    1.82  </blockquote>
    1.83  
    1.84  <hr><h3><tt><a name="GetTimesTutorMessageShown">GetTimesTutorMessageShown</a></tt></h3>
    1.85 @@ -1671,7 +1672,7 @@
    1.86  <dd><tt>int GetTimesTutorMessageShown(int mid);</tt>
    1.87  <p><i>comments:</i><br>
    1.88  <blockquote>
    1.89 -	Added for HL 1xxx; no SDK update.  
    1.90 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
    1.91  </blockquote>
    1.92  
    1.93  <hr><h3><tt><a name="ProcessTutorMessageDecayBuffer">ProcessTutorMessageDecayBuffer</a></tt></h3>
    1.94 @@ -1679,7 +1680,7 @@
    1.95  <dd><tt>void ProcessTutorMessageDecayBuffer(int *buffer, int bufferLength);</tt>
    1.96  <p><i>comments:</i><br>
    1.97  <blockquote>
    1.98 -	Added for HL 1xxx; no SDK update.  
    1.99 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
   1.100  </blockquote>
   1.101  
   1.102  <hr><h3><tt><a name="ConstructTutorMessageDecayBuffer">ConstructTutorMessageDecayBuffer</a></tt></h3>
   1.103 @@ -1687,7 +1688,7 @@
   1.104  <dd><tt>void ConstructTutorMessageDecayBuffer(int *buffer, int bufferLength);</tt>
   1.105  <p><i>comments:</i><br>
   1.106  <blockquote>
   1.107 -	Added for HL 1xxx; no SDK update.  
   1.108 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
   1.109  </blockquote>
   1.110  
   1.111  <hr><h3><tt><a name="ResetTutorMessageDecayData">ResetTutorMessageDecayData</a></tt></h3>
   1.112 @@ -1695,10 +1696,10 @@
   1.113  <dd><tt>void ResetTutorMessageDecayData(void);</tt>
   1.114  <p><i>comments:</i><br>
   1.115  <blockquote>
   1.116 -	Added for HL 1xxx; no SDK update.  
   1.117 +	Added for HL 1xxx; no SDK update.  (Available in patched SDK as of hlsdk-2.3-p1.)
   1.118  </blockquote>
   1.119  
   1.120 -<hr><h3><tt><a name="QueryClientCvar">QueryClientCvar</a></tt></h3>
   1.121 +<hr><h3><tt><a name="QueryClientCvarValue">QueryClientCvarValue</a></tt></h3>
   1.122  <dd><tt>void (*pfnQueryClientCvarValue)( const edict_t *player, const char *cvarName );</tt><p>
   1.123  <i>from [email protected], via HLCoders</i><br>
   1.124  <blockquote><tt>
   1.125 @@ -1707,7 +1708,33 @@
   1.126  </tt></blockquote>
   1.127  <p><i>comments:</i><br>
   1.128  <blockquote>
   1.129 -	Added 2005/08/11, no SDK update.
   1.130 +	Added 2005-08-11, no SDK update.  (Available in patched SDK as of hlsdk-2.3-p2.)
   1.131 +</blockquote>
   1.132 +<blockquote>
   1.133 +	<b>Use of this function is DEPRECATED. It has been obsoleted by the
   1.134 +		pfnQueryClientCvarValue2() function. See below.</b>
   1.135 +</blockquote>
   1.136 +<blockquote>
   1.137 +	This API can lead to conflicts when you query more than one cvar from a player 
   1.138 +	at a time. When using this function, use IS_QUERYING_CLIENT_CVAR to check if
   1.139 +	another plugin is querying before you do so. Use of this function is strongly 
   1.140 +	advised against. Instead use the pfnQueryClientCvarValue2() function.
   1.141 +</blockquote>
   1.142 +
   1.143 +
   1.144 +<hr><h3><tt><a name="QueryClientCvarValue2">QueryClientCvarValue2</a></tt></h3>
   1.145 +<dd><tt>void (*pfnQueryClientCvarValue2)( const edict_t *player, const char *cvarName, int requestID );</tt><p>
   1.146 +<i>from [email protected], via hlds_apps</i><br>
   1.147 +<blockquote><tt>
   1.148 +Calling this function requests the value of cvarName from player and
   1.149 +returns to you the supplied requestID on success (or failure).
   1.150 +
   1.151 +The response is sent to a pfnCvarValue2 callback in the
   1.152 +NEW_DLL_FUNCTIONS structure.
   1.153 +</tt></blockquote>
   1.154 +<p><i>comments:</i><br>
   1.155 +<blockquote>
   1.156 +	Added 2005-11-23, no SDK update.  (Available in patched SDK as of hlsdk-2.3-p3.)
   1.157  </blockquote>
   1.158  
   1.159