5816 Commits

Author SHA1 Message Date
Jordà Polo
0967d9c75e increased the width of unit-hp and unit-xp 2005-03-08 15:11:13 +00:00
Jordà Polo
15a3c9de0a added slovenian translation
added Jaka Kranjc (lynx) as slovenian translator
2005-03-08 14:18:08 +00:00
Dave White
d2d0ee3b08 committed patch to add an option to choose whether the sun moves left-to-right
or right-to-left
2005-03-08 02:52:45 +00:00
Dave White
c2744d67cf fixed compilation problems on VC++ 2005-03-08 02:30:06 +00:00
Dave White
209a3fbf9e added inclusion of global.hpp 2005-03-08 02:29:10 +00:00
Dave White
5be8a3d3e4 corrected forward declaration of 'config' to be a class rather than a struct 2005-03-08 02:26:03 +00:00
Dave White
9a29c25197 fixed compile error on vc++ 2005-03-08 02:16:32 +00:00
Susanna Björverud
7169952e8d Updated Slovenian translation 2005-03-07 21:15:55 +00:00
Yann Dirson
0b6f15b174 fixed hardcoded constant in error message 2005-03-06 18:14:48 +00:00
Yann Dirson
0772bb83e9 first step towards making variable handling independant of game_events:
put the relevant prototypes into their own header and use it where applicable
2005-03-06 18:12:19 +00:00
Susanna Björverud
e4b0418258 Updated Hungarian translation 2005-03-06 17:54:30 +00:00
Susanna Björverud
597f80e25c Updated Hungarian translation 2005-03-06 16:48:31 +00:00
Susanna Björverud
ea925580e3 Updated German (SotBE) translation 2005-03-06 16:43:28 +00:00
Susanna Björverud
eb52daa7aa Updated Slovenian translation 2005-03-06 12:23:27 +00:00
Philippe Plantier
06e6e017e8 Fixed a bug where the UTD8-decoding iterator would try to decode characters...
...at the end of a string.
2005-03-06 10:46:27 +00:00
Susanna Björverud
da43bbdc03 Changed ordering of fonts in Russian translation 2005-03-06 08:57:39 +00:00
Jon Daniel
950a4f62b5 Changed ucs4_string typedef to std::vector<Uint32> 2005-03-06 01:55:38 +00:00
Jon Daniel
c4436e2fa9 Added refresh image cache hotkey and menu entry to the editor 2005-03-05 19:03:56 +00:00
Susanna Björverud
27aa6aed77 Updated German translation 2005-03-05 17:48:18 +00:00
Yann Dirson
3ee3c92b42 move high-level map-creation utility functions out of mapgen (missing files) 2005-03-05 17:35:48 +00:00
Susanna Björverud
d2eac62413 Updated Russan translation 2005-03-05 16:26:29 +00:00
Susanna Björverud
c5259226cd Updated German translation 2005-03-05 16:24:15 +00:00
Yann Dirson
ebea6ceb28 move high-level map-creation utility functions out of mapgen 2005-03-05 16:07:54 +00:00
Jon Daniel
b08827faf8 Applied patch #3788 from ott adding a new ignore_replay_errors command 2005-03-05 15:39:18 +00:00
Yann Dirson
398d54efc7 map does not need pathfind 2005-03-05 13:03:19 +00:00
Yann Dirson
87be440053 typos 2005-03-05 12:49:11 +00:00
Guillaume Melquiond
d8497fcc57 Big simplification of the WML printer.
Remove the spurious WML linebreak along the way.
2005-03-05 11:33:29 +00:00
Guillaume Melquiond
3e59f445a3 A cache-disabling typo. 2005-03-05 11:14:17 +00:00
Guillaume Melquiond
567edd9eef Split text and binary parsers from config. 2005-03-05 10:54:25 +00:00
Susanna Björverud
4ce0861b09 Updated Estonian translation 2005-03-05 10:16:30 +00:00
Jon Daniel
9f7260514d [[More fixing of text/surface machinery]]
* Added the complete utf8_string to text_surface again

* split only if necessary e.g. on the first call to width or height

* update set_text to set w_ and h_ to -1

* text_cache works again at least I get alot of hits in the campaign
  selection dialog if scrolling up and down
2005-03-04 20:23:40 +00:00
Guillaume Melquiond
e32a31344e Removal of the last source subdirectory.
But does somebody really use wesnoth_zip? And what is it supposed to do?
2005-03-04 19:39:59 +00:00
Jon Daniel
d5fce8801d updated measure_ucs2_text_line 2005-03-04 16:52:07 +00:00
Jordà Polo
6a2170af5e updated catalan translation 2005-03-04 15:57:22 +00:00
Jon Daniel
9e650863a4 added typedef std::string utf8_string...
and typedef std::vector<wchar_t> ucs4_string to make the type of
encoding clear. Feel free to use them or not.
2005-03-04 13:10:46 +00:00
Jon Daniel
99e81e10b3 * added text_chunk::operator!= 2005-03-04 12:34:37 +00:00
Jon Daniel
f368485a2c [[Text chunk and UTF-8 fixes]]
* Added operator== for text_chunk

* updated text_surface to store text_chunks instead of the str

* updated text_surface to render and measure ucs2_strings instead
  of UTF-8

* moved the split to the constructor and set_text

* added string parameter to hash because we don't store the string anymore
2005-03-04 11:59:54 +00:00
Jon Daniel
22d054a5ec [[UTF-8 and UCS2 fixes]]
* changed text_chunk to store utf8 and ucs2 versions of the text

* cleaned up split text and updated it to fill ucs2 values too

* minor changes to measure_ucs2_text_line
2005-03-04 05:49:04 +00:00
Jon Daniel
4daf9b75c6 Added measure_ucs2_text_line function...
...which retrieves the pixel width annd height of the range [first,
last) in a specific font size and style.
2005-03-04 04:26:15 +00:00
Jon Daniel
13357219dd Added a typedef std::vector<Uint16> ucs2_string...
...because they are easy to pass to SDL_ttf.
2005-03-04 03:31:42 +00:00
Guillaume Melquiond
e1f710fbbf Update .cvsignore files with the new layout. 2005-03-03 23:23:09 +00:00
Guillaume Melquiond
5c971fc8bf Update changelog with the autostuff changes. 2005-03-03 23:14:37 +00:00
Guillaume Melquiond
bbd5709614 Drag wesnothd into src/ ...
and drop the object files into their subdirectories to avoid
superfluous compilations.
2005-03-03 23:04:00 +00:00
Yann Dirson
4ce76d74ed removed empty src/game.hpp 2005-03-03 22:43:25 +00:00
Susanna Björverud
bef5cdbd93 Updated Slovak translation 2005-03-03 22:40:32 +00:00
Guillaume Melquiond
ff8f7d9e59 Add a --disable-game option.
Beautify ./configure --help. Don't install all the manpages. Don't
install data/ if not needed.
2005-03-03 22:19:58 +00:00
Philippe Plantier
1949375acf Replaced split_utf8_string by a new "utf8_iterator" class
Moved all utf8 encoding / decoding-related code to
serialization/string_utils.hpp
2005-03-03 21:52:40 +00:00
Jordà Polo
d3bfad16f1 changed Gerfried Fuchs's nick to Alfie 2005-03-03 21:32:46 +00:00
Jordà Polo
b5a9401d7d updated changelog 2005-03-03 17:57:56 +00:00
Jordà Polo
f266bdd970 updated catalan translation 2005-03-03 17:54:11 +00:00