Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
пре 10 година
Sam Hocevar
b25222af18
base: implement UNUSED() macro and put it here and there.
пре 12 година
Sam Hocevar
39cd7a1fd0
build: revert the weak symbol work; it confuses Visual Studio too much.
пре 12 година
Sam Hocevar
d3af7653c0
build: provide weak symbols for lol_sdl_main on Visual Studio.
пре 12 година
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
пре 12 година
Sam Hocevar
6e37ab6858
test: use SDLmain for the testsuite, too.
пре 12 година
Sam Hocevar
5bd24fa1d3
build: hide the SDL_main.h inclusion in core.h, and only activate it
on Windows if using Visual Studio; if using MinGW, try to stick to the
original main() entry point.
пре 12 година
Sam Hocevar
b5563ad21d
core: switch the Win32/x64 binaries to the Windows subsystem so that they
do not open a console at startup.
пре 12 година
Sam Hocevar
abbf9ba44c
build: fix a shitload of build errors introduced by the Image refactoring
and the OS X port.
пре 13 година
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.
пре 13 година
Sam Hocevar
5081f7034a
test: reorganise test suite and benchmark code.
пре 13 година
Sam Hocevar
75d8811c74
lolunit: rename test runner’s run() method to Run() for consistency.
пре 13 година
Sam Hocevar
b64d051e6a
lolunit: free all the memory we allocated to avoid a minor memory leak,
and slightly tweak the API syntax.
пре 13 година
Sam Hocevar
579f77bded
test: make LolUnit's output match CppUnit's more closely.
пре 13 година
Sam Hocevar
a374127e80
test: replace CppUnit with our LolUnit test suite.
CppUnit is really too large for our needs, would require to be precompiled
for many platforms, in all combinations of debug and release modes, with
additional variants for libstdc++ versions. We replace it with our own
lightweight implementation, LolUnit. Good riddance.
пре 13 година
Sam Hocevar
0e622822e7
test: add a few Visual Studio 2010 project files and fix testsuite code
so that it builds properly.
пре 13 година
Sam Hocevar
da73635c64
Add an optional cppunit dependency for unit tests.
пре 13 година
Sam Hocevar
21fd077d12
Reduce audio latency by using 1K samples instead of 4K.
пре 14 година
Sam Hocevar
640735731a
Add preliminary support for sound samples. Implement click.
пре 14 година
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
пре 14 година
Sam Hocevar
50e4f67254
Get the timer to talk milliseconds instead of seconds.
пре 14 година
Sam Hocevar
0d78ca44ca
Implement Timer::PollSeconds(), if necessary.
пре 14 година
Sam Hocevar
8bfb98c160
Implement a better timing mechanism for fixed framerate. Accuracy is
sub-millisecond but can be improved if we get rid of SDL timers.
пре 14 година