Mercurial > atc
view 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 |
line wrap: on
line source
#/* # * ATC - Air Traffic Controller simulation game # * # * Copyright (C) 2004 Josef "Jeff" Sipek <jeffpc@optonline.net> # * # * This program is free software; you can redistribute it and/or modify # * it under the terms of the GNU General Public License as published by # * the Free Software Foundation; either version 2 of the License, or # * (at your option) any later version. # * # * This program is distributed in the hope that it will be useful, # * but WITHOUT ANY WARRANTY; without even the implied warranty of # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # * GNU General Public License for more details. # * # * You should have received a copy of the GNU General Public License # * along with this program; if not, write to the Free Software # * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # * # * @(#) %M% %I% %E% %U% # */ # all measurements in meters/sec or meters plane_SPECS = ({"name": "Piper PA28-140 Cherokee", "stall_speed": 16.667, "climb_normal": 182.0, "max_altitude": 6500.0}, {"name": "Boeing 747-400", "stall_speed": 62.572, "climb_normal": 900.0, "max_altitude": 13000.0})