[CF-Devel] CFEditor cleaning up

Andreas Vogl andi.vogl at gmx.net
Fri Aug 9 03:24:52 CDT 2002


in reply to Mark W.:

>
     
      Any reason the editable field can't be used for sorting 
     
     >
     
      like crossedit does? Note one difference there is the
     
     >
     
      editable field is a bitmask, so in crossedit, 
     
     >
     
      an item can appear in multiple categories. Not sure how
     
     >
     
      easy that is to do.
     
     
Yes, using that field would be the easiest approach.
The reason I don't like it is that so many arches
are assigned to wrong cathegories because the creators
didn't know what the editable flag means.

Now this reminds me of an old idea about this:
It would be very useful to have a script that goes through
all arches and automatically assigns a correct editable
flag to all arches.
The script could assign the editable values dependant
on the arch attributes. For example: All arches with
"is_floor 1" and "type 0" are part of the FLOOR cathegory,
all arches with "type 66" or "type 41" could be exits
and so on.

Such a script could then be run every few months
(maybe before a new release) and the editable flags
would stay pretty accurate all the time.


AndreasV



    
    


More information about the crossfire mailing list