Return data from binary input routines by value, where possible

Relaxes type requirements on destination storage -- ints vs enums, for
example -- and allows immediate casts. Feels good. Not as pretty from
an aesthetic viewpoint.

git-svn-id: https://s.snth.net/svn/neverball/trunk@3747 78b8d119-cf0a-0410-b17c-f493084dd1d7
Tweak some code to make more sense in less time

git-svn-id: https://s.snth.net/svn/neverball/trunk@3748 78b8d119-cf0a-0410-b17c-f493084dd1d7
Remove obsolete .gitignore

git-svn-id: https://s.snth.net/svn/neverball/trunk@3749 78b8d119-cf0a-0410-b17c-f493084dd1d7
Use a stable sort when sorting materials by flags

This gives mappers a little bit of control over the drawing order of
materials with identical flags. (It is also crazy obscure.)

Patch by Florian Priester.

git-svn-id: https://s.snth.net/svn/neverball/trunk@3750 78b8d119-cf0a-0410-b17c-f493084dd1d7
Name the rendering passes

git-svn-id: https://s.snth.net/svn/neverball/trunk@3751 78b8d119-cf0a-0410-b17c-f493084dd1d7
mountains.map: New version (invalidates replays)

git-svn-id: https://s.snth.net/svn/neverball/trunk@3752 78b8d119-cf0a-0410-b17c-f493084dd1d7
Plug several memory leaks

git-svn-id: https://s.snth.net/svn/neverball/trunk@3753 78b8d119-cf0a-0410-b17c-f493084dd1d7
Readd bits lost in transition

git-svn-id: https://s.snth.net/svn/neverball/trunk@3754 78b8d119-cf0a-0410-b17c-f493084dd1d7
Move rendering pass symbols to header

git-svn-id: https://s.snth.net/svn/neverball/trunk@3755 78b8d119-cf0a-0410-b17c-f493084dd1d7
Tweak SOL version symbols

git-svn-id: https://s.snth.net/svn/neverball/trunk@3756 78b8d119-cf0a-0410-b17c-f493084dd1d7
Switch material descriptions to a less forgetful format

git-svn-id: https://s.snth.net/svn/neverball/trunk@3757 78b8d119-cf0a-0410-b17c-f493084dd1d7
Implement semi-opaque and alpha-tested materials (WIP)

git-svn-id: https://s.snth.net/svn/neverball/trunk@3758 78b8d119-cf0a-0410-b17c-f493084dd1d7
Fix efficient code reuse

git-svn-id: https://s.snth.net/svn/neverball/trunk@3759 78b8d119-cf0a-0410-b17c-f493084dd1d7
Italian translation update

git-svn-id: https://s.snth.net/svn/neverball/trunk@3762 78b8d119-cf0a-0410-b17c-f493084dd1d7
Fix stuff

git-svn-id: https://s.snth.net/svn/neverball/trunk@3763 78b8d119-cf0a-0410-b17c-f493084dd1d7
Fix crash on disconnected switch activation (with no path corners)

git-svn-id: https://s.snth.net/svn/neverball/trunk@3764 78b8d119-cf0a-0410-b17c-f493084dd1d7
mtrl/marble-purple, mtrl/marble-purple-polished: Reduce JPEG artifacts

git-svn-id: https://s.snth.net/svn/neverball/trunk@3765 78b8d119-cf0a-0410-b17c-f493084dd1d7
'test'

git-svn-id: https://s.snth.net/svn/neverball/trunk@3766 78b8d119-cf0a-0410-b17c-f493084dd1d7
fixed italian traslation

git-svn-id: https://s.snth.net/svn/neverball/trunk@3767 78b8d119-cf0a-0410-b17c-f493084dd1d7
Revert "'test'"

This reverts r3766 by htnever.

git-svn-id: https://s.snth.net/svn/neverball/trunk@3772 78b8d119-cf0a-0410-b17c-f493084dd1d7