view atc @ 47:d2efdc4ff196

Initial reorganization of the code
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Fri, 01 Jun 2007 02:32:48 -0400
parents ca661c5a267b
children
line wrap: on
line source

#!/usr/bin/env python

#/*
# * ATC - Air Traffic Controller simulation game
# *
# * Copyright (C) 2004-2007 Josef "Jeff" Sipek <jeffpc@josefsipek.net>
# *
# * This program is free software; you can redistribute it and/or modify
# * it under the terms of the GNU General Public License version 2 as
# * published by the Free Software Foundation.
# *
# * 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.
# */

import os, sys

basedir = os.path.dirname(sys.argv[0])

import atcgame.mainmenu

# a hack to make things run from current dir without having to install
sys.path.insert(0, os.path.join(basedir,"atcgame"))

atcgame.mainmenu.main(os.path.join(basedir,"data"))