File: tdroid_1xx.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 (35 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (7)
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
#ifndef _TDROID_1XX_H
#define _TDROID_1XX_H

#include "tdroid.h"

typedef struct _tdroid_cmd_list
{
  char                    cmd;
  int                     d1;
  int                     d2;
  struct _tdroid_cmd_list *next;
} tdroid_cmd_list;

class tdroid_108 : public tdroid
{
public:
  int             count;
  tdroid_cmd_list *droid_cmd_list,*droid_cmd_list_ptr;

  tdroid_108(void);
  ~tdroid_108(void);
  int append_cmd(tdroid_cmd_list **ptr,int cmd,int d1,int d2);
  void free_all_cmd(tdroid_cmd_list **ptr);
  void set_dir_vect(float vx,float vy);
  void next_cmd(void);
  void bg_calc(void);
};

class tdroid_176 : public tdroid_108
{
public:
  tdroid_176(void);
};

#endif