projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
converted OggVorbisStream to use assman
[laserbrain_demo]
/
src
/
exman.cc
diff --git
a/src/exman.cc
b/src/exman.cc
index
00f7e39
..
4fff917
100644
(file)
--- a/
src/exman.cc
+++ b/
src/exman.cc
@@
-334,6
+334,17
@@
void ExhibitManager::stash_exhibit(Exhibit *ex)
}
}
+Exhibit *ExhibitManager::unstash_exhibit()
+{
+ if(stashed.empty()) {
+ return 0;
+ }
+
+ Exhibit *ex = stashed[0];
+ stashed.erase(stashed.begin());
+ return ex;
+}
+
void ExhibitManager::update(float dt)
{
int num = items.size();