Commit graph

499 commits

Author SHA1 Message Date
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
d41da3537c Fix some paths in the editor theme. 2007-11-29 23:29:19 +00:00
John W. C. McNabb
500eb327a3 added village count to editor 2007-11-29 22:11:14 +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
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
Hans Joachim Gurt
c67ca4490b added missing AUTOSAVES to menu 2007-10-02 19:48:18 +00:00
Ali El Gariani
a67bc242bf New "rotate selection" feature for the editor (very old FR, bug #3870)
- Use the cursor as center of rotation, if not on map then use "center of mass"

- Use hotkey shift+r, as Gimp. (ctrl+r is reserved by recruit, old hotkey bug)

- copy/paste instead of moving, not sure about that but seems more
useful (if wanted you can overwrite on the current selection and then
cut/paste) Because the main use is probably to help create map like
Hexcake, but rotate after a select-all allow to rotate the whole map
(with cropping of corners)
2007-09-22 00:12:41 +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
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
Ali El Gariani
99024ff072 Adapt the 2 remaining themes to the new icon sizes
(the general 16px height and the 24px width of flag icon)
2007-05-19 00:17:48 +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
Ali El Gariani
67169e261a For pseudo bug #9104
(Zoom hotkeys not working in editor, also no option for standard zoom)

Use the same default keys for zoom (+,-,0) as the game.
For some reason you need to install to activate this change.
2007-05-10 18:28:27 +00:00
Ali El Gariani
a559247f43 Add 2 commands in the editor:
"update transitions"(key b) and "delay transitions update" (key ctrl+t)
2007-04-24 19:56:24 +00:00
Gunter Labes
c3ccae587b fixed some macro calls that weren't updated with the new font parameter
(starting wesnoth once to test changes helps ;-))
2007-04-06 13:05:03 +00:00
Eric S. Raymond
c2860d228a Remove unused "320" definitions, this theme doesn't need them. 2007-04-06 09:35:07 +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
Mark de Wever
f126c2cc9e added the paste option to the edit menu 2007-02-10 11:31:20 +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
Gunter Labes
62310f0f2c make tooltip cases consistent
fix Elvish Sylph description (bug #6494)
2006-08-23 14:41:52 +00:00
Karol Nowak
398906e131 The default theme should now be usable at 320x240 2006-08-03 17:41:10 +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
4cfd4738fb fixed the observer icon's position 2006-06-13 17:27:49 +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
Patrick Parker
0158294883 as requested by Soliton,
use kotkey ctrl+l to toggle the mouse scrolling preference

renamed disable mouse scroll to prevent double-negative logic (disable(false))
2006-06-08 01:14:52 +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
Gunter Labes
3153ffc13d added timelimit to the experimental theme
it doesn't fit perfectly on 1024 but I hope it's better than nothing for now
2006-03-02 21:59:58 +00:00
Gunter Labes
e6c19b1964 added the timelimit panel to dfools theme 2006-03-02 21:26:19 +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