Last change
on this file since 18 was
2,
checked in by Sam Hocevar, 17 years ago
|
- imported original 0.7.0 tarball
|
File size:
497 bytes
|
Rev | Line | |
---|
[2] | 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 | |
---|
Note: See
TracBrowser
for help on using the repository browser.