Last change
on this file since 481 was
481,
checked in by Sam Hocevar, 11 years ago
|
Fuck the history, I'm renaming all .hpp files to .h for my own sanity.
|
File size:
774 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Abuse - dark 2D side-scrolling platform game |
---|
3 | * Copyright (c) 1995 Crack dot Com |
---|
4 | * |
---|
5 | * This software was released into the Public Domain. As with most public |
---|
6 | * domain software, no warranty is made or implied by Crack dot Com or |
---|
7 | * Jonathan Clark. |
---|
8 | */ |
---|
9 | |
---|
10 | #include "config.h" |
---|
11 | |
---|
12 | #include "items.h" |
---|
13 | |
---|
14 | backtile::backtile(spec_entry *e, FILE *fp) |
---|
15 | { |
---|
16 | im=new image(e,fp); |
---|
17 | next=read_short(fp); |
---|
18 | } |
---|
19 | |
---|
20 | foretile::foretile(spec_entry *e, FILE *fp) |
---|
21 | { |
---|
22 | unsigned char d[2],i; |
---|
23 | im=new image(e,fp); |
---|
24 | next=read_short(fp); |
---|
25 | fread(&damage,1,1,fp); |
---|
26 | points=new point_list(fp); |
---|
27 | } |
---|
28 | |
---|
29 | figure::figure(spec_entry *e, FILE *fp) |
---|
30 | { |
---|
31 | im=new image(e,fp); |
---|
32 | fread(&hit_damage,1,1,fp); |
---|
33 | fread(&xcfg,1,1,fp); |
---|
34 | |
---|
35 | touch=new point_list(fp); |
---|
36 | damage=new point_list(fp); |
---|
37 | hit=new point_list(fp); |
---|
38 | } |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.