Kyzentun: it's not your fault that our mapconv.exe is psychopathic
This commit is contained in:
+2
-11
@@ -1176,10 +1176,6 @@ void NoteData::LoadFromNode( const XNode* pNode )
|
||||
FAIL_M("NoteData::LoadFromNode() not implemented");
|
||||
}
|
||||
|
||||
// mapconv crashes on windows an apparently this function is the cause.
|
||||
// So windows will still crash on courses that use transform mods until
|
||||
// mapconv can be fixed. -Kyz
|
||||
#ifndef WIN32
|
||||
void NoteData::AddATIToList(all_tracks_iterator* iter) const
|
||||
{
|
||||
m_atis.insert(iter);
|
||||
@@ -1207,7 +1203,6 @@ void NoteData::RemoveATIFromList(all_tracks_const_iterator* iter) const
|
||||
m_const_atis.erase(pos);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void NoteData::RevalidateATIs(vector<int> const& added_or_removed_tracks, bool added)
|
||||
{
|
||||
@@ -1294,9 +1289,9 @@ template<typename ND, typename iter, typename TN>
|
||||
}
|
||||
m_vCurrentIters.push_back( cur );
|
||||
}
|
||||
#ifndef WIN32
|
||||
|
||||
m_pNoteData->AddATIToList(this);
|
||||
#endif
|
||||
|
||||
Find( bReverse );
|
||||
}
|
||||
|
||||
@@ -1314,9 +1309,7 @@ NoteData::_all_tracks_iterator<ND, iter, TN>::_all_tracks_iterator( const _all_t
|
||||
COPY_OTHER( m_EndRow )
|
||||
#undef COPY_OTHER
|
||||
{
|
||||
#ifndef WIN32
|
||||
m_pNoteData->AddATIToList(this);
|
||||
#endif
|
||||
}
|
||||
|
||||
template<typename ND, typename iter, typename TN>
|
||||
@@ -1324,9 +1317,7 @@ template<typename ND, typename iter, typename TN>
|
||||
{
|
||||
if(m_pNoteData != NULL)
|
||||
{
|
||||
#ifndef WIN32
|
||||
m_pNoteData->RemoveATIFromList(this);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -152,15 +152,10 @@ private:
|
||||
mutable set<all_tracks_iterator*> m_atis;
|
||||
mutable set<all_tracks_const_iterator*> m_const_atis;
|
||||
|
||||
// mapconv crashes on windows an apparently this function is the cause.
|
||||
// So windows will still crash on courses that use transform mods until
|
||||
// mapconv can be fixed. -Kyz
|
||||
#ifndef WIN32
|
||||
void AddATIToList(all_tracks_iterator* iter) const;
|
||||
void AddATIToList(all_tracks_const_iterator* iter) const;
|
||||
void RemoveATIFromList(all_tracks_iterator* iter) const;
|
||||
void RemoveATIFromList(all_tracks_const_iterator* iter) const;
|
||||
#endif
|
||||
|
||||
public:
|
||||
void Init();
|
||||
|
||||
Reference in New Issue
Block a user