Rogier
|
ca66635176
|
Add a colors.txt node flag for air-type nodes (nodes will be treated as air)
This means that they are only drawn if the option '--drawair'
is specified on the command-line. Else they are ignored.
|
2016-01-17 10:37:51 +01:00 |
|
Rogier
|
b3019c1804
|
Add a colors.txt node flag for ignore-type nodes (nodes will be ignored)
Ignoring a node is more efficient than drawing it with full transparency.
This is noticeable when there are a large number of such nodes.
|
2016-01-17 10:37:51 +01:00 |
|
Rogier
|
5660f71175
|
Add support for setting flags for nodes in the colors.txt file.
These will allow special treatement for such nodes.
See subsequent commits
|
2016-01-17 10:37:51 +01:00 |
|
Rogier
|
1854ef34e6
|
Recognise some symbolic colors (red, green, blue, yellow, black, white, gr[ae]y, and more)
|
2015-02-20 13:10:09 +01:00 |
|
Rogier
|
493c5842a1
|
Fix conversion of libgd alpha value: libgd uses 0..127 (not 255)
|
2014-05-22 10:41:12 +02:00 |
|
Rogier
|
5c73495d7b
|
Initialize color to 0,0,0,0 by default (instead of 0,255,255,255)
|
2014-05-22 10:41:11 +02:00 |
|
Rogier
|
5e4ee45575
|
Move color string parsing to constructor of class Color & add a constructor using an integer
Added formats for Color constructor:
- plain interger (2^24 * alpha + 2^16 * red + 2^8 * green + blue)
- Color string consisting of:
- '#'
- 3, 4, 6 or 8 hex digits
|
2014-05-12 09:26:17 +02:00 |
|
Rogier
|
ce94029c95
|
Merge PixelCacheEntry into PixelAttributes
|
2014-04-14 01:29:58 +02:00 |
|
Rogier
|
7dc3b48a7c
|
Move color structs & functions to own header
To prepare for the map zoom level support
|
2014-04-10 19:53:35 +02:00 |
|