*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1653 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
Changes towards version 0.4:
|
||||
- Guard access to the Clock so that accessing it is a no-op when the game
|
||||
isn't actually in progress (bug #678), from Nic
|
||||
- Accept files with .uqm extension for packages (bug #558)
|
||||
Added regex fallback files. - SvdB
|
||||
- Music volume normalized throughout the game (bug #718) -Alex
|
||||
|
||||
@@ -212,6 +212,7 @@ UninitGameClock (void)
|
||||
GLOBAL (GameClock.clock_task) = 0;
|
||||
}
|
||||
DestroyMutex (clock_mutex);
|
||||
clock_mutex = NULL;
|
||||
|
||||
UninitQueue (&GLOBAL (GameClock.event_q));
|
||||
|
||||
@@ -221,6 +222,9 @@ UninitGameClock (void)
|
||||
void
|
||||
SuspendGameClock (void)
|
||||
{
|
||||
if (! clock_mutex)
|
||||
return;
|
||||
|
||||
LockMutex (clock_mutex);
|
||||
if (GameClockRunning ())
|
||||
{
|
||||
@@ -233,6 +237,9 @@ SuspendGameClock (void)
|
||||
void
|
||||
ResumeGameClock (void)
|
||||
{
|
||||
if (! clock_mutex)
|
||||
return;
|
||||
|
||||
LockMutex (clock_mutex);
|
||||
if (!GameClockRunning ())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user