use SDL_Threads everywhere
The trick was to mark the threaded functions as cdecl and load arguments correctly. This allows us to:
- drop a few ifdefs;
- use integrated waiting code;
- remove some whitespaces \o/;
- fix
bug #591.
Hedgewars - a turn based strategy game.
Distributed under the terms of the GNU GPL licence.
Images and sounds are distributed under the terms of the GNU FDL licence.
Source:
Copyright 2004-2011 Andrey Korotaev <unC0Rr@gmail.com>
Portions copyright 2006-2008 Igor Ulyanov aka Displacer <iulyanov@gmail.com>
Instructions:
depending on your system, consult our wiki at:
- http://code.google.com/p/hedgewars/wiki/BuildingOnLinux
- http://code.google.com/p/hedgewars/wiki/BuildingOnWindows
- http://code.google.com/p/hedgewars/wiki/BuildingOnMac
Dependencies:
you can find an outline of the necessary dependencies in the INSTALL file.