First stage of ship browser rewrite

This commit is contained in:
cncfanatics
2010-10-12 15:47:25 +02:00
parent cd7fc555cb
commit 64ae2b8a01
2 changed files with 14 additions and 344 deletions

View File

@@ -26,7 +26,8 @@ def getStaticBitmap(name, parent, location):
static.SetBitmap(getBitmap(name,location))
return static
locationMap = {"pack": os.path.join(config.staticPath, "icons")}
locationMap = {"pack": os.path.join(config.staticPath, "icons"),
"ships": os.path.join(config.staticPath, "icons", "ships")}
def getBitmap(name,location):
icon = getImage(name, location)