Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
пре 9 година
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
пре 9 година
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.
пре 9 година
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.
пре 9 година
Sam Hocevar
a07844682e
build: remove dead PS3 code.
пре 10 година
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
пре 10 година
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
пре 10 година
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
пре 10 година
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
пре 10 година
Sam Hocevar
c7a3c42a19
audio: report SDL mixer loading errors.
пре 11 година
Sam Hocevar
0c85df6717
audio: don't die when failing to load a sample with SDL.
пре 11 година
Sam Hocevar
75d4503a01
ps3: implement very simple audio playback.
пре 11 година
Sam Hocevar
6e282a674a
base: remove some sprintf() calls in profit of string ops.
пре 11 година
Sam Hocevar
f72381c28a
audio: add Sampler::LoopSample().
пре 11 година
Sam Hocevar
578ec1d413
audio: add a simple Stop() method to samples.
пре 11 година
Sam Hocevar
b12e6f914c
base: fix typo in sample.cpp that prevented sample loads.
пре 11 година
Sam Hocevar
ba1824ef83
sys: cycle through all possible directories to load resource files.
пре 11 година
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.
пре 12 година
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
пре 12 година
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
пре 12 година
Sam Hocevar
9b5880936c
build: tweak everything to allow building with SDL on the Raspberry Pi.
пре 12 година
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
пре 12 година
Sam Hocevar
90bfc79b22
core: tick methods now use seconds, like any sane system.
пре 12 година
Sam Hocevar
beb141dd5b
build: fix Win64 compilation with mingw64, using an updated SDL build.
пре 13 година
Sam Hocevar
3d4af0869a
ps3: start a minimal PS3 port using PSGL, but not CG yet.
пре 13 година
Sam Hocevar
1e5624d551
core: create a logger class to reduce printf usage.
пре 13 година
Sam Hocevar
700cfbd8ea
core: fix a few compilation errors and warnings on OS X.
пре 13 година
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
пре 13 година
Sam Hocevar
e41dd3a949
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
пре 13 година
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.
пре 13 година
Sam Hocevar
d697fd40b1
Name tilers, samples and pieces for easier debugging.
пре 14 година
Sam Hocevar
87ed8cdf52
Print error reports before panicking when asset loads fail.
пре 14 година
Sam Hocevar
f84b659c62
Slightly change the ...Data initialisation in classes.
пре 14 година
Sam Hocevar
640735731a
Add preliminary support for sound samples. Implement click.
пре 14 година
Sam Hocevar
290c8f40d7
Skeleton for sample entity and sampler manager classes.
пре 14 година