Sam Hocevar
|
227411f337
|
image: refactor codecs so that they no longer store anything in the image
objects themselves.
|
преди 11 години |
Sam Hocevar
|
f455f0e2d1
|
image: start reworking the Image class to properly split the pixel handling
and the codec logic.
|
преди 11 години |
Benjamin ‘Touky’ Huet
|
809600ea47
|
Fixed Thread-safe image loading
|
преди 11 години |
Sam Hocevar
|
79ed58f1f0
|
Merge branch 'master' into scenegraph
|
преди 11 години |
Sam Hocevar
|
d16595a0bc
|
image: some refactoring of the Image class. Not final.
|
преди 11 години |
Lolbot
|
ed8afab4bb
|
fixed 58 files out of 2859:
- removed 0 CR characters
- removed 112 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 58 svn:eol-style properties
|
преди 11 години |
Sam Hocevar
|
ce1d39cc3a
|
image: import old libpipi code, hoping it can be upgraded to C++ and
merged iteratively with our current image processing code.
|
преди 11 години |
Sam Hocevar
|
1544efa0cd
|
image: the GDI+ backend can now save images, too.
|
преди 11 години |
Sam Hocevar
|
d982b67aaa
|
image: add methods to save images and a small test program.
|
преди 11 години |
Lolbot
|
7f6d2054e5
|
fixed 5 files out of 2793:
- removed 2 CR characters
- removed 16 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 4 svn:eol-style properties
|
преди 11 години |
Benjamin ‘Touky’ Huet
|
f5e37a4337
|
AddedSprite_sorter stores parameters now.
Added palette in Scene.
|
преди 11 години |
Benjamin ‘Touky’ Huet
|
d075ef8861
|
tweak
|
преди 11 години |
Sam Hocevar
|
cdfb4e7abf
|
math: fix a few compilation warnings.
|
преди 11 години |
Lolbot
|
bb4f3923cd
|
fixed 18 files out of 2788:
- removed 121 CR characters
- removed 0 trailing whitespaces
- replaced 1 tabs with spaces
- fixed 18 svn:eol-style properties
|
преди 11 години |
Benjamin ‘Touky’ Huet
|
3d4b3d53c3
|
Added bunch of stuff on threads and images.
|
преди 11 години |
Sam Hocevar
|
8ede168e62
|
color: add some vec4 constants for usual colour names.
|
преди 11 години |
Sam Hocevar
|
10272731ee
|
color: fix issues in color to string conversions.
|
преди 12 години |
Sam Hocevar
|
547fe6a908
|
color: utility functions to convert vec3 colors to hex strings.
|
преди 12 години |
Sam Hocevar
|
92385ac1ee
|
android: more NativeActivity migration work.
|
преди 12 години |
Sam Hocevar
|
5f3ad5cc15
|
math: add constant vectors vec2::zero, vec2::axis_x, etc.
|
преди 12 години |
Sam Hocevar
|
98f8246323
|
build: lol-build now passes flags to configure, and configure now uses
optimisation flag -Os instead of -O3.
|
преди 12 години |
Sam Hocevar
|
6faf4ee067
|
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
|
преди 12 години |
Sam Hocevar
|
ba58bbbdcd
|
ps3: implement Lua file loading.
|
преди 13 години |
Sam Hocevar
|
c54ca8bf40
|
image: try to reuse existing images when loading them, and don't unload
tilesets yet, but make sure the architecture will allow it.
|
преди 13 години |
Sam Hocevar
|
e6b0bd07bf
|
image: hide the constructor behind a factory so that we can later
return an already created object if necessary.
|
преди 13 години |
Sam Hocevar
|
3106fcfd9d
|
image: fix an invalid implicit cast on Win32.
|
преди 13 години |
Sam Hocevar
|
f16704ecb0
|
image: GetData returns uint8_t* instead of void*, it's a lot safer.
|
преди 13 години |
Sam Hocevar
|
c46b3fbfec
|
image: remove the Image::Format enum and use PixelFormat instead.
|
преди 13 години |
Sam Hocevar
|
1b07850346
|
build: a few iOS build fixes; nowhere near ready though.
|
преди 13 години |
Sam Hocevar
|
3dd8f8118b
|
ps3: fix a bug and add better error reporting in the image loader.
|
преди 13 години |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
преди 13 години |
Sam Hocevar
|
1c3ca01ea0
|
build: fix a few compiler warnings here and there.
|
преди 13 години |
Sam Hocevar
|
14447c6061
|
ps3: use System::GetPathList() to open images.
|
преди 13 години |
Sam Hocevar
|
ba1824ef83
|
sys: cycle through all possible directories to load resource files.
|
преди 13 години |
Sam Hocevar
|
4be5ebd8b3
|
ps3: use network fallback for image files.
|
преди 13 години |
Sam Hocevar
|
bbf72e1a64
|
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
|
преди 13 години |
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.
|
преди 13 години |
Sam Hocevar
|
99b0874652
|
color: simplify CIEDE2000 distance code.
|
преди 13 години |
Sam Hocevar
|
b12c16448a
|
color: fix a mistake in the CIEDE2000 color-difference formula.
|
преди 13 години |
Sam Hocevar
|
a5ba03b405
|
color: unit test data for the CIEDE2000 color-difference formula.
|
преди 13 години |
Sam Hocevar
|
eae9dae863
|
color: fix typo in float table.
|
преди 13 години |
Sam Hocevar
|
d8577e0ec7
|
color: move the CIEDE2000 distance code into the C++ file and
reorganise the CIE-1931 and CIE-1964 tables.
|
преди 13 години |
Sam Hocevar
|
4e678e2cd0
|
color: linear interpolation for the wavelength to colour function.
|
преди 13 години |
Sam Hocevar
|
44f324a354
|
color: add conversion from CIE-xyY to CIE-XYZ and start working on
a wavelength to saturated xyY function based on the standard observer
data.
|
преди 13 години |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
преди 13 години |
Sam Hocevar
|
72a6839dce
|
image: better error detection in the GDI+ image codec.
|
преди 13 години |
Sam Hocevar
|
291fd0c3c6
|
android: if current thread is unknown to the JVM, try to register it.
|
преди 13 години |
Sam Hocevar
|
9b5880936c
|
build: tweak everything to allow building with SDL on the Raspberry Pi.
|
преди 13 години |
Sam Hocevar
|
28728814cc
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
преди 13 години |
Sam Hocevar
|
6eb41c04ff
|
win32: better error reporting in the GDI+ loader, based on a patch by ponce.
|
преди 13 години |