Last visit was: Sun Nov 24, 2024 5:57 am It is currently Sun Nov 24, 2024 5:57 am

All times are UTC




 [ 5 posts ] 
 Coding for helping other coders integration 
Author Message
Post 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 :
Image
And you, what do you do for create reusable code ?
Have you some remark, advice ?


Tue Oct 08, 2002 11:10 am
Post Coding for helping other coders integration
Write a proper documentation by using javadoc/doxygen. Can be really helpfull for others to understand and quickly use your piece of code.
http://bram.quakesrc.org/Contention_docs/ - example of documentation generated by doxygen. Note that it also is nicely integrated into MSVC by a toolbar, and a windows help file which can be used like msdn.

Consistent code style (function/class/variables names, indention, etc) is also one of my favorites.

http://www.doxygen.org


Tue Oct 08, 2002 4:42 pm
Post Coding for helping other coders integration
Quote:
On 08-10-2002 20:42 Bram wrote:
http://www.doxygen.org


Thank you Bram, this link is very interesting, and the application is free, under the GPL :)

Quote:
On 08-10-2002 20:42 Bram wrote:
Consistent code style (function/class/variables names, indention, etc) is also one of my favorites.


Me too, but it is not always easy to judge my own work.


Tue Oct 08, 2002 5:24 pm
Post Coding for helping other coders integration
God, Pat I love you :)

excellent work and coding style


Tue Oct 15, 2002 12:46 pm
Post Coding for helping other coders integration
Quote:
On 15-10-2002 16:46 Ghostface wrote:
God, Pat I l##e you

It will be better when it will be released :+
Currently I'm sorry but I have discover some bug(s) that need to be corrected before the 0.3 version.
I also plan to implement some security and anti-cheating code later, in next version (0.3a ...)
Like I'm not at home this week-end, the version will probably not be available before the next week :(


Tue Oct 15, 2002 1:05 pm
Display posts from previous:  Sort by  
 [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: AhrefsBot [Bot 2021-12-30], claudebot [Bot 2024-04-20]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © phpBB Group.
Initial forum style by Vjacheslav Trushkin.