| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Freeciv
Revision: 15185
Author: cazfi
Date: 28 Aug 2008 17:55:51
Changes:Fixed win32-client compilation.
See #40470
Files:| ... | ...@@ -1741,13 +1741,18 @@ | |
| 1741 | 1741 | fcwin_box_add_static(vbox,_("Select what to pillage:"),0,SS_LEFT, |
| 1742 | 1742 | FALSE,FALSE,10); |
| 1743 | 1743 | while ((what = get_preferred_pillage(may_pillage, pbase)) != S_LAST) { |
| 1744 | bv_special what_bv; | |
| 1745 | ||
| 1746 | 1744 | if (what != S_PILLAGE_BASE) { |
| 1745 | bv_special what_bv; | |
| 1746 | bv_bases bases; | |
| 1747 | ||
| 1747 | 1748 | BV_CLR_ALL(what_bv); |
| 1748 | 1749 | BV_SET(what_bv, what); |
| 1750 | BV_CLR_ALL(bases); | |
| 1751 | if (pbase) { | |
| 1752 | BV_SET(bases, base_index(pbase)); | |
| 1753 | } | |
| 1749 | 1754 | |
| 1750 | fcwin_box_add_button(vbox, get_infrastructure_text(what_bv), | |
| 1755 | fcwin_box_add_button(vbox, get_infrastructure_text(what_bv, bases), | |
| 1751 | 1756 | ID_PILLAGE_BASE+what,0,TRUE,FALSE,5); |
| 1752 | 1757 | |
| 1753 | 1758 | clear_special(&may_pillage, what); |
| ... | ...@@ -565,7 +565,7 @@ | |
| 565 | 565 | FD_SET(net_input, &civfdset); |
| 566 | 566 | tv.tv_sec = 0; |
| 567 | 567 | tv.tv_usec = 0; |
| 568 | if (my_select(1, &civfdset, NULL, NULL, &tv)) { | |
| 568 | if (fc_select(1, &civfdset, NULL, NULL, &tv)) { | |
| 569 | 569 | if (FD_ISSET(net_input, &civfdset)) { |
| 570 | 570 | input_from_server(net_input); |
| 571 | 571 | processed = TRUE; |
| ... | ...@@ -929,5 +929,5 @@ | |
| 929 | 929 | /**************************************************************************** |
| 930 | 930 | Stub for editor function |
| 931 | 931 | ****************************************************************************/ |
| 932 | void edtgui_notify_object_changed(int objtype, int object_id, bool remove) | |
| 932 | void editgui_notify_object_changed(int objtype, int object_id, bool remove) | |
| 933 | 933 | {} |