diff anmviewer @ 241:dd2bd7283bec

Add support for multiple-file anms to anmviewer, add feature to force acceptance of translations
author Thibaut Girka <thib@sitedethib.com>
date Sun, 01 Jan 2012 23:52:53 +0100
parents cbe9dbd80dfb
children 402e96a0baeb
line wrap: on
line diff
--- a/anmviewer
+++ b/anmviewer
@@ -30,7 +30,7 @@ def main(path, data, name, script, sprit
     resource_loader.scan_archives(os.path.join(path, name) for name in data)
 
     # Get out animation
-    anm_wrapper = resource_loader.get_anm_wrapper((name,))
+    anm_wrapper = resource_loader.get_anm_wrapper(name.split(','))
     anm = ANMRenderer(resource_loader, anm_wrapper, script, sprites)
     anm.start()