- Cleaned up the ugly MIDI song creating code a little.
- Added a generic Standard MIDI File creator that works with any of the sequencers. mus2midi.cpp is no longer used but is kept around as a reference. SVN r2677 (trunk)
This commit is contained in:
parent
092cbfd55b
commit
070ec75785
12 changed files with 335 additions and 193 deletions
|
|
@ -141,6 +141,15 @@ public:
|
|||
::new((void*)&Array[Count]) T(item);
|
||||
return Count++;
|
||||
}
|
||||
bool Pop ()
|
||||
{
|
||||
if (Count > 0)
|
||||
{
|
||||
Array[--Count].~T();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
bool Pop (T &item)
|
||||
{
|
||||
if (Count > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue