source: abuse/trunk/src/tester.cpp @ 2

Last change on this file since 2 was 2, checked in by Sam Hocevar, 14 years ago
  • imported original 0.7.0 tarball
File size: 497 bytes
Line 
1#include "items.hpp"
2
3backtile::backtile(spec_entry *e, FILE *fp)
4{
5  im=new image(e,fp);
6  next=read_short(fp);
7}
8
9foretile::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
18figure::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
Note: See TracBrowser for help on using the repository browser.