[patch] unified handling of warenziele in haltestelle_t December 04, 2008, 09:57:01 pm This patch unifies the handling of warenziele in haltestelle_t. Now we save for each single catg_index a separate warenziel list. As an effect we don't need some nasty checks anymore (mainly in combination with warenziele_freight - also in the speed sensitive routing of ware_t).With this patch also the detail window of a stop shows the connected stops separated by category (and no longer lists each single good belonging to this category). I like it more, do you too?Feel free to test Quote Selected
Re: [patch] unified handling of warenziele in haltestelle_t Reply #1 – January 30, 2009, 06:14:59 pm A reissue of this patch. The changes to bauer/waren_bauer are optional, but they will decrease the size of warenbauer_t::max_catg_index and thus some memory will be saved.The next target is to define haltestelle_t::warenziele as a (ordered) vector instead of a slist. Quote Selected