[Scummvm-devel] Engine::go() vs. Engine::init()

Eugene Sandulenko sev at scummvm.org
Mon Feb 23 00:53:51 CET 2009


On Sun, 22 Feb 2009 11:32:19 -0500
Max Horn <max at quendi.de> wrote:

> Hi,
> 
> can anybody think of a good reason why we wouldn't want to merge the  
> two methods Engine::go() and Engine::init() into a single one, like  
> Engine::run() ?
Back when we could return only booleans from Engine::go(), it was split
into ::init() in order to give some sensible warning in the launcher,
i.e. to distinguish between failure and simple exit from the game.

Now, with arbitrary return values I see no reasons why it couldn't be
merged back.


Eugene




More information about the Scummvm-devel mailing list