[Crossfire-wiki] [Crossfire DokuWiki] page changed: dev_todo:server_cleanup

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sat Dec 30 04:38:24 CST 2006


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2006/12/30 04:38
User        : ryo
Edit Summary: a few more

@@ -1,16 +1,19 @@
  The current code organization for the server is a bit of a mish mash.
  
  Code in the common directory should just be for the common aspects, but there is code in that directory that seems more in place in the server.
  
- The current fix_player() code makes some assumption that all objects behave in a similar fashion, so it then makes sense that all objects that behave similarly have the same type.
+ The current fix_object() code makes some assumption that all objects behave in a similar fashion, so it then makes sense that all objects that behave similarly have the same type.
  
   Other changes to make:
    * Different log instances and levels should be added (monster.error, player.info, etc), with selection of which to use via command line or settings.  log4c may be the best to use for this (http://log4c.sourceforge.net/)
      * One note, is it doesn't look like log4c builds on win32 as is.
      * Or perhaps we should create our own simple solution that is similar in nature.
    * <del>all draw_info need to be changed to draw_ext_info</del> done
+   * safe string functions should be used except in rare cases
+   * memory allocation returned values should be checked for NULL. Create a cfmalloc function?
+   * static buffers should be removed
  
   See Also:
    * [[dev_todo:refactor|dev_todo:refactor]]
  
  


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/dev_todo:server_cleanup?rev=1167474611
New Revision: http://wiki.metalforge.net/doku.php/dev_todo:server_cleanup

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list