Re: [TuxKart-devel] tuxkart GUI
Status: Alpha
Brought to you by:
sjbaker
From: Ingo R. <gr...@gm...> - 2004-08-02 21:40:04
|
James Gregory <jam...@bt...> writes: > If you think it would be worth rewriting it all in an OO way, we > could do that, what do you think? Rewriting it is certainly not worth it as this point in time, just having it encapsuled in a class is already more then enough. I think it would be much more imporant to first get the new GUI into action before touching gui code itself, ie. create a new start screen with simple "Start", "Multiplayer", "Quit", move from there to other screens. See: http://netpanzer.berlios.de/tuxkart/index.php/User%20Interface Refactoring the gui code into being more OO can still be relativly easily be done at a later point when necessary. > On this note, should I actually use an enum, or just do it via an int > and lots of #defines as does the rest of the game? Enum's please, defines are rather evil and unnecesarry in C++, unless of course you need them for #ifdef's. -- WWW: http://pingus.seul.org/~grumbel/ JabberID: gr...@ja... ICQ: 59461927 |