annotate atc_plane_specs.py @ 10:7bb4cd2fa1bc

Changed window size from 800x600 to 1024x768 Fixed scaling factors to represent real world values Moved aircraft specs into a separate file Moved all the velocity and position vars into few dictionaries Internal vars hold meter or meters/second values committer: Jeff Sipek <jeffpc@jeff.(none)> 1120786621 -0400
author Jeff Sipek <jeffpc@jeff.(none)>
date Fri, 08 Jul 2005 01:37:01 -0400
parents
children 300ba3412449
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
1 #/*
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
2 # * ATC - Air Traffic Controller simulation game
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
3 # *
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
4 # * Copyright (C) 2004 Josef "Jeff" Sipek <jeffpc@optonline.net>
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
5 # *
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
6 # * This program is free software; you can redistribute it and/or modify
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
7 # * it under the terms of the GNU General Public License as published by
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
8 # * the Free Software Foundation; either version 2 of the License, or
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
9 # * (at your option) any later version.
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
10 # *
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
11 # * This program is distributed in the hope that it will be useful,
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
12 # * but WITHOUT ANY WARRANTY; without even the implied warranty of
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
13 # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
14 # * GNU General Public License for more details.
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
15 # *
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
16 # * You should have received a copy of the GNU General Public License
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
17 # * along with this program; if not, write to the Free Software
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
18 # * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
19 # *
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
20 # * @(#) %M% %I% %E% %U%
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
21 # */
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
22
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
23 # all measurements in meters/sec or meters
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
24 plane_SPECS = ({"name": "Piper PA28-140 Cherokee",
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
25 "stall_speed": 16.667,
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
26 "climb_normal": 182.0,
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
27 "max_altitude": 6500.0},
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
28
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
29 {"name": "Boeing 747-400",
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
30 "stall_speed": 62.572,
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
31 "climb_normal": 900.0,
7bb4cd2fa1bc Changed window size from 800x600 to 1024x768
Jeff Sipek <jeffpc@jeff.(none)>
parents:
diff changeset
32 "max_altitude": 13000.0})