Age | Commit message (Collapse) | Author |
|
Dynamically build the legends (name and color) for industries in the smallmap_gui.
All the tiny fonts industry names should be removed from language files soon.
|
|
|
|
|
|
|
|
I guess i'm a bit eager to have a writable array for newindustries ;)
|
|
magic with the help of a struct and not an array of bytes
|
|
and into landscape.h, and add a few where they didn't exist.
|
|
spec map_colour for smallmap industry color code drawing
|
|
The end of the preliminary work is near
|
|
landscape types.
|
|
coding style (and rest of the code).
|
|
|
|
|
|
VEH_Train is 0, VEH_Road is 1 and so on
This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places)
Surprisingly this can be done without changing the savegame format
|
|
|
|
renamed to .cpp)
|