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 години