Coding for helping other coders integration
I want my next release of the WorldServer code be easy to implement in other projects.
Some tips I have used :
- Principal WorldServer API code is in the
wsrv directory
- Call of this API and modifications of the standard Idsoftware code are flanked by comment like
// <worldserver>
- The list of modifications could be easily finded by a "search in file" of "<worldserver"
Here's a screenshot of the code in Visual C :
And you, what do you do for create reusable code ?
Have you some remark, advice ?