File: shoot2.nds

package info (click to toggle)
sabre 0.2.4b-13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,556 kB
  • ctags: 7,207
  • sloc: cpp: 36,934; ansic: 8,272; sh: 2,546; makefile: 227
file content (60 lines) | stat: -rwxr-xr-x 887 bytes parent folder | download | duplicates (5)
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
49
50
51
52
53
54
55
56
57
58
59
60
2
[
  0
  {

		 100 0 0
		 1 1 1
		 0 1 1
		 100 0.5 0.1
		 0
		 550 <1.5707963 1.5707963 1> <100 48000 15000> 280 0.0 0.00212 300 450
  }
  0
  2
  0
  0
  ALPHA
]

[
  1
  {

		 100 0 0
		 0 1 1
		 1 1 1
		 100 0.5 0.1
		 0
		 550 <1.5707963 1.5707963 1> <100 46000 15000> 300 0.0 0.00212 300 450
  }
  1
  1
  1
  1
  FOXTROT
]

2
(1 0) (0 1)


Flight node =
 [
 Flight_Specs index
 { flight params }
 ZManager index
 WeaponList index
 Pilot Params index
 Waypoint index
 ]

typedef enum flight_view { front, left, right, back, satellite,
									  outside_1, outside_2, outside_3, outside_4 };
friend istream & operator >>(istream &is, Flight_Controls &fc);
{
	  is >> fc.throttle >> fc.landing_gear >> fc.wheel_brakes;
	  is >> fc.cockpit >> fc.hud_on >> fc.vextern;
	  is >> fc.autopilot >> >> fc.gunsight >> fc.radar ;
	  is >> fc.vdist >> fc.vtheta >> fc.vphi;
	  is >> fc.view