1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/doc/html/newapi_notes.html Tue Apr 06 07:36:14 2004 +0000
1.3 @@ -0,0 +1,62 @@
1.4 +<!-- vi: set ts=4 sw=4 : -->
1.5 +<!-- vim: set tw=75 : -->
1.6 +
1.7 +<HTML>
1.8 +<head>
1.9 +<title>HLSDK NEWAPI Notes</title>
1.10 +</head>
1.11 +<body>
1.12 +
1.13 +<h1>HLSDK NEWAPI Notes
1.14 +</h1>
1.15 +
1.16 +<hr>
1.17 +<ul>
1.18 + <li><a href=#OnFreeEntPrivateData>OnFreeEntPrivateData</a>
1.19 + <li><a href=#GameShutdown>GameShutdown</a>
1.20 + <li><a href=#ShouldCollide>ShouldCollide</a>
1.21 +</ul>
1.22 +
1.23 +<b>NOTE</b>: No examples of these found in SDK...
1.24 +
1.25 +<p>
1.26 +
1.27 +<hr><h3><tt><a name="OnFreeEntPrivateData">OnFreeEntPrivateData</a></tt></h3>
1.28 +<dd><tt>void OnFreeEntPrivateData(edict_t pEnt);</tt><p>
1.29 +<i>from engine/eiface.h:</i><br>
1.30 +<blockquote><tt>
1.31 + Called right before the object's memory is freed. Calls its destructor.
1.32 +</tt></blockquote>
1.33 +<p><i>comments:</i><br>
1.34 +<blockquote>
1.35 + See also <a
1.36 + href="http://list.valvesoftware.com/pipermail/hlcoders/2002-January/001397.html"
1.37 + >Ken Birdwell on constructors</a>, from the HLCoders list.
1.38 + <br>Added in SDK 2.0.
1.39 +</blockquote>
1.40 +
1.41 +<hr><h3><tt><a name="GameShutdown">GameShutdown</a></tt></h3>
1.42 +<dd><tt>void GameShutdown(void);</tt><p>
1.43 +<p><i>comments:</i><br>
1.44 +<blockquote>
1.45 + Added in SDK 2.0.
1.46 +</blockquote>
1.47 +
1.48 +<hr><h3><tt><a name="ShouldCollide">ShouldCollide</a></tt></h3>
1.49 +<dd><tt>int ShouldCollide(edict_t *pentTouched, edict_t *pentOther);</tt><p>
1.50 +<i>from [email protected], via HLCoders:</i><br>
1.51 +<blockquote><tt>
1.52 + ..a hook that can override if any two entities should collide
1.53 + when they try to pass through each other.
1.54 +</tt></blockquote>
1.55 +<p><i>comments:</i><br>
1.56 +<blockquote>
1.57 + Mugsy from DoD indicates that the return value for normal operation is 1.
1.58 + <br>Added in SDK 2.0.
1.59 +</blockquote>
1.60 +
1.61 +<p>
1.62 +<hr>
1.63 +
1.64 +</body>
1.65 +</HTML>