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 년 전