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

Last change on this file since 494 was 494, checked in by Sam Hocevar, 11 years ago

style: remove trailing spaces, fix copyright statements.

File size: 832 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5 *
6 *  This software was released into the Public Domain. As with most public
7 *  domain software, no warranty is made or implied by Crack dot Com or
8 *  Jonathan Clark.
9 */
10
11#include "config.h"
12
13#include "items.h"
14
15backtile::backtile(spec_entry *e, FILE *fp)
16{
17  im=new image(e,fp);
18  next=read_short(fp);
19}
20
21foretile::foretile(spec_entry *e, FILE *fp)
22{
23  unsigned char d[2],i;
24  im=new image(e,fp);
25  next=read_short(fp);
26  fread(&damage,1,1,fp);
27  points=new point_list(fp);
28}
29
30figure::figure(spec_entry *e, FILE *fp)
31{
32  im=new image(e,fp);
33  fread(&hit_damage,1,1,fp);
34  fread(&xcfg,1,1,fp);
35
36  touch=new point_list(fp);
37  damage=new point_list(fp);
38  hit=new point_list(fp);
39}
40
Note: See TracBrowser for help on using the repository browser.