dxx-rebirth/d2x-rebirth/main
Kp 078a9affa0 Make MAX_SIDES_PER_SEGMENT an iterable range
Iterating over it returns each side number in turn.  This allows
converting many loops of the form:

```
	for (int i = 0; i < MAX_SIDES_PER_SEGMENT; ++i)
```

to the compact form:

```
	for (const auto i : MAX_SIDES_PER_SEGMENT)
```

The compact form brings the usual benefit of range-based for: delegating
iteration to the compiler prevents the loop body from skipping a step,
and makes clear in the code that this is the case.
2022-01-09 15:25:42 +00:00
..
escort.cpp Make MAX_SIDES_PER_SEGMENT an iterable range 2022-01-09 15:25:42 +00:00
gamepal.cpp
inferno.ini
libmve.h
movie.cpp Remove PlayMovie special case for .MVE 2021-09-19 10:53:48 +00:00
movie.h Move small briefing members earlier in the structure 2021-09-19 10:53:48 +00:00