Topic: Widelands namespace incomplete?
Kiscsirke Topic Opener |
Posted at: 2013-03-03, 18:10
Is there any reason while some parts of the code (for example, the DirAnimations class, but I think I've seen others) are outside the Widelands namespace? Or is that just something noone took time to complete? Top Quote |
ixprefect |
Posted at: 2013-03-03, 20:41
Basically everything pertaining purely to the game logic is in the Widelands namespace. The further away you go from the game logic, the more code you meet will be outside of this namespace. The boundaries are not that well-defined, but this is the general rule. Top Quote |
SirVer |
Posted at: 2013-03-09, 19:42
We never established a formal rule what should go into a namespace and what shouldn't. Namespaces would have been a good idea in general I think - but it is tedious to add them in after the fact. If you write new code, feel free to introduce namespaces as see fit. Top Quote |