Files @ r5804:47b810f5c54c
Branch filter:

Location: cpp/openttd-patchpack/source/src/gfxinit.h

maedhros
(svn r8366) -Codechange: [Graphs] Make the scaling code less cryptic, and fix two longstanding bugs.
1) If the graph contained negative values, the y axis labels were half the size they should have been.
2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0.
1
2
3
4
5
6
7
8
9
/* $Id$ */

#ifndef GFXINIT_H
#define GFXINIT_H

void CheckExternalFiles(void);
void GfxLoadSprites(void);

#endif /* GFXINIT_H */