[Scummvm-cvs-logs] scummvm master -> 538d83408091e9077f451f45c1ac1127f302b47d

digitall digitall at scummvm.org
Mon Dec 19 03:29:35 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
538d834080 Merge pull request #131 from digitall/goto_considered_harmful


Commit: 538d83408091e9077f451f45c1ac1127f302b47d
    https://github.com/scummvm/scummvm/commit/538d83408091e9077f451f45c1ac1127f302b47d
Author: David Turner (digitall at scummvm.org)
Date: 2011-12-18T18:29:05-08:00

Commit Message:
Merge pull request #131 from digitall/goto_considered_harmful

Goto Considered Harmful...



The following commits should improve the ScummVM code structure by reducing the number of gotos used in various engine code.



They should implement identical functionality, but without using goto and without the result being less readable/maintainable than the version with goto.

Changed paths:
    engines/agi/cycle.cpp
    engines/agi/menu.cpp
    engines/agi/preagi_winnie.cpp
    engines/agi/predictive.cpp
    engines/agi/saveload.cpp
    engines/agi/text.cpp
    engines/draci/walking.cpp
    engines/drascula/animation.cpp
    engines/drascula/drascula.h
    engines/lure/hotspots.cpp
    engines/lure/menu.cpp
    engines/sky/logic.cpp
    engines/sword25/gfx/image/art.cpp
    engines/tinsel/saveload.cpp
    engines/toon/path.cpp
    engines/toon/toon.cpp









More information about the Scummvm-git-logs mailing list