Mercurial > atc
view atc @ 56:a793c2b15c71 server
server: load a specified map from fs
author | Josef "Jeff" Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sun, 03 Jun 2007 01:18:28 -0400 |
parents | d2efdc4ff196 |
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"))