diff options
author | Max Horn | 2004-02-28 12:58:13 +0000 |
---|---|---|
committer | Max Horn | 2004-02-28 12:58:13 +0000 |
commit | c6752cccf5186fb04c97e2bb4a64c52fc9447073 (patch) | |
tree | 91f3f0264b1542a839cc3504b52603a8034547cb /backends/morphos/morphos.cpp | |
parent | 56102a1d02925abbe9fc0504751de1a270a34ff3 (diff) | |
download | scummvm-rg350-c6752cccf5186fb04c97e2bb4a64c52fc9447073.tar.gz scummvm-rg350-c6752cccf5186fb04c97e2bb4a64c52fc9447073.tar.bz2 scummvm-rg350-c6752cccf5186fb04c97e2bb4a64c52fc9447073.zip |
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
Diffstat (limited to 'backends/morphos/morphos.cpp')
-rw-r--r-- | backends/morphos/morphos.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/morphos/morphos.cpp b/backends/morphos/morphos.cpp index d36965538d..8b48e542dc 100644 --- a/backends/morphos/morphos.cpp +++ b/backends/morphos/morphos.cpp @@ -327,7 +327,7 @@ void OSystem_MorphOS::set_timer(TimerProc callback, int timer) warning("set_timer() unexpectedly called"); } -OSystem::MutexRef OSystem_MorphOS::create_mutex() +OSystem::MutexRef OSystem_MorphOS::createMutex() { SignalSemaphore *sem = (SignalSemaphore *) AllocVec(sizeof (SignalSemaphore), MEMF_PUBLIC); @@ -337,17 +337,17 @@ OSystem::MutexRef OSystem_MorphOS::create_mutex() return (MutexRef)sem; } -void OSystem_MorphOS::lock_mutex(MutexRef mutex) +void OSystem_MorphOS::lockMutex(MutexRef mutex) { ObtainSemaphore((SignalSemaphore *) mutex); } -void OSystem_MorphOS::unlock_mutex(MutexRef mutex) +void OSystem_MorphOS::unlockMutex(MutexRef mutex) { ReleaseSemaphore((SignalSemaphore *)mutex); } -void OSystem_MorphOS::delete_mutex(MutexRef mutex) +void OSystem_MorphOS::deleteMutex(MutexRef mutex) { FreeVec(mutex); } @@ -519,7 +519,7 @@ void OSystem_MorphOS::quit() #define CVT8TO32(col) ((col<<24) | (col<<16) | (col<<8) | col) -void OSystem_MorphOS::set_palette(const byte *colors, uint start, uint num) +void OSystem_MorphOS::setPalette(const byte *colors, uint start, uint num) { const byte *data = colors; UWORD changed_colors[256]; @@ -1170,7 +1170,7 @@ bool OSystem_MorphOS::AddUpdateRect(WORD x, WORD y, WORD w, WORD h) return true; } -void OSystem_MorphOS::update_screen() +void OSystem_MorphOS::updateScreen() { AUTO_LOCK |