home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / thx / source / theatrix / netfold.cpp < prev    next >
C/C++ Source or Header  |  1995-04-25  |  261b  |  15 lines

  1. #include <dos.h>
  2. #include "handler.h"
  3. #include "netfold.h"
  4.  
  5. void NetpackFolder::reset()
  6.   {
  7.   for (int i=0;i<MAXNETPACK;i++)
  8.     packet[i].reset();
  9.   }
  10.  
  11. void NetpackFolder::dispatch(int pkt, int, int)
  12.   {
  13.   packet[pkt].execute_callbacks(pkt);
  14.   }
  15.