[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /obj/handlers/bits_controller.c</h2>
Decays all the decable objects in the game.<p><b>See also:</b><br>/obj/food.c, /std/bit.c and /obj/corpse.c
<br /><p>Written by Ember<h3>Change history</h3>
<ul><li>17 Dec 1997 -- Sin<br/>   I added a reset_eval_cost() call into the do_update() routine
   so that it wouldn't quit when there were a whole bunch of
   bits to decay.
<li>6 Jan 1998 -- Sin<br/>   I modified the do_update() routine so it'll register a callback
   even if one of the bits fails to decay.  That should help prevent
   the callout from disappearing.  If it does disappear, I added
   a kickstart function.</ul>
<h2>Includes</h2>
This class includes the following files /include/bits_controller.h<h2>Method index</h2>
<ul>
<li><a href="#add_bit">add_bit</a>(object)<br/>
Adds in a decable object into ther decaying array.
<li><a href="#kickstart">kickstart</a>()<li><a href="#query_bits">query_bits</a>()<li><a href="#query_num_bits">query_num_bits</a>()<li><a href="#remove_bit">remove_bit</a>(object)<br/>
Removes the decable object from the decaying array.
</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="add_bit">
add_bit</a><pre class="autodocfuncdef">
void add_bit(object ob)
</pre><dd><br />
Adds in a decable object into ther decaying array.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
ob - the bit to decay
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="kickstart">
kickstart</a><pre class="autodocfuncdef">
void kickstart()
</pre>
<dt class="autodocfuncname"><a name="query_bits">
query_bits</a><pre class="autodocfuncdef">
object * query_bits()
</pre>
<dt class="autodocfuncname"><a name="query_num_bits">
query_num_bits</a><pre class="autodocfuncdef">
int query_num_bits()
</pre>
<dt class="autodocfuncname"><a name="remove_bit">
remove_bit</a><pre class="autodocfuncdef">
void remove_bit(object ob)
</pre><dd><br />
Removes the decable object from the decaying array.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
ob - the bit to remove
<br />
<br />
<br /></dl>

</dl>
[an error occurred while processing this directive]

