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

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

ps3: make everything compile on the PS3. Of course, nothing links yet
because so much support is missing.

File size: 888 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, by
8 *  Jonathan Clark, or by Sam Hocevar.
9 */
10
11#if defined HAVE_CONFIG_H
12#   include "config.h"
13#endif
14
15#include "items.h"
16
17backtile::backtile(spec_entry *e, FILE *fp)
18{
19  im=new image(e,fp);
20  next=read_short(fp);
21}
22
23foretile::foretile(spec_entry *e, FILE *fp)
24{
25  unsigned char d[2],i;
26  im=new image(e,fp);
27  next=read_short(fp);
28  fread(&damage,1,1,fp);
29  points=new point_list(fp);
30}
31
32figure::figure(spec_entry *e, FILE *fp)
33{
34  im=new image(e,fp);
35  fread(&hit_damage,1,1,fp);
36  fread(&xcfg,1,1,fp);
37
38  touch=new point_list(fp);
39  damage=new point_list(fp);
40  hit=new point_list(fp);
41}
42
Note: See TracBrowser for help on using the repository browser.