summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-09-30 20:37:25 +0000
committertron <tron@openttd.org>2005-09-30 20:37:25 +0000
commited8c9c91d66f593dc3fae5cef4469ded311f6d75 (patch)
tree1e61685bece04279bd25b3f79e645384c1d83405 /graph_gui.c
parentaf5b74f0edfb02077f55d6c1ac6713d3aa18d753 (diff)
downloadopenttd-ed8c9c91d66f593dc3fae5cef4469ded311f6d75.tar.xz
(svn r3001) s/Player*/const Player*/
s/byte/PlayerID/ s/int/PlayerID/ and related changes
Diffstat (limited to 'graph_gui.c')
-rw-r--r--graph_gui.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/graph_gui.c b/graph_gui.c
index 76d008259..e861de2a7 100644
--- a/graph_gui.c
+++ b/graph_gui.c
@@ -219,7 +219,7 @@ void DrawPlayerIcon(int p, int x, int y)
static void GraphLegendWndProc(Window *w, WindowEvent *e)
{
- Player *p;
+ const Player* p;
switch(e->event) {
case WE_PAINT:
@@ -291,7 +291,7 @@ static void ShowGraphLegend(void)
static void SetupGraphDrawerForPlayers(GraphDrawer *gd)
{
- Player *p;
+ const Player* p;
uint excludebits = _legend_excludebits;
int nums;
int mo,yr;
@@ -325,7 +325,7 @@ static void OperatingProfitWndProc(Window *w, WindowEvent *e)
switch(e->event) {
case WE_PAINT: {
GraphDrawer gd;
- Player *p;
+ const Player* p;
int i,j;
int numd;
@@ -399,7 +399,7 @@ static void IncomeGraphWndProc(Window *w, WindowEvent *e)
switch(e->event) {
case WE_PAINT: {
GraphDrawer gd;
- Player *p;
+ const Player* p;
int i,j;
int numd;
@@ -472,7 +472,7 @@ static void DeliveredCargoGraphWndProc(Window *w, WindowEvent *e)
switch(e->event) {
case WE_PAINT: {
GraphDrawer gd;
- Player *p;
+ const Player* p;
int i,j;
int numd;
@@ -545,7 +545,7 @@ static void PerformanceHistoryWndProc(Window *w, WindowEvent *e)
switch(e->event) {
case WE_PAINT: {
GraphDrawer gd;
- Player *p;
+ const Player* p;
int i,j;
int numd;
@@ -621,7 +621,7 @@ static void CompanyValueGraphWndProc(Window *w, WindowEvent *e)
switch(e->event) {
case WE_PAINT: {
GraphDrawer gd;
- Player *p;
+ const Player* p;
int i,j;
int numd;
@@ -826,8 +826,8 @@ static void CompanyLeagueWndProc(Window *w, WindowEvent *e)
{
switch(e->event) {
case WE_PAINT: {
- Player *p;
- Player *plist[MAX_PLAYERS];
+ const Player* p;
+ const Player* plist[MAX_PLAYERS];
uint pl_num;
uint i;