Sam Hocevar
6e37ab6858
test: use SDLmain for the testsuite, too.
12 vuotta sitten
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 vuotta sitten
Sam Hocevar
b5563ad21d
core: switch the Win32/x64 binaries to the Windows subsystem so that they
do not open a console at startup.
12 vuotta sitten
Sam Hocevar
abbf9ba44c
build: fix a shitload of build errors introduced by the Image refactoring
and the OS X port.
13 vuotta sitten
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 vuotta sitten
Sam Hocevar
5081f7034a
test: reorganise test suite and benchmark code.
13 vuotta sitten
Sam Hocevar
75d8811c74
lolunit: rename test runner’s run() method to Run() for consistency.
13 vuotta sitten
Sam Hocevar
b64d051e6a
lolunit: free all the memory we allocated to avoid a minor memory leak,
and slightly tweak the API syntax.
13 vuotta sitten
Sam Hocevar
579f77bded
test: make LolUnit's output match CppUnit's more closely.
13 vuotta sitten
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 vuotta sitten
Sam Hocevar
0e622822e7
test: add a few Visual Studio 2010 project files and fix testsuite code
so that it builds properly.
13 vuotta sitten
Sam Hocevar
da73635c64
Add an optional cppunit dependency for unit tests.
13 vuotta sitten
Sam Hocevar
21fd077d12
Reduce audio latency by using 1K samples instead of 4K.
14 vuotta sitten
Sam Hocevar
640735731a
Add preliminary support for sound samples. Implement click.
14 vuotta sitten
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
14 vuotta sitten
Sam Hocevar
50e4f67254
Get the timer to talk milliseconds instead of seconds.
14 vuotta sitten
Sam Hocevar
0d78ca44ca
Implement Timer::PollSeconds(), if necessary.
14 vuotta sitten
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 vuotta sitten