Thanks for the clarification, it helps a lot, I have a couple of
questions, but we might as well wait until we meet on IRC.

Basically our old split between game.cpp and multiplayer_create.cpp
doesn't really make sense now that all games are handled as
multiplayer games.

from that point of view it makes sense to merge these two... OTOH we
don't want to have one huge game.cpp (been there, done that...)

moreover we currently have three path for creating a game

* the current SP path (game.cpp:new_campaign() => game.cpp:launch_game())
* the current MP path (game.cpp:play_multiplayer() => game.cpp:launch_game())
* your new code (multiplayer_create.cpp => game.cpp:launch_game())

looking at what you pastebined, it seems that if you regroup
everything in game.cpp you would merge most of the code together and
thus the game.cpp file wouldn't increase that much in size. So it
seems to me that merging everything in game.cpp is the most logical
first step. once that is done, we can see how bad it is and if we need
to reorganizee those two files, but let's merge them first...

Boucman

_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to