View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001130 | FSSCP | FRED | public | 2006-10-29 09:46 | 2012-01-09 18:06 |
Reporter | ARSPR | Assigned To | taylor | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | P4 2.8 HT - 1.5GB - 7800GS | OS | Windows XP | OS Version | SP2 |
Product Version | 3.6.9 | ||||
Fixed in Version | 3.6.9 | ||||
Summary | 0001130: TBL Info in Ship Editor doesn't show tbm additions | ||||
Description | While digging about 0001129, I've opened "Final Evacuation" (CH2-12.fs2) from "Into the Depths of Hell 2" mod. And I've seen that GTI Acheron "Sentry 2" TBL Info is empty. I suppose that this happens because GTI Acheron class is added through a modular table (ItDoH2-shp.tbm) instead of a new Ship.tbl. Another example is GTF Myrmidon which is added "$Allowed PBanks:("Malcifer" "EMP Cannon"). But this info isn't shown through TBL Info Button. | ||||
Tags | No tags attached. | ||||
|
It may not be the prettiest thing in the world, but I've got a fix for this. Actually, a fix for a couple of bugs I found in the process as well. What I have it doing is just going: list anything in ships.tbl, then list anything that if finds in any *-shp.tbm. It will separate the stuff with a "-- tbl name ------------" type of deal. Works pretty well I think. Two other bugs that I found in the same code though: 1) it didn't strip off the @ symbol like the normal ship parsing code does, so it didn't list those ships since the name doesn't match exactly, and 2) it didn't strip trailing whitespace so the ship name wouldn't match if it had an extra space or tab after it. So, is this acceptable? (I don't use FRED, which is why I want to make sure this is good enough) |
|
If the @ and \s* bugs are fixed, that should be acceptable. :) |
|
Fixered. |
fs2open: fs2_open_3_6_9 r3677 2006-11-01 10:55 Ported: N/A Details Diff |
make "TBL Info" button in ships editor handle modular tables (Mantis bug 0001130) fix bugs where ship names with leading '@' or trailing whitespace didn't get compared properly in "TBL Info" |
Affected Issues 0001130 |
|
mod - /branches/fs2_open_3_6_9/fs2_open/code/fred2/textviewdlg.cpp | Diff File | ||
mod - /trunk/fs2_open/code/fred2/textviewdlg.cpp | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-10-29 09:46 | ARSPR | New Issue | |
2006-11-01 13:22 | taylor | Note Added: 0007053 | |
2006-11-01 13:22 | taylor | Status | new => assigned |
2006-11-01 13:22 | taylor | Assigned To | => taylor |
2006-11-01 13:34 | Goober5000 | Note Added: 0007054 | |
2006-11-01 14:52 | taylor | Status | assigned => resolved |
2006-11-01 14:52 | taylor | Fixed in Version | => 3.6.9 |
2006-11-01 14:52 | taylor | Resolution | open => fixed |
2006-11-01 14:52 | taylor | Note Added: 0007055 | |
2012-01-05 22:55 | taylor | Changeset attached | => Import 2012-01-05 17:52:05 fs2_open_3_6_9 r3677 |
2012-01-09 18:06 | taylor | Changeset attached | => fs2open_websvn fs2_open_3_6_9 r3677 |