UFO: Alien Invasion Issue Tracker
Please log in to bookmark issues
OPEN  Feature request #3857  -  ufo2map check entity keys by parsing def file
Posted Oct 04, 2008 - updated Jan 29, 2013
mattn (tlh2000) has been working on this issue since January 29, 2013 (20:18)
Issue details
  • Type of issue
    Feature request
  • Status
  • Assigned to
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
  • Owned by
    Not owned by anyone
  • Category
  • Priority
    3. Normal
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Not determined
Issue description
Item 372 imported from sourceforge.net tracker on 2013-01-28 20:18:20

ufo2map should report entity keys that don't belong there - maybe parse the entity.def and use that one as reference - keys that are not listed in it should be reported as wrong and should be removed

a parser for the def file can be found in radiant already - eclass_def.cpp (afair)
Comments Ported from Sourceforge  ⇑ top
tlh2000 (2008-10-04 07:05:37)  ⇑ top
putting the def parsing into an own file would be nice - then we could use the functions in radiant, too (once we merged all those shared functions to use the same code instead of having it twice in our source tree)

the def parser should therefore be written with keeping in mind that it should be useable from outside (only use COM_Parse or low level stuff e.g.)