udoprog / c10t

A minecraft cartography tool
Other
225 stars 50 forks source link

Encapsulation of Color Data #195

Closed uap-universe closed 12 years ago

uap-universe commented 12 years ago

This is an extension to #186. It contains the changes you asked for. The color data is now completely encapsulated within a struct, which has some benefits:

i) Data values are fully supported now ii) Data value driven colors do now support side colors iii) Some responsibilities are now part of the mc namespace.

There are some side effects that would require greater code changes (e.g. support of darkening flag in palette files).

But it works just fine (tested with and without loading a palette file).

Now we should be ready for minecraft final (according to the colors ;).