Commit Graph

23553 Commits

Author SHA1 Message Date
Bruno Wolff III
934ff73cb1 Silence gcc 4.3 warning by adding braces to avoid ambiguous else. 2008-03-19 16:03:25 +00:00
Bruno Wolff III
fdf63f6bd1 Silence gcc warning by add parens around && clause near ||. 2008-03-19 16:01:54 +00:00
Bruno Wolff III
b6590847b0 Silence gcc 4.3 warnings by adding parens around && clauses near ||. 2008-03-19 16:00:06 +00:00
Ignacio R. Morelle
89e9d0ea6e Oops, corrected alignment so that it really shows up 2008-03-19 15:57:29 +00:00
Bruno Wolff III
157bd6ca2b Silence gcc warning by adding parens around && clause near ||. 2008-03-19 15:57:14 +00:00
Bruno Wolff III
2b50749aa0 Silence gcc 4.3 warnings by adding parens around && clauses near ||. 2008-03-19 15:55:07 +00:00
Bruno Wolff III
35e0aec172 Silence gcc 4.3 warnings about const return type. 2008-03-19 15:52:27 +00:00
Ignacio R. Morelle
e79357de8f Added a third city terrain variation by Syn_Err 2008-03-19 15:52:09 +00:00
Bruno Wolff III
3e1c4a3d14 Silence gcc 4.3 warning about const return type. 2008-03-19 15:50:59 +00:00
Bruno Wolff III
90df46fc42 Silence gcc 4.3 warning by adding parens around && clause near ||. 2008-03-19 15:49:23 +00:00
Bruno Wolff III
da51e3c08f Added a type name since gcc 4.3 doesn't seem to like anonymous typedefs.
But since one of the values was being used later as a constant, commenting
the typedef out was't the correct solution. This may still be a style issue,
but that is outside the scope of getting Wesnoth to build with gcc 4.3
without warnings.
2008-03-19 15:47:32 +00:00
Ignacio R. Morelle
2000bd4901 Moving utils/wesnoth-pngcrush to the attic in case anyone wants it;...
...it has been superseded by utils/wesnoth-optipng
2008-03-19 15:47:13 +00:00
Bruno Wolff III
08f068b45c Silence gcc 4.3 warnings about const return types. 2008-03-19 15:41:16 +00:00
Bruno Wolff III
a781032153 Silence gcc 4.3 warning, but this should get looked at further
A typedef was defined but not given a type name. This seems like a mistake
and either a name should get added, or the entry permanently removed instead
of just being commented out.
2008-03-19 15:37:58 +00:00
Bruno Wolff III
299363667f Silence gcc 4.3 warning about const return type. 2008-03-19 15:29:58 +00:00
Bruno Wolff III
d913afa6e1 Silence gcc 4.3 warning about && and || by ading parens. 2008-03-19 15:28:14 +00:00
Bruno Wolff III
c8ac38992d Silence gcc 4.3 warning about const return type. 2008-03-19 15:23:47 +00:00
Bruno Wolff III
972755958b Silence gcc 4.3 warning about using const on a function return type. 2008-03-19 15:21:39 +00:00
Bruno Wolff III
2e9926074e Silence 6 gcc warnings about using const on a return type.
These were a mix of int and bool. Even though this is different than
the void case, I think removing the const still makes sense.
2008-03-19 15:19:51 +00:00
Bruno Wolff III
d481bdad4f Silence gcc 4.3 warning about ambiguous else by adding braces. 2008-03-19 15:15:56 +00:00
Bruno Wolff III
507c57f2a2 Silence gcc 4.3 warning by adding parens around && clauses. 2008-03-19 15:14:10 +00:00
Bruno Wolff III
fd43028dee Silence 3 related const void warnings by changing to void. 2008-03-19 15:11:44 +00:00
Bruno Wolff III
38c208cf93 Silence gcc 4.3 wanring by making const void return type void. 2008-03-19 15:09:18 +00:00
Bruno Wolff III
8ad3cb4e34 Silence gcc warning by adding braces. 2008-03-19 15:06:41 +00:00
Bruno Wolff III
4f617730e2 Silence gcc 4.3 by adding parens. 2008-03-19 14:59:33 +00:00
Bruno Wolff III
a92547c8d3 Silence gcc 4.3 warning about const void return type by just using void.
const void doesn't make much sense anyway.
2008-03-19 14:51:48 +00:00
Bruno Wolff III
a725c24a6d Silence a gcc 4.3 warning by adding parens. 2008-03-19 14:40:24 +00:00
Nils Kneuper
4cd768a708 updated (simplified) Chinese translation 2008-03-19 13:00:28 +00:00
Nils Kneuper
e1382b2d28 run utils/wesnoth-optipng
*** Total saved: 35 KB on 34 files
2008-03-19 12:58:39 +00:00
Eric S. Raymond
9120667dc8 Illustrate setting of library variables. 2008-03-19 11:44:44 +00:00
Ignacio R. Morelle
de51fd236e New wesnoth-optipng UNIX sh script,
...which supersedes the Ruby-based wesnoth-pngcrush script
2008-03-19 11:26:31 +00:00
Eric S. Raymond
6fe18b742f This version of SConstruct might build wesnothd...
...if server/monitor.cpp were not unaccountably missing in action.
2008-03-19 10:22:01 +00:00
Eric S. Raymond
b963e71854 Removing the tools setting unbreaks scons. 2008-03-19 09:42:09 +00:00
David White
d7e9473b15 added command to control samping rate of wesnothd profiling 2008-03-19 05:22:54 +00:00
Eric S. Raymond
4b2f5eecc7 Clean up the way the game_config::svnrev string is computed...
...(now game_config::revsion).  As a result, user will never see
"unknown" when the SVN revision is not available.
2008-03-19 05:15:30 +00:00
David White
9cf6ee02e5 added server profiling information for requests 2008-03-19 04:40:11 +00:00
Gunter Labes
b4ead395c4 * give an error message when a non-existing server is used 2008-03-19 02:55:08 +00:00
David White
4487376499 fixed problems with formula AI which caused it to fail to work 2008-03-19 02:45:58 +00:00
David White
717253b40c fix erroneous assert 2008-03-19 02:03:34 +00:00
Martin Renold
b049e923d8 catch SIGINT in order to get more gmon.out profiles 2008-03-18 23:15:05 +00:00
Karol Nowak
277a9b0d94 Extract chunk loading logic from play_sound_internal() 2008-03-18 22:51:22 +00:00
Eric S. Raymond
0481391922 Fix the recall (Alt-R was broken since 2008-03-13T07:44:33Z!esr@thyrsus.com) problem...
...by using id= everywhere, rather than description=, as the attribute
for both team and side IDs.  Note: This will almost certainly break MP
compatibility.
2008-03-18 22:16:22 +00:00
Karol Nowak
71150843d5 Removed an unnecessary scope + some formatting fixes. 2008-03-18 21:29:16 +00:00
Eric S. Raymond
bed5efe49b Some C++ changes that go with using id= in SingleUnitWML.
They don't solve the recall problem, alas.
2008-03-18 21:28:39 +00:00
Eric S. Raymond
1c5348cdb9 Eliminate some false positives. 2008-03-18 21:18:55 +00:00
Nils Kneuper
fa5539434f updated Turkish translation 2008-03-18 20:48:14 +00:00
Mark de Wever
f514577f6a Fixed an alignement issue...
...which caused a SIGBUS on a Sparc (debian bug #426318).

The patch has been tested by Rhonda.
2008-03-18 18:05:09 +00:00
Mark de Wever
7e83dceaaf Fix a compiler warning 2008-03-18 16:36:19 +00:00
Nils Kneuper
49feee706d updated Russian and Chinese (Simplified) translation 2008-03-18 15:08:42 +00:00
Lari Nieminen
9cb9d35f5e Wired in the new human city village. 2008-03-18 12:25:54 +00:00