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