|
|
/* $Id$ */
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
#include "openttd.h"
|
|
|
#include "table/strings.h"
|
|
|
#include "functions.h"
|
|
|
#include "window.h"
|
|
|
#include "gui.h"
|
|
|
#include "gfx.h"
|
|
|
#include "player.h"
|
|
|
#include "economy.h"
|
|
|
#include "signs.h"
|
|
|
#include "strings.h"
|
|
|
#include "debug.h"
|
|
|
#include "variables.h"
|
|
|
|
|
|
static uint _legend_excludebits;
|
|
|
static uint _legend_cargobits;
|
|
|
|
|
|
/************************/
|
|
|
/* GENERIC GRAPH DRAWER */
|
|
|
/************************/
|
|
|
|
|
|
enum {GRAPH_NUM = 16};
|
|
|
|
|
|
typedef struct GraphDrawer {
|