Browse Source

add libRocket extensions for packp3d to pick up

rdb 14 years ago
parent
commit
5bf3aa09d5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      direct/src/p3d/Packager.py

+ 3 - 1
direct/src/p3d/Packager.py

@@ -2318,9 +2318,11 @@ class Packager:
 
 
         # Binary files that are considered uncompressible, and are
         # Binary files that are considered uncompressible, and are
         # copied without compression.
         # copied without compression.
-        self.uncompressibleExtensions = [ 'mp3', 'ogg', 'wav' ]
+        self.uncompressibleExtensions = [ 'mp3', 'ogg', 'wav', 'rml', 'rcss', 'otf' ]
         # wav files are compressible, but p3openal_audio won't load
         # wav files are compressible, but p3openal_audio won't load
         # them compressed.
         # them compressed.
+        # rml, rcss and otf files must be added here because
+        # libRocket wants to be able to seek in these files.
 
 
         # Files which are not to be processed further, but which
         # Files which are not to be processed further, but which
         # should be added exactly byte-for-byte as they are.
         # should be added exactly byte-for-byte as they are.