forked from Ports/perfect_dark
port: auto-generate headers like the decomp does
this does not require the ROM
This commit is contained in:
1 parent
67492e744d
commit
28282f1c35
7 files changed
+61
-14
No files matched your search
@@ -3,6 +3,7 @@
|
||||
import assetmgr
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
def main():
|
||||
fd = open('src/assets/%s/textures.json' % os.environ['ROMID'], 'r')
|
||||
@@ -11,7 +12,8 @@ def main():
|
||||
|
||||
rows = json.loads(data)
|
||||
|
||||
make_objects(rows)
|
||||
if '--headers-only' not in sys.argv:
|
||||
make_objects(rows)
|
||||
make_header(rows)
|
||||
|
||||
def make_header(rows):
|
||||
|
||||
Reference in new issue
Block a user