Age | Commit message (Collapse) | Author |
|
svn-id: r47733
|
|
This will be cleaner then having checks everywhere for whether the game mode is MADS or M4.
svn-id: r47705
|
|
svn-id: r46424
|
|
svn-id: r46338
|
|
for highlighting of user interface elements
svn-id: r46262
|
|
We tried to implement the list iterators in a clever way, to reduce code
duplication. But this is essentially impossible to do properly, sadly --
this is one of the places where the ugly drawbacks of C++ really show.
As a consequence, our implementation had a bug which allowed one to
convert any const_iterator to an iterator, thus allowing modifying
elements of const lists.
This rewrite reintroduces code duplication but at least ensures that no
const list is written to accidentally.
Also fix some places which incorrectly used iterator instead of const_iterator
or (in the kyra code) accidentally wrote into a const list.
svn-id: r39279
|
|
svn-id: r35648
|
|
operation, which has to iterate the whole List, while empty() works in constant time)
svn-id: r34786
|
|
svn-id: r31600
|