News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Tree builder refactor

Started by ceeac, February 20, 2021, 08:45:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceeac

Just a small-ish refactor - I moved the static functions for building trees and tree desc management from baum_t to a separate tree_builder_t class.

Dwachs

Why not. Maybe we could move all these desc-handling functions to classes with a unified interface for all desc's?
Parsley, sage, rosemary, and maggikraut.

prissi


ceeac

Okay, submitted the patch in r9646.