Commit graph

23 commits

Author SHA1 Message Date
Nils Kneuper
eb065b5e63 add support for a resolution of 800x480...
...(only possible to use if --enable-small-gui is set at configure
time), it is not active by default because several places are
currently rather broken (mp creation/lobby, load dialog and
preferences show many glitches), there is currently no support in the
editor for such a low resolution

fix support of 800x600 be decreasing the minimap size when at a
resolution below 1000x620 improve tinygui display
2008-02-14 18:50:50 +00:00
Nils Kneuper
ffc7b4a7b4 fixed replay theme to be usable at smaller resolutions, too...
(eg 400px horizontal should now be enough to display everything, the
main problem is the checkbox "skip animations", it will reach into the
minimap)
2008-02-13 19:51:48 +00:00
Eric S. Raymond
4c4f802989 More macro type checking.
Replace a South Guard macro that duplicates one in the core library.
2008-02-13 01:11:52 +00:00
Nils Kneuper
de4d8e2a84 some more fixes for tinygui:
* replay theme now working as expected

* unit images now working as expected

problems left:

village flags look really strange, someone will have to look at the
color stuff for those...
2008-02-12 15:31:50 +00:00
Eric S. Raymond
35245ba904 Move the themes images again,
this time to where the binary_paths code reliably finds them.
2007-11-26 23:43:13 +00:00
Eric S. Raymond
15f26e42be Move theme images to their own directory.
This makes cleaner reporting of  unused images possible.
2007-11-26 03:29:38 +00:00
Eric S. Raymond
3c023589dc Address bug #8601.
The fundamental problem here is that the meaning of the hourglass
field changes dynamically according to whether you're in SP or MP,
while themes are static; thus, whatever we put in as a static tooltip
in the theme is going to be wrong a lot of the time.

The fast solution is to rip this tooltip out, which is what I've done.
With some C++ klugery analogous to what's done to change the End Turn
button label in linger mode we could do something clever here, but I
don't think the small gain would be worth the extra complexity.

Anyone who disagrees with me is welcome to file a FR, or (better yet) 
have at the C++ themselves.
2007-11-16 21:59:42 +00:00
Nils Kneuper
c19e3c2311 added a default textdomain definition to all .cfg files 2007-07-06 09:00:49 +00:00
Tuukka Hastrup
c03c4ab064 Make replays to not reveal all information by default.
Include a menu for choosing the point of view: team 1, each team, full
map.

This design is per https://gna.org/bugs/index.php?6946 but doesn't yet 
implement the combo box or menu entries for teams other than number 1.
2007-07-04 00:00:06 +00:00
Eric S. Raymond
08c6876453 Almost all WML files are now uniformly indented.
There are a few exceptions that need further work or careful
examination; UtBS, the tutorial, and the terrain macros.
2007-06-29 10:36:10 +00:00
Ali El Gariani
938562f3e7 In all themes, adapt the time icon to its new 16x16 size 2007-05-19 00:35:13 +00:00
Lari Nieminen
d946916a0a Fixed the somewhat broken timer display. 2007-05-11 12:29:37 +00:00
Eric S. Raymond
fcc22c3f61 Avoid multiple definitions of the same macro. 2007-04-06 08:26:27 +00:00
Gunter Labes
62310f0f2c make tooltip cases consistent
fix Elvish Sylph description (bug #6494)
2006-08-23 14:41:52 +00:00
Jörg Hinrichs
dce42fd2e3 adds yobbo's reworked images for replay controls (play-side and play-turn) 2006-07-12 21:32:26 +00:00
Gunter Labes
04b5252d4e moved the replay theme part to macros and added it to all themes 2006-06-13 13:31:31 +00:00
Jérémy Rosen
c9090cbc90 added fisher's clock, patch by mtx 2005-12-16 21:52:50 +00:00
John W. C. McNabb
2bcd3491af fixed theme bug and updated replay in dfool theme 2005-12-14 18:39:22 +00:00
Jörg Hinrichs
369d88c569 Replay functionality
- added main menu support

- add mouse click support (minimap)

- fixed endless loop at end of replay bug

- fixed gui layout for german translation

- minor corrections to make vc++ compile
2005-11-20 18:44:44 +00:00
Jörg Hinrichs
c7b60eee9b prevents replay buttons appearing in main menu
places replay panel above the map
adds chat message support for replays
2005-11-16 19:18:56 +00:00
Jörg Hinrichs
dafeaad042 replay: added "skip animation" functionality
minor corrections for vc++ compile
2005-11-12 22:55:09 +00:00
John W. C. McNabb
1f27469de1 fixed macro-ized replay elements 2005-11-12 21:42:00 +00:00
John W. C. McNabb
e5bd02c62b macro-ized replay elements 2005-11-12 21:29:34 +00:00