Sam Hocevar
7558d0664a
image: more method renaming for consistency.
8 years ago
touky
24d9405ff3
ResourceLoader + tileset tweaks
Moved ImageLoader to ResourceLoader, so that loading is extensible.
i.e. here: Zed image loader now loads up a tileset instead of being a
hacked image loader.
Goal is to support more funky stuff (wad, pak .....)
9 years ago
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
10 years ago
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
11 years ago
Sam Hocevar
8329482cb9
image: do not alter the pointer returned by Lock().
11 years ago
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
11 years ago
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
11 years ago
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.
11 years ago
Sam Hocevar
227411f337
image: refactor codecs so that they no longer store anything in the image
objects themselves.
11 years ago
Sam Hocevar
f455f0e2d1
image: start reworking the Image class to properly split the pixel handling
and the codec logic.
11 years ago
Sam Hocevar
d982b67aaa
image: add methods to save images and a small test program.
11 years ago
Sam Hocevar
f16704ecb0
image: GetData returns uint8_t* instead of void*, it's a lot safer.
12 years ago
Sam Hocevar
c46b3fbfec
image: remove the Image::Format enum and use PixelFormat instead.
12 years ago
Sam Hocevar
1c3ca01ea0
build: fix a few compiler warnings here and there.
13 years ago
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 years ago
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
13 years ago
Sam Hocevar
01ebcec3b8
core: split vector operations into linear and non-linear so that we can
reuse the linear operations in quaternions. Also mark some constructors
explicit to better spot coding errors.
14 years ago
Sam Hocevar
a59f2efb07
build: bring the iOS port up to date by synchronising new source file
names with the project file.
14 years ago
Sam Hocevar
c61ae1ffa7
core: implement dynamic registration of image loaders.
14 years ago