Skip to content

Commit eaf2db1

Browse files
committed
asset editor: commented out scan for "DEF_METASPRITE_" a feature that was never implemented
1 parent 4ce59be commit eaf2db1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/ide/views/asseteditor.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ export class AssetEditorView implements ProjectView, pixed.EditorContext {
193193
}
194194
}
195195
// look for DEF_METASPRITE_2x2(playerRStand, 0xd8, 0)
196-
// TODO: could also look in ROM
196+
// TODO: this feature was never implemented, it would require a totally new type of editor and stuff
197+
/*
197198
var re2 = /DEF_METASPRITE_(\d+)x(\d+)[(](\w+),\s*(\w+),\s*(\w+)/gi;
198199
while (m = re2.exec(data)) {
199200
var width = parseInt(m[1]);
@@ -210,6 +211,7 @@ export class AssetEditorView implements ProjectView, pixed.EditorContext {
210211
var meta = { defs: metadefs, width: width * 8, height: height * 8 };
211212
result.push({ fileid: id, label: ident, meta: meta });
212213
}
214+
*/
213215
// TODO: look for decode <ident> --- ... ---
214216
/*
215217
var re3 = /\bdecode\s+(\w+)\s*---(.+?)---/gims;

0 commit comments

Comments
 (0)