Mark de Wever
a90d6b8d3f
Initialize all members.
2010-06-12 19:35:31 +00:00
Mark de Wever
000a9428f5
Initialize all members.
2010-06-12 19:35:27 +00:00
Mark de Wever
50878c71cd
Initialize all members.
2010-06-12 19:35:24 +00:00
Mark de Wever
3788f1cc9e
Initialize all members.
2010-06-12 19:35:19 +00:00
Nils Kneuper
240da1e6af
updated Vietnamese translation
2010-06-12 19:10:18 +00:00
Guillaume Melquiond
84469ea46c
Removed redundant attribute lookup.
2010-06-12 18:59:16 +00:00
Guillaume Melquiond
8450921898
Removed broken test.
2010-06-12 18:59:12 +00:00
Guillaume Melquiond
f535b9e64a
Removed redundant attribute lookup.
2010-06-12 18:59:08 +00:00
Guillaume Melquiond
b6fec412f4
Removed redundant attribute lookup.
2010-06-12 18:59:04 +00:00
Guillaume Melquiond
d7f80e52a5
Removed redundant attribute lookup.
2010-06-12 18:59:00 +00:00
Guillaume Melquiond
c8271f6986
Removed redundant attribute lookup.
2010-06-12 18:58:56 +00:00
Guillaume Melquiond
0f4542784a
Removed redundant attribute lookup.
...
Avoided costly roundtrip through strings.
2010-06-12 18:58:51 +00:00
Guillaume Melquiond
4dd249eb06
Removed redundant attribute lookup.
2010-06-12 18:58:48 +00:00
Guillaume Melquiond
408dc492a5
Added config accessor combining has_attribute and get_attribute.
...
Ideally, a bool operator would have been added to attribute_value
instead of adding yet another accessor to config.
But it can't work for now:
- conversion to a safe bool would lose against the conversion to int;
- conversion to plain bool would conflict with the conversion to int.
So we are stuck with using a pointer to emulate an option type.
2010-06-12 18:58:39 +00:00
Guillaume Melquiond
997643d2eb
Uninlined, added validity check, and documented functions.
2010-06-12 18:58:35 +00:00
Guillaume Melquiond
10b7dfd773
Removed useless parameter.
2010-06-12 18:58:31 +00:00
Guillaume Melquiond
578f243a78
Avoided costly roundtrip through strings.
2010-06-12 18:58:26 +00:00
Guillaume Melquiond
ffba67f841
Avoided costly roundtrip through strings.
2010-06-12 18:58:22 +00:00
Guillaume Melquiond
a2eef2f5d7
Avoided costly roundtrip through strings.
2010-06-12 18:58:18 +00:00
Guillaume Melquiond
0376ad6164
Avoided costly roundtrip through strings.
2010-06-12 18:58:15 +00:00
Guillaume Melquiond
41560697ce
Avoided costly roundtrip through strings.
2010-06-12 18:58:10 +00:00
Guillaume Melquiond
b405e7d53d
Avoided costly roundtrip through strings.
2010-06-12 18:58:06 +00:00
Guillaume Melquiond
9aa0af7fe6
Avoided costly roundtrip through strings.
2010-06-12 18:58:02 +00:00
Guillaume Melquiond
791a4518cd
Avoided costly roundtrip through strings.
2010-06-12 18:57:59 +00:00
Guillaume Melquiond
2483bf6178
Avoided costly roundtrip through strings.
2010-06-12 18:57:55 +00:00
Guillaume Melquiond
e01c0d119e
Avoided costly roundtrip through strings.
2010-06-12 18:57:51 +00:00
Guillaume Melquiond
4819fc1f01
Avoided costly roundtrip through strings.
2010-06-12 18:57:47 +00:00
Guillaume Melquiond
683ab243fc
Avoided costly roundtrip through strings.
2010-06-12 18:57:43 +00:00
Guillaume Melquiond
4a9049812f
Avoided costly roundtrip through strings.
2010-06-12 18:57:40 +00:00
Guillaume Melquiond
ab356dc32d
Avoided costly roundtrip through strings.
2010-06-12 18:57:36 +00:00
Ali El Gariani
29fb377a6b
Use 255 has default alpha value in the new create_color()
2010-06-12 16:46:34 +00:00
Mark de Wever
d766b35b37
Update changelog.
2010-06-12 16:04:03 +00:00
Mark de Wever
c5c43815ac
Strip trailing whitespace.
2010-06-12 16:03:58 +00:00
Mark de Wever
b1e7df8100
Make Wesnoth more compatible with C++0x (g++-4.5).
...
Prevent narrowing when using an initializer list to initialize
token_desc.
2010-06-12 16:03:53 +00:00
Mark de Wever
9af4c11072
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:50 +00:00
Mark de Wever
6df60d800c
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:47 +00:00
Mark de Wever
1f9ce8fe2b
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:42 +00:00
Mark de Wever
80bbda8413
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:39 +00:00
Mark de Wever
e9b3b756ae
Make Wesnoth more compatible with C++0x (g++-4.5).
...
Prevent narrowing when using an initializer list to initialize
SDL_Color.
2010-06-12 16:03:35 +00:00
Mark de Wever
42742ff6f5
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:32 +00:00
Mark de Wever
9174903b8e
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:29 +00:00
Mark de Wever
d0a83ff0b5
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:26 +00:00
Mark de Wever
d56b65a2d4
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:23 +00:00
Mark de Wever
d3202d7b7f
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:19 +00:00
Mark de Wever
f802c2321f
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:16 +00:00
Mark de Wever
54bb37c7a0
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:13 +00:00
Mark de Wever
db6cdf7f56
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:10 +00:00
Mark de Wever
804e425530
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:07 +00:00
Mark de Wever
ddbf88d058
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:04 +00:00
Mark de Wever
c2464b1c18
Make Wesnoth more compatible with C++0x (g++-4.5).
2010-06-12 16:03:01 +00:00