From 5bb87d4eff4cec16006ef71887cd27830c9c7752 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 22 Dec 2006 05:27:25 +0000 Subject: [PATCH] add GetNumSounds --- stepmania/src/RageSoundReader_Chain.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/RageSoundReader_Chain.h b/stepmania/src/RageSoundReader_Chain.h index 8a86729e6a..bd8340f792 100644 --- a/stepmania/src/RageSoundReader_Chain.h +++ b/stepmania/src/RageSoundReader_Chain.h @@ -28,6 +28,9 @@ public: /* Finish adding sounds. */ void Finish(); + /* Return the number of added sounds. */ + int GetNumSounds() const { return m_aSounds.size(); } + int GetLength() const; int GetLength_Fast() const; int SetPosition( int iFrame );