Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
hace 9 años
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
hace 9 años
Sam Hocevar
70edc0d38e
misc: carry on with the lowercase rampage.
Using “Array” instead of “array” is now fully deprecated, and I replaced
the Log::Debug() etc. functions with msg::debug() etc. because log:: was
unavailable due to being a maths function.
Added up-to-date copyright notice and BOM to modified files, just in case.
hace 9 años
Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
hace 9 años
Sam Hocevar
a07844682e
build: remove dead PS3 code.
hace 10 años
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
hace 10 años
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
hace 10 años
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
hace 10 años
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
hace 10 años
Sam Hocevar
c7a3c42a19
audio: report SDL mixer loading errors.
hace 11 años
Sam Hocevar
0c85df6717
audio: don't die when failing to load a sample with SDL.
hace 11 años
Sam Hocevar
75d4503a01
ps3: implement very simple audio playback.
hace 11 años
Sam Hocevar
6e282a674a
base: remove some sprintf() calls in profit of string ops.
hace 11 años
Sam Hocevar
f72381c28a
audio: add Sampler::LoopSample().
hace 11 años
Sam Hocevar
578ec1d413
audio: add a simple Stop() method to samples.
hace 11 años
Sam Hocevar
b12e6f914c
base: fix typo in sample.cpp that prevented sample loads.
hace 11 años
Sam Hocevar
ba1824ef83
sys: cycle through all possible directories to load resource files.
hace 11 años
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.
hace 12 años
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
hace 12 años
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
hace 12 años
Sam Hocevar
9b5880936c
build: tweak everything to allow building with SDL on the Raspberry Pi.
hace 12 años
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
hace 12 años
Sam Hocevar
90bfc79b22
core: tick methods now use seconds, like any sane system.
hace 12 años
Sam Hocevar
beb141dd5b
build: fix Win64 compilation with mingw64, using an updated SDL build.
hace 13 años
Sam Hocevar
3d4af0869a
ps3: start a minimal PS3 port using PSGL, but not CG yet.
hace 13 años
Sam Hocevar
1e5624d551
core: create a logger class to reduce printf usage.
hace 13 años
Sam Hocevar
700cfbd8ea
core: fix a few compilation errors and warnings on OS X.
hace 13 años
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
hace 13 años
Sam Hocevar
e41dd3a949
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
hace 13 años
Sam Hocevar
4df4ba3a78
Get rid of the SHADER_CRAP macro and use LOL_EXPERIMENTAL instead,
together with the --enable-experimental flag. Use LOL_DEBUG and
LOL_RELEASE instead of the previous values.
hace 13 años
Sam Hocevar
d697fd40b1
Name tilers, samples and pieces for easier debugging.
hace 14 años
Sam Hocevar
87ed8cdf52
Print error reports before panicking when asset loads fail.
hace 14 años
Sam Hocevar
f84b659c62
Slightly change the ...Data initialisation in classes.
hace 14 años
Sam Hocevar
640735731a
Add preliminary support for sound samples. Implement click.
hace 14 años
Sam Hocevar
290c8f40d7
Skeleton for sample entity and sampler manager classes.
hace 14 años