RE: [GD-General] DLLs for game objects
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2003-03-25 22:38:35
|
>One thing that bears consideration is what you allow those= external >DLL's to do. Well, I'm thinking of this from a server side type of thing (a la= MUDs), which I should have been more explicit about. >You need to work *hard* to get C++ inheritance to work across= DLL >boundaries. (Consider your vorpal_sword : sword example) Yes, agreed. >You need to work *hard* to get C++ exceptions to work across= DLL >boundaries. Don't use them =3D) >At least, in all previous attempts that we've made (in a= non-game >environment), we had so much woe that we fell back on insisting= that >you only have C interfaces, that return status values, rather= than >throw exceptions. Using straight up C has so many advantages that it's not funny,= that much I agree with. Little things like transmitting networked= entity state just come off much more naturally using C than it does= trying to incorporate all the extra goodness that C++ theoretically supplies. Sometimes monolithic is good. Brian |