home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / ABUSESRC.ZIP / AbuseSrc / macabuse / src / tester.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-20  |  525 b   |  29 lines

  1. #include "items.hpp"
  2.  
  3. backtile::backtile(spec_entry *e, FILE *fp)
  4. {
  5.   im=new image(e,fp);
  6.   next=read_short(fp);
  7. }
  8.  
  9. foretile::foretile(spec_entry *e, FILE *fp)
  10. {
  11.   unsigned char d[2],i; 
  12.   im=new image(e,fp);
  13.   next=read_short(fp);
  14.   fread(&damage,1,1,fp);
  15.   points=new point_list(fp);
  16. }
  17.  
  18. figure::figure(spec_entry *e, FILE *fp)
  19. {
  20.   im=new image(e,fp);
  21.   fread(&hit_damage,1,1,fp);
  22.   fread(&xcfg,1,1,fp);
  23.   
  24.   touch=new point_list(fp); 
  25.   damage=new point_list(fp); 
  26.   hit=new point_list(fp); 
  27. }
  28.  
  29.