ADF_open: add fine grained error reporting, dont fail always
commit3cbd71210b95cf0391898c38e4d7ba7e8cc6dd74
authorrofl0r <rofl0r@users.noreply.github.com>
Mon, 29 Aug 2022 17:02:37 +0000 (29 17:02 +0000)
committerrofl0r <rofl0r@users.noreply.github.com>
Mon, 29 Aug 2022 17:02:37 +0000 (29 17:02 +0000)
tree8d00271d1f6347ec2df835c75f3c5a35603defea
parent0a39359b4adc7e6c4d8bf95471c09587f5f0e17d
ADF_open: add fine grained error reporting, dont fail always

for some cases, we can ignore errors that happen during game file
parsing. for example, for sprite stuff we need only information
that's very early in the game file.
also for game scripts, most needed information comes relatively
early. the full parse is only needed to reproduce the header
with constants to recompile a game, but that's just a "nice-to-have"
and shouldnt prevent other functionality from kicking in when
the data can't be extracted.
DataFile.c
DataFile.h
agsalphahack.c
agsalphainfo.c
agscriptxtract.c
agsprite.c