Sam Hocevar
|
98f8246323
|
build: lol-build now passes flags to configure, and configure now uses
optimisation flag -Os instead of -O3.
|
12 years ago |
Sam Hocevar
|
ba58bbbdcd
|
ps3: implement Lua file loading.
|
13 years ago |
Sam Hocevar
|
3106fcfd9d
|
image: fix an invalid implicit cast on Win32.
|
13 years ago |
Sam Hocevar
|
f16704ecb0
|
image: GetData returns uint8_t* instead of void*, it's a lot safer.
|
13 years ago |
Sam Hocevar
|
c46b3fbfec
|
image: remove the Image::Format enum and use PixelFormat instead.
|
13 years ago |
Sam Hocevar
|
1b07850346
|
build: a few iOS build fixes; nowhere near ready though.
|
13 years ago |
Sam Hocevar
|
3dd8f8118b
|
ps3: fix a bug and add better error reporting in the image loader.
|
13 years ago |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
13 years ago |
Sam Hocevar
|
1c3ca01ea0
|
build: fix a few compiler warnings here and there.
|
13 years ago |
Sam Hocevar
|
14447c6061
|
ps3: use System::GetPathList() to open images.
|
13 years ago |
Sam Hocevar
|
ba1824ef83
|
sys: cycle through all possible directories to load resource files.
|
13 years ago |
Sam Hocevar
|
4be5ebd8b3
|
ps3: use network fallback for image files.
|
13 years ago |
Sam Hocevar
|
bbf72e1a64
|
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
|
13 years ago |
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 years ago |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
13 years ago |
Sam Hocevar
|
72a6839dce
|
image: better error detection in the GDI+ image codec.
|
13 years ago |
Sam Hocevar
|
291fd0c3c6
|
android: if current thread is unknown to the JVM, try to register it.
|
13 years ago |
Sam Hocevar
|
9b5880936c
|
build: tweak everything to allow building with SDL on the Raspberry Pi.
|
13 years ago |
Sam Hocevar
|
28728814cc
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
13 years ago |
Sam Hocevar
|
6eb41c04ff
|
win32: better error reporting in the GDI+ loader, based on a patch by ponce.
|
13 years ago |
Sam Hocevar
|
d855e72198
|
win32: the GDI+ byte swapping was wrong; fix that.
|
13 years ago |
Sam Hocevar
|
d539f3b80c
|
win32: shuffle bytes in GDI images to match what OpenGL supports.
|
13 years ago |
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.
|
13 years ago |
Sam Hocevar
|
06d9d00c34
|
win32: no longer ship GDI+ because MinGW ships a working version, including
for Win64.
|
14 years ago |
Sam Hocevar
|
7e337a0607
|
ps3: compilation fixes for the PS3.
|
14 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
|
fbdec834dd
|
image: add a GDI+ loader.
|
14 years ago |
Sam Hocevar
|
fe0d76cede
|
build: fix PS3 and Android build; it was broken since the ImageData refactor.
|
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
|
abbf9ba44c
|
build: fix a shitload of build errors introduced by the Image refactoring
and the OS X port.
|
14 years ago |
Sam Hocevar
|
2435bd47ed
|
osx: automake does not support .mm files yet, so rename ios-image.mm back
to ios-image.cpp, but disable it on OS X because UIKit isn't available.
|
14 years ago |
Sam Hocevar
|
11dce0c620
|
ios: rename iOS image loader to .mm.
|
14 years ago |
Sam Hocevar
|
bcea65d273
|
core: remove calls to exit() in image loaders since they can now report
on errors.
|
14 years ago |
Sam Hocevar
|
c61ae1ffa7
|
core: implement dynamic registration of image loaders.
|
14 years ago |