170 Commits

Author SHA1 Message Date
Dave White
420d9e8cdc made it so edges of the map could be cleared of shroud and fog of war 2004-07-25 23:17:47 +00:00
Philippe Plantier
ac441889d9 [[Animation refactoring]]
* Refactoring of all animation code in unit_display and halo.

* Adding animated.hpp, and the animated<T> template.

* Partial rewrite of image.?pp for speed: looking up images was what
  was slowing the game

* Replacing all SDL_Surface*, and scoped_sdl_surface, with
  shared_sdl_surface, which was renamed surface.

* Optimizing halo movement when unit moves

* Inlining some stuff for performance reasons

* Optimizing invalide_all redraws

* Adding support for animated terrain images
2004-07-18 19:02:25 +00:00
Philippe Plantier
825846796c Adding a limit to number of characters in a textbox.
Cleaned a bit the textbox code.

Adding a maximal line width for text to be drawn, to circumvent a SDL / SDL_ttf
bug.
2004-07-10 18:45:19 +00:00
Dave White
c53bcc29dc fixed underlining bug 2004-06-23 16:33:11 +00:00
Dave White
74f4c7749a code refactoring 2004-06-22 20:19:25 +00:00
Dave White
81cd3304ba disabled some font settings to work around bug in SDL_ttf 2004-06-16 14:40:15 +00:00
Kristoffer Erlandsson
77fc29a1b9 Help browser added. Some basic help is included, but it should be extended. 2004-06-15 20:14:10 +00:00
Dave White
83b9db2e5d made color selection dialog in multiplayer work.
Made load dialog not take up lots of CPU. fixed bug where underlying
widgets could 'show through' the load dialog
2004-06-13 21:44:14 +00:00
Dave White
46e811f7d7 added Jetryl's animation for Shyde healing 2004-06-13 03:43:16 +00:00
Dave White
f0df140327 added new 'load' dialog.
changed behavior of pressing 'space' to end a unit's turn
2004-06-10 00:35:45 +00:00
Dave White
f12851e15d fixed seg fault (cvs internal) 2004-06-09 03:32:54 +00:00
Dave White
e013ac8587 fixed compile error 2004-06-09 00:42:16 +00:00
Dave White
bb90f34fdd added 'help strings' feature 2004-06-08 22:36:39 +00:00
Dave White
4479dfadcd added 'Show Haloing Effects' option. Tweaks to Valley of Death 2004-06-06 21:01:27 +00:00
Dave White
bf606f0f6d removed unnecessary voluminous diagnostics 2004-05-27 02:11:00 +00:00
Philippe Plantier
695bc5346c Fixed text ellipsis ...
... (triple dot being added after too long text) not being UTF-8-aware.

Added font::make_text_ellipsis function, that works like
word_wrap_text, but instead adds ellipsis on too long text Made
word_wrap_text UTF-8-aware.
2004-05-26 20:18:28 +00:00
Philippe Plantier
e1ac7dce53 Migrating WML files to UTF-8. Code now assumes all WML files are UTF-8. 2004-05-17 22:12:40 +00:00
Dave White
47c8c39a7b changes to make AI smarter 2004-05-13 02:03:28 +00:00
Dave White
38992ed5bd fixed segfault that could happen when changing video modes (CVS internal) 2004-05-06 23:44:01 +00:00
Dave White
dbf5076c7f made chat box in multiplayer lobby support scrolling and wrapping 2004-05-06 16:17:02 +00:00
Philippe Plantier
9d0ec9c14a Fixed font redrawing for the font used in the slovak (and polish) translations
(see bug #8764)
2004-05-05 20:11:51 +00:00
Dave White
591453ee57 syncing for release 2004-05-03 22:45:19 +00:00
Dave White
90624e1398 made it so title screen menu doesn't flicker when a dialog is cancelled out of.
Fixed bug where negative numbers would be displayed in red but without
a '-' in front of them.
2004-05-03 21:11:16 +00:00
Dave White
10bb960447 made it so the titles of dialogs are displayed in bold 2004-05-03 18:09:12 +00:00
Dave White
6f2f574960 fixed opening sequence in 'Isle of Anduin' 2004-04-30 23:06:12 +00:00
Dave White
7c6ecec04e fixed some compile warnings 2004-04-28 15:03:32 +00:00
Philippe Plantier
841984a8a8 Changed "dark gray" player colour to orange.
(see bug #7419 : dark gray is nearly invisible on some displays)
2004-04-24 14:39:01 +00:00
Philippe Plantier
8f43d2c5fd Added support for selecting text, using keyboard or mouse, on textboxes. 2004-04-23 21:14:20 +00:00
Dave White
b6b8d9979f fixed crash when showing damage labels 2004-04-22 20:43:25 +00:00
Alfredo Beaumont
5c673e9abf Checking of return values in constructors 2004-04-21 20:27:38 +00:00
Dave White
0bec75d1b9 patch to map editor for proper key handling 2004-04-21 13:37:44 +00:00
Dave White
1c6cb6adbe [[Multiplayer improvements]]
- added in possibility to customize the experience requirements in a
  multiplayer game

- added in 'eras' feature for multiplayer games
2004-04-15 21:24:57 +00:00
Dave White
9db644e45b improvements to chat system.
fixed bugs with tooltips
2004-04-14 17:12:18 +00:00
Dave White
a9e68d52eb improved multiplayer chat system 2004-04-07 05:07:52 +00:00
Isaac Clerencia Perez
c5e39392b1 Added end of line to all files to avoid warnings when compiling ... 2004-04-05 22:14:17 +00:00
Dave White
3fc88887c9 finished 'add label' feature 2004-04-02 21:54:37 +00:00
Dave White
73cc7116e2 attempt to fix "X_ShmPutImage" crash on GNU/Linux 2004-04-02 19:14:47 +00:00
Dave White
a9028fa79b fixed compile error 2004-04-02 04:20:50 +00:00
Dave White
8c0662fd39 added borders to cave tiles and script to generate borders 2004-04-02 00:18:11 +00:00
Dave White
30568d6ef2 made sword of fire short range. Fixed 'right column inaccessible' bug. 2004-04-01 23:07:35 +00:00
Dave White
8ac2ca8ed9 fixed crash when changing fonts.
made general more powerful
2004-03-25 02:10:35 +00:00
Dave White
39a75858a7 [[Translation fixes]]
- made it so translations can specify which font to use
- added 'Bepa-Roman.ttf' font which has cyrillic characters
- fixed problem with statistics displaying incorrectly when not your turn
2004-03-24 20:51:05 +00:00
uid66289
f5e4cef460 applied 'adding a draw_wrapped_text method to font.cpp/font.hpp' patch 2004-02-20 18:29:05 +00:00
uid68803
cda417bc99 fixed problem where some menus would have scroll buttons displayed...
...in top-left corner
2004-02-20 16:08:38 +00:00
uid68803
4d0e4f42a6 tweaks to 'home of the north elves' scenario 2004-01-29 18:24:20 +00:00
uid67456
5b9da65d56 Reapplied some changes from jacobh to handle escaped strings 2004-01-29 17:36:28 +00:00
uid68803
e86039e94f merged conflicts in about.cpp and font.cpp 2004-01-29 17:05:16 +00:00
uid67456
855aaf0946 Patch from jacobhs to escape save games filenames...
...to allow special characters on them
2004-01-29 02:00:32 +00:00
uid69097
c82837408b Added colours for the 10 sides 2004-01-10 21:10:14 +00:00
uid68803
319030a331 scaled gryphon rider image down 2004-01-10 00:21:28 +00:00