fgsfds
25a1cb8ce7
Nintendo Switch support (again)
2 years ago
Alibek Omarov
0e9106685b
engine: imagelib: img_png: fix Mem_Free on null ptr
2 years ago
Alibek Omarov
9b001987e9
engine: imagelib: fix crash when chunk length is more than file size
2 years ago
Alibek Omarov
e48b708fa6
engine: imagelib: img_png: validate image size through common engine function
2 years ago
Andrey Akhmichin
7bb994f7bc
engine: common: imagelib: img_png.c: fix wrong palette decoding.
2 years ago
Andrey Akhmichin
d237114962
engine: common: imagelib: img_png.c: unroll loops.
2 years ago
Andrey Akhmichin
fd152e82e8
engine: common: imagelib: img_png.c: add support for indexed and grayscale PNG images.
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 years ago
Alibek Omarov
9c8059ea96
engine: imagelib: add BGRA saving for PNG
...
Fix incorrect output, when input format has alpha but flags don't
have set IMAGE_HAS_ALPHA.
Flags are meant to control output format, but input format may be arbitrary,
as usually given by video driver(screenshots, etc)
4 years ago
Andrey Akhmichin
e69956c9ea
engine: common: imagelib: img_png.c: set IMAGE_HAS_ALPHA flag only for RGBA images.
5 years ago
Alibek Omarov
0db1a7743d
engine: try to fix -Wmaybe-uninitialized that may be enabled with -Wuninitialized. Diagnostic is prone to false-positives, as compiler don't have enough data for this
5 years ago
Andrey Akhmichin
248c8a745c
engine: common: imagelib: split imagelib.h.
5 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
Andrey Akhmichin
01e2ea24da
engine: common: imagelib: img_png.c: add a missing return statement.
5 years ago
mittorn
2b90790071
network: add stub for systems without BSD sockets, WATTCP support
5 years ago
Alibek Omarov
0fe18ae6dc
engine: fix -Wmaybe-uninitialized
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
8bb6aa2c51
engine: don't include windows headers, as they globally included by port.h already
5 years ago
Alibek Omarov
505392c2f8
imagelib: png: include correct winsock
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
6 years ago
Night Owl
4eee187f1b
engine: common: imagelib: add simple decoder/encoder for 8-bit RGB/RGBA PNG images.
6 years ago