Commit graph

137 commits

Author SHA1 Message Date
Eric S. Raymond
92fe16e9ec Add export-property comments to _main.cfgs.
These will control whether or not wmlscope expects each namespace to
export names.  Presently, core exports but campaigns do not.
2008-02-27 11:11:54 +00:00
Nils Kneuper
ed796892f6 add some comment about where to find explanations about how the rect stuff...
...of theming works.

Was not able to get higher resolutions work nicely, the ThemeWML seems
to have a problem when specifying main map values >1024x768...
2008-02-15 15:56:57 +00:00
Nils Kneuper
1f4653e97b oops, mixed left+right
the problem is that placing alignment right of level sometimes make
alignment vanish (eg when hoovering over the units in the first
scenario of two brothers)
2008-02-14 20:28:20 +00:00
Nils Kneuper
2fb8e772af changelog update, slight cleanup 2008-02-14 19:03:08 +00:00
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
bc5db4faab various tinygui improvements...
...tinygui should now basically look like "normal" guie beside using a
smaller font, most of the object placement at 400x300 and upwards is
exactly like normally (eg end turn) in 320x240 only display of weapons
and hp/xp is improved
2008-02-14 14:28:54 +00:00
Nils Kneuper
f6c7a71c7b preliminary support for 800x480...
...(resolution used for eeePC, Nokia 8x0 and maybe some other mobile
devices) to activate it, run configure with --enable-small-gui
2008-02-14 01:07:01 +00:00
Nils Kneuper
4dd534ce5a some more tinygui improvements: clock now displays correctly at 320x240 2008-02-13 22:46:47 +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
Nils Kneuper
a120bc8b34 forgot to adjust the image for the timer,
...now the timer should work correctly in tinygui
2008-02-12 14:38:32 +00:00
Nils Kneuper
6a63c72696 tinygui fixes
what still is really broken:

* replay mode in tinygui, maybe related to the topbar macro stuff?

* preferences (who added 500 new options in there?!?)  what could use
a fix:

* the unit image in the right panel seems to be straced in a strange
way what works:

* normal gameplay (in normal campaign mode gui looks as intended
2008-02-12 12:00:56 +00:00
Eric S. Raymond
efbcb03bd6 Address bug #10885.
This actually seems to be a problem in the theme definition, not the
underlying display engine -- the theme defines a fixed-sized report
area that assumes position numbers will always be at most two digits.
We can live with not fixing it, as none of the mainline maps are
anywhere near large enough to trigger this minor glitch.
2008-01-30 18:37:05 +00:00
Eric S. Raymond
b1b2435d40 Reindent the mainline content to uniiform whitespace. 2008-01-24 00:16:42 +00:00
uso
06eae3321b add the savereplay and savemap menu entries also for the 800x600 resolution,
grzywacz: as this item list is inherited by the 320x240 resolution
theme you may need to define an own list for 320x240 without these
items if they don't fit
2008-01-12 04:27:23 +00:00
uso
f86bd3bc77 add a menu option to save replays manually
maybe this can be removed later when the whole save game mechanism is
cleaned up again, but to have it there before the string freeze blocks
us from adding it ;)
2008-01-09 17:26:38 +00:00
Mark de Wever
b3d6724678 Also show the autosaves in 800x600 resolution. 2007-12-15 12:33:21 +00:00
Benoît Timbert
2fb0462b2c Theme & changelog update.
Now the race should be displayed in the unit preview panel
2007-12-01 17:01:36 +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
Lari Nieminen
0abefc6701 Change the "Next Scenario" button label to "End Scenario". 2007-10-09 17:16:34 +00:00
Eric S. Raymond
541df15e2d The long-awaited dynamic modification of the End Turn button for linger mode. 2007-10-05 09:09:23 +00:00
Eric S. Raymond
1e06e55aba Give all end-of-turn button declarations in themes a title2 attribute...
...to be used in linger mode.  Note, the C++ to implement this does not
yet exist (YogiHH says he's working on it).
2007-10-04 15:19:53 +00:00
Mark de Wever
60bb1b1b71 Made the offmap tiles themable in the map, the minimap stays as is. 2007-08-12 14:22:41 +00:00
Mark de Wever
2f750bb152 Renamed some images and fixed their references.
Also fixed a small bug in the top border, always using the same images
instead of alternating.
2007-08-11 14:08:03 +00:00
Mark de Wever
246f65b846 Made the border themable.
Still doesn't work in the editor, also the
0.5 hex border is still assumed at some places.
2007-08-11 13:27:36 +00:00
Nils Kneuper
c19e3c2311 added a default textdomain definition to all .cfg files 2007-07-06 09:00:49 +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
4350408f06 Dark magic of ThemeWML had eaten some tooltips of the status bar.
Something like you must provide enough space to fit the inner parts,
(but it seems that if you don't do it, in some cases it will work.
Just to be sure that you don't understand the reason)
2007-05-13 01:24:59 +00:00
Ali El Gariani
02b4eeb22f [[Theme tweaks]]
* Changing the size of the icons from the odd 15x15 and 24x15 to 16x16 and 24x16
  by adding black pixels to right and bottom of the image

* Adapt the default theme to prevent ugly image scaling with this new size

This is normally an invisible change, but the flags icons and other
themes are not changed.
2007-05-12 21:23:09 +00:00
Ali El Gariani
4559a0ac44 Use same width (24 instead of 15) for the flag icon...
...as other big icons (upkeep and income)

Prevent bad scaling of the current images and allow better visibility
of the playing side

(only changed in default theme)
2007-05-12 17:20:06 +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
Patrick Parker
17fad43a69 add sample wml menu items to scenario-test
add themes support

fix minor bugs
2007-03-27 03:52:59 +00:00
Mark de Wever
051b6958fa made some tooltips visible again (bug #6702 and bug #8380) 2007-02-21 19:27:24 +00:00
Pauli Nieminen
b58a67c38b Support for team only labels 2007-01-01 10:32:00 +00:00
Jérémy Rosen
1ebcd3aa4d add an entry menu to save current map during a game, thx to EdB 2006-09-10 09:35:36 +00:00
Karol Nowak
398906e131 The default theme should now be usable at 320x240 2006-08-03 17:41:10 +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
Gunter Labes
488e861307 more line ending clean-ups 2006-06-06 00:05:03 +00:00
Jörg Hinrichs
50bcf5e4ba fixes display of replay widgets...
...and adds a "tooltip" attribute to theme-wml menu tags
2006-05-27 03:49:39 +00:00
Rusty Russell
19d075af1e Implement feature https://gna.org/bugs/index.php?func=detailitem&item_id=5413
Autosave now happens at start of every third turn, and placed in menu.
Loading a non-autosave file cleans them up.
2006-05-20 11:14:24 +00:00
Jérémy Rosen
d5db8ede04 add a command to clear all labels in mp games 2006-02-05 00:34:03 +00:00
Hogne Håskjold
d48c5c5a8c Adjust theme to the new and smaller income and upkeep icons 2006-01-30 11:40:37 +00:00
Jérémy Rosen
bc50e763b8 minor fixes to the MP clock 2005-12-17 08:24:45 +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
9bdb4bbd0a adds support for changing themes ingame
removes replay gui controls from normal gameplay
fixes "corrupted file"-message after single side turn
2005-12-06 20:38:00 +00:00
John W. C. McNabb
2170819642 removed clock 2005-11-28 21:32:40 +00:00
John W. C. McNabb
7c1dea238c removed clock from 320x240 2005-11-20 04:58:16 +00:00
John W. C. McNabb
fc88239628 fix end button and add clock 2005-11-20 02:59:54 +00:00