equal
deleted
inserted
replaced
216 /* GRAPH LEGEND */ |
216 /* GRAPH LEGEND */ |
217 /****************/ |
217 /****************/ |
218 |
218 |
219 void DrawPlayerIcon(PlayerID p, int x, int y) |
219 void DrawPlayerIcon(PlayerID p, int x, int y) |
220 { |
220 { |
221 DrawSprite(SPRITE_PALETTE(PLAYER_SPRITE_COLOR(p) + 0x2EB), x, y); |
221 DrawSprite(0x2EB, PLAYER_SPRITE_COLOR(p), x, y); |
222 } |
222 } |
223 |
223 |
224 static void GraphLegendWndProc(Window *w, WindowEvent *e) |
224 static void GraphLegendWndProc(Window *w, WindowEvent *e) |
225 { |
225 { |
226 const Player* p; |
226 const Player* p; |