Commit e64c4f5
authored
INF parsing fixes for split seq blocks. (luciusDXL#588)
1. Add function mergeExistingInfItem() to scan for existing INF items with matching name and wallnum, then merge the newly added item's classData to the existing entry. This structures the data such that the INF editor UI can use these classes correctly.
2. Add s_levelInf.item.clear() to areas where it was needed. Item data was accumulating and ending up in strange places like exported TFL files.1 parent fe2d97b commit e64c4f5
2 files changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| 511 | + | |
511 | 512 | | |
512 | 513 | | |
513 | 514 | | |
| |||
529 | 530 | | |
530 | 531 | | |
531 | 532 | | |
| 533 | + | |
532 | 534 | | |
533 | 535 | | |
534 | 536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1231 | 1231 | | |
1232 | 1232 | | |
1233 | 1233 | | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
1234 | 1254 | | |
1235 | 1255 | | |
1236 | 1256 | | |
| |||
1454 | 1474 | | |
1455 | 1475 | | |
1456 | 1476 | | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
1457 | 1480 | | |
1458 | 1481 | | |
1459 | 1482 | | |
| |||
0 commit comments