Author: muggenhor Date: Sat Jul 28 01:53:07 2007 New Revision: 2235 URL: http://svn.gna.org/viewcvs/warzone?rev=2235&view=rev Log: * Add copy constructor to class scrollLimitStringIterator * Apply ListNode<T>::iterator for some for-loops * Make CHeightMap::GetScrollLimits return "ListNode<CSrollLimits>::iterator" instead of "ListNode<CSrollLimits>*" (effectively forcing all clients of this function to work in iterator style) * Fix ListNode<T>::iterator::operator= * Add function "void goToBegin()" to ListNode<T>::iterator (shouldn't be at the iterator I know, but this is the most intuitive intermediate solution) * Add an own implementation of std::advance to limitsdialog.cpp (it is needed there); * since apparently MSVC's STL developers can't even write something like: "for(; n ; --n) ++i;" correctly!!!
Modified: trunk/tools/editworld/src/bteditdoc.cpp trunk/tools/editworld/src/expandlimitsdlg.cpp trunk/tools/editworld/src/heightmap.h trunk/tools/editworld/src/limitsdialog.cpp trunk/tools/editworld/src/listtemp.h _______________________________________________ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits