RE: [AD] Sorting objects in the grabber |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> Nice, so it's basically a 3-state logic for the grabber:
> force sorting,
> force non sorting, preserve sorting property.
Kind of, but there's a function that returns a boolean, and
which defaults to "sort" if nothing's found (as do the config
functions already).
> Now how do you translate it for the command line dat utility ? The
> straightforward solution would be:
> - no option: preserve sorting property,
> - '-sort' option: sort,
> - '-nosort' option: don't sort,
Yes.
> (that's the way the compression option works). Of course this
> seems to break
> backward compatibility with the current behaviour, although
> not that much if
> new datafiles are created with the SORT property to 'yes' by
> default and old
> datafiles (with no SORT property) are handled as if they were SORTed.
That's the case. If you ignore the sort property, everything should
work is it did. What's broken ?
--
Vincent Penquerc'h
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |