Mercurial > fife-parpg
diff engine/extensions/loaders.py @ 146:54b3984e1afc
The getIndex function was a hack that shadowed another bug
that caused the pools to misbehave.
AddResourceFromFile works now exactly as getIndex,
it's just faster.
Fixed GUIImage to not hold a reference, it uses the
index directly anyway.
Plus heaps of minor adjustments for
more informative debug output and statistics.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 09 Oct 2008 12:36:21 +0000 |
parents | e7a431577c95 |
children | 48c99636453e |
line wrap: on
line diff
--- a/engine/extensions/loaders.py Thu Oct 09 08:23:13 2008 +0000 +++ b/engine/extensions/loaders.py Thu Oct 09 12:36:21 2008 +0000 @@ -23,7 +23,7 @@ """ map_loader = XMLMapLoader(engine, callback) map = map_loader.loadResource(fife.ResourceLocation(path)) - #print "--- Loading map took: ", map_loader.time_to_load, " seconds." + print "--- Loading map took: ", map_loader.time_to_load, " seconds." return map