Alibek Omarov
dd2c369df3
engine: imagelib: fix integer overflow on huge images when calculating reflectivity
9 months ago
Alibek Omarov
36cec298c2
Revert "engine: common: imagelib: img_tga.c: fix broken tga flip."
...
This reverts commit 99de598ea4
.
2 years ago
Alibek Omarov
6199426e5e
Revert "engine: common: imagelib: img_tga.c: fix broken tga flip again."
...
This reverts commit e5720cf8b9
.
2 years ago
Andrey Akhmichin
e5720cf8b9
engine: common: imagelib: img_tga.c: fix broken tga flip again.
2 years ago
Andrey Akhmichin
99de598ea4
engine: common: imagelib: img_tga.c: fix broken tga flip.
2 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
c53985c0bc
engine: common: imagelib: img_tga.c: refactor Targa encoder.
4 years ago
Andrey Akhmichin
248c8a745c
engine: common: imagelib: split imagelib.h.
5 years ago
Andrey Akhmichin
e96ea719d5
engine: common: imagelib: use rgba_t as RGBA palette type.
5 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
Andrey Akhmichin
f5783ae1df
engine: common: imagelib: img_tga.c: check pixel type before buffer allocation.
5 years ago
mittorn
9a1414505a
imagelib: support for 16-bit transparent tga
5 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago