Benjamin ‘Touky’ Huet
e1d1ecfd81
Added AsyncImageLoader to load images on threads
Inverted image/all.h and thread/all.h to ensure build
Added Image::DummyFill that uses DummyImageCodec to fill empty image
Added Log:: Error/Info in image Load/Save
před 10 roky
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
před 11 roky
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
před 11 roky
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
před 11 roky
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
před 11 roky
Sam Hocevar
5fc5d62849
image: add an optional Imlib2 codec, prepare for float32 images, make the
Lock/Unlock mechanism safer, and implement the rule of three.
před 11 roky
Sam Hocevar
227411f337
image: refactor codecs so that they no longer store anything in the image
objects themselves.
před 11 roky
Sam Hocevar
f455f0e2d1
image: start reworking the Image class to properly split the pixel handling
and the codec logic.
před 11 roky
Sam Hocevar
d982b67aaa
image: add methods to save images and a small test program.
před 11 roky
Sam Hocevar
98f8246323
build: lol-build now passes flags to configure, and configure now uses
optimisation flag -Os instead of -O3.
před 12 roky
Sam Hocevar
f16704ecb0
image: GetData returns uint8_t* instead of void*, it's a lot safer.
před 12 roky
Sam Hocevar
c46b3fbfec
image: remove the Image::Format enum and use PixelFormat instead.
před 12 roky
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
před 13 roky
Sam Hocevar
ba1824ef83
sys: cycle through all possible directories to load resource files.
před 13 roky
Sam Hocevar
6a6e46cf0d
system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.
před 13 roky
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
před 13 roky
Sam Hocevar
9b5880936c
build: tweak everything to allow building with SDL on the Raspberry Pi.
před 13 roky
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
před 13 roky
Sam Hocevar
ad64711c84
sdl: convert any opened image to 8 bit per channel because we don't have
any mechanism yet for uploading exotic formats to the GPU.
před 13 roky
Sam Hocevar
a59f2efb07
build: bring the iOS port up to date by synchronising new source file
names with the project file.
před 14 roky
Sam Hocevar
bcea65d273
core: remove calls to exit() in image loaders since they can now report
on errors.
před 14 roky
Sam Hocevar
c61ae1ffa7
core: implement dynamic registration of image loaders.
před 14 roky