File: tparadroid.h

package info (click to toggle)
nighthawk 1.0-8
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,420 kB
  • ctags: 18,064
  • sloc: fortran: 17,597; cpp: 4,948; makefile: 87; sh: 13
file content (27 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _TPARADROID_H
#define _TPARADROID_H

#include "tdroid.h"

#define MAX_MESSAGES 7

class tparadroid : public tdroid
{
public:
  int     transferring,flr_move,button_down,tug1,tug2;
  char    *message[MAX_MESSAGES];
  tdroid  *captured_droid;

  tparadroid(void);
  ~tparadroid(void);
  void init(tfloor *f,tentity **dp,float px,float py);
  void draw(void);
  int within_capt_dist(void);
  void bg_calc(void);
  void capture_droid(int cx,int cy);
  int action(XEvent *event);
  void display_nd(void);
  void add_message(char *str);
};

#endif