[CF-Devel] Unused fields in structures

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Wed Feb 18 12:19:02 CST 2004


On 12-Feb-04 Nicolas Weeger wrote:
>
     
      in object (include/object.h):
     
     >
     
        * thrownthaco
     
     >
     
        * tooltype is used only by command_build() (c_object.c), which is not used 
     
     >
     
      afaik (and code is between #if 0) and loader.l/.c
     
     
The code that is' if 0'd works fine.  Nobody ever made objects for it however..
so it was never enabled.

>
     
      in weathermap_t (include/maps.h):
     
     >
     
      * path (char [HUGE_BUF] !!)
     
     >
     
      * tmpname
     
     >
     
      * name
     
     
Those are probably artifacts that don't need to be there anymore.. though I
don't recall completely what they were originally for.

---
Tim Rightnour <
     
     root at garbled.net
     
     >
NetBSD: Free multi-architecture OS 
     
     http://www.netbsd.org/
     
     
NetBSD supported hardware database: 
     
     http://mail-index.netbsd.org/cgi-bin/hw.cgi
     
     

_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list