setsize -> shrink

setsizenodelete -> setsize
deletecontentsa -> deletearrays
deletecontentsp -> deletecontents
vrealloc -> growbuf



git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4787 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2010-03-11 23:06:26 +00:00
parent a971c0b5ab
commit be94c703f2
28 changed files with 85 additions and 85 deletions
+5 -5
View File
@@ -232,9 +232,9 @@ void audiomanager::soundcleanup()
// destroy consuming code
stopsound();
DELETEP(gamemusic);
mapsounds.setsize(0);
locations.deletecontentsp();
gamesounds.setsize(0);
mapsounds.shrink(0);
locations.deletecontents();
gamesounds.shrink(0);
bufferpool.clear();
// kill scheduler
@@ -250,13 +250,13 @@ void audiomanager::soundcleanup()
void audiomanager::clearworldsounds(bool fullclean)
{
stopsound();
if(fullclean) mapsounds.setsize(0);
if(fullclean) mapsounds.shrink(0);
locations.deleteworldobjsounds();
}
void audiomanager::mapsoundreset()
{
mapsounds.setsize(0);
mapsounds.shrink(0);
locations.deleteworldobjsounds();
}