doc/html/newapi_notes.html
author darope
Tue Apr 06 07:36:14 2004 +0000 (2004-04-06)
changeset 0 d15304fcb7a7
child 144 8f8565e045a0
permissions -rw-r--r--
Initial revision
     1 <!-- vi: set ts=4 sw=4 : -->
     2 <!-- vim: set tw=75 : -->
     3 
     4 <HTML>
     5 <head>
     6 <title>HLSDK NEWAPI Notes</title>
     7 </head>
     8 <body>
     9 
    10 <h1>HLSDK NEWAPI Notes
    11 </h1>
    12 
    13 <hr>
    14 <ul>
    15    <li><a href=#OnFreeEntPrivateData>OnFreeEntPrivateData</a>
    16    <li><a href=#GameShutdown>GameShutdown</a>
    17    <li><a href=#ShouldCollide>ShouldCollide</a>
    18 </ul>
    19 
    20 <b>NOTE</b>: No examples of these found in SDK...
    21 
    22 <p>
    23 
    24 <hr><h3><tt><a name="OnFreeEntPrivateData">OnFreeEntPrivateData</a></tt></h3>
    25 <dd><tt>void OnFreeEntPrivateData(edict_t pEnt);</tt><p>
    26 <i>from engine/eiface.h:</i><br>
    27 <blockquote><tt>
    28 	Called right before the object's memory is freed.  Calls its destructor.
    29 </tt></blockquote>
    30 <p><i>comments:</i><br>
    31 <blockquote>
    32 	See also <a
    33 	href="http://list.valvesoftware.com/pipermail/hlcoders/2002-January/001397.html"
    34 	>Ken Birdwell on constructors</a>, from the HLCoders list.
    35 	<br>Added in SDK 2.0.  
    36 </blockquote>
    37 
    38 <hr><h3><tt><a name="GameShutdown">GameShutdown</a></tt></h3>
    39 <dd><tt>void GameShutdown(void);</tt><p>
    40 <p><i>comments:</i><br>
    41 <blockquote>
    42 	Added in SDK 2.0.
    43 </blockquote>
    44 
    45 <hr><h3><tt><a name="ShouldCollide">ShouldCollide</a></tt></h3>
    46 <dd><tt>int ShouldCollide(edict_t *pentTouched, edict_t *pentOther);</tt><p>
    47 <i>from [email protected], via HLCoders:</i><br>
    48 <blockquote><tt>
    49 	..a hook that can override if any two entities should collide  
    50 	when they try to pass through each other.
    51 </tt></blockquote>
    52 <p><i>comments:</i><br>
    53 <blockquote>
    54 	Mugsy from DoD indicates that the return value for normal operation is 1.
    55 	<br>Added in SDK 2.0.  
    56 </blockquote>
    57 
    58 <p>
    59 <hr>
    60 
    61 </body>
    62 </HTML>