renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend

svn-id: r13087
This commit is contained in:
Max Horn 2004-02-28 12:58:13 +00:00
parent 56102a1d02
commit c6752cccf5
57 changed files with 401 additions and 392 deletions

View file

@ -33,7 +33,7 @@ Timer::Timer(OSystem *system) :
_timerHandler(0),
_lastTime(0) {
_mutex = _system->create_mutex();
_mutex = _system->createMutex();
g_timer = this;
@ -71,7 +71,7 @@ Timer::~Timer() {
// it is still waiting for the _mutex. So, again depending on the backend,
// we might end up unlocking the mutex then immediately deleting it, while
// the timer thread is about to lock it.
_system->delete_mutex(_mutex);
_system->deleteMutex(_mutex);
}
int Timer::timer_handler(int t) {