graph_gui.c
changeset 3733 00551f64d81f
parent 3344 fc86351d4641
child 3801 4307270e7100
equal deleted inserted replaced
3732:c9c5f8635c9c 3733:00551f64d81f
   210 
   210 
   211 /****************/
   211 /****************/
   212 /* GRAPH LEGEND */
   212 /* GRAPH LEGEND */
   213 /****************/
   213 /****************/
   214 
   214 
   215 void DrawPlayerIcon(int p, int x, int y)
   215 void DrawPlayerIcon(PlayerID p, int x, int y)
   216 {
   216 {
   217 	DrawSprite(SPRITE_PALETTE(PLAYER_SPRITE_COLOR(p) + 0x2EB), x, y);
   217 	DrawSprite(SPRITE_PALETTE(PLAYER_SPRITE_COLOR(p) + 0x2EB), x, y);
   218 }
   218 }
   219 
   219 
   220 static void GraphLegendWndProc(Window *w, WindowEvent *e)
   220 static void GraphLegendWndProc(Window *w, WindowEvent *e)