File: tdroid.h

package info (click to toggle)
nighthawk 1.0-9
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,420 kB
  • ctags: 18,064
  • sloc: fortran: 17,597; cpp: 4,948; makefile: 87; sh: 13
file content (30 lines) | stat: -rw-r--r-- 693 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
28
29
30
#ifndef _TDROID_H
#define _TDROID_H

#include "tentity.h"
#include "tlaser.h"

class tdroid : public tentity
{
public:
  tlaser0 *laser_list[MAX_LASERS];
  int expl_anim_speed,ss_expl_anim_ptr,expl_anim_ptr,expl_anim_len;
  float shield_wave_inc;
  int captured;

  tdroid(void);
  void init(tfloor *f,tentity **dp,float px,float py);
  int create_laser(int vx,int vy);
  void free_all_laser(void);
  void snap_shot(void);
  void draw_laser(tfloor *c_f_ptr,int px,int py);
  void bg_calc_laser(void);
  void shields_low(int ix,int iy);
  void draw(tfloor *c_f_ptr,int px,int py);
  void bg_calc(void);
  void friction(void);
  virtual void display_nd(void);
  void hit(tlaser0 *l);
};

#endif