scummvm/image
Torbjörn Andersson 1ae0fe2d1e GRAPHICS: Assume PICT are version 2 by default
The version number decides if opcodes are 1 or 2 bytes, but we don't
know for sure which it is until the first opcode has been handled. But
the way the o_versionOp1 opcode is defined, we should recognize it it
regardless, so going from assumed version 2 to confirmed version 1
should be no problem. I do not have any test case to confirm this,
though.

What I do know is that going from assumed version 1 to confirmed version
2 does not work, so we want _version to be well defined (even if wrong)
from the beginning.
2022-11-22 07:10:20 +01:00
..
codecs IMAGE: Add missing initializer to HNM6 decoder 2022-09-18 12:12:02 +02:00
bmp.cpp IMAGE: Added support for 16 bit bitmap images, and check for RGB555 2022-01-23 21:38:33 +01:00
bmp.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
cel_3do.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
cel_3do.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
gif.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
gif.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
iff.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
iff.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
image_decoder.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
jpeg.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
jpeg.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
module.mk CRYOMNI3D: Add HNM6 image and video codec 2022-08-30 11:02:32 +02:00
pcx.cpp JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03:00
pcx.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
pict.cpp GRAPHICS: Assume PICT are version 2 by default 2022-11-22 07:10:20 +01:00
pict.h GRAPHICS: IMAGE: clean up build warning 2022-07-04 21:13:54 +03:00
png.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
png.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
tga.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
tga.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00