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