File: tlaser.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 (48 lines) | stat: -rw-r--r-- 925 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef _TLASER_H
#define _TLASER_H

#include "tentity.h"

class tlaser0 : public tentity
{
public:
  tentity *owner;
  int     damage_factor;

  tlaser0(void);
  int init_ssv(float d,int s1,int s2,int s3);
  virtual void init(
    tfloor *f,tentity **dp,float px,float py,int vx,int vy,tentity *o);
  int colision_droids(float cx,float cy);
  void colision(float cx,float cy);
  void draw(tfloor *c_f_ptr,int ppx,int ppy);
  void bg_calc(void);
private:
  int laser_bm_s;
};

class tlaser1 : public tlaser0
{
public:
  tlaser1(void);
  void init(
    tfloor *f,tentity **dp,float px,float py,int vx,int vy,tentity *o);
};

class tlaser2 : public tlaser0
{
public:
  tlaser2(void);
  void init(
    tfloor *f,tentity **dp,float px,float py,int vx,int vy,tentity *o);
};

class tlaser3 : public tlaser0
{
public:
  tlaser3(void);
  void init(
    tfloor *f,tentity **dp,float px,float py,int vx,int vy,tentity *o);
};

#endif