Commit Graph

22659 Commits

Author SHA1 Message Date
Pauli Nieminen
5a89d98697 Fixed reference to invalid iterator in unit_cycle (bug #7991) 2008-02-15 11:29:25 +00:00
Pauli Nieminen
d6dd5a02f8 Made scrollarea to stay in bottom if it is resized (bug #6974)
Fixed random start ToD (bug #11056)
2008-02-15 10:51:36 +00:00
Lari Nieminen
b6ce0fcf0a Add a comment about the textdomain trick. 2008-02-15 10:46:24 +00:00
Lari Nieminen
e6478af75f Added art credits (neo and nehuen) to SotBE. Should not add any new strings. 2008-02-15 10:21:43 +00:00
Eric S. Raymond
7065e5a6a9 Corrected version of RANDOM_FEATURE_PLACEMENT_ON. 2008-02-15 07:38:08 +00:00
Eric S. Raymond
bc30893edd Added RANDOM_FEATURE_PLACEMENT_ON. 2008-02-15 06:06:13 +00:00
Eric S. Raymond
14c73ffba8 Generalized RANDOM_FEATURE_PLACEMENT is working. 2008-02-15 05:47:35 +00:00
Eric S. Raymond
96177d84bf First cut at random-feature-placement macro. 2008-02-15 03:32:53 +00:00
Ali El Gariani
c40271e5ee Fix a bug spotted by uso: a victorious unit briefly lost its hp/xp bars.
Now always visible. (also allow to show his xp gain)
2008-02-15 03:32:38 +00:00
Eric S. Raymond
9028935e3b Move more unused stuff to attic, and another scenery tweak. 2008-02-15 02:56:20 +00:00
Ali El Gariani
184372e0dc Always highlight hp bars of the slected unit,
...not only the one under the mouse

More consistent with the highlighting of the unit's sprite and prevent
a sort of false de-selection feeling when the bar darkening

Thanks to uso for the idea.
2008-02-15 02:53:27 +00:00
Ali El Gariani
b528e49333 remove a never-used pathfinding search 2008-02-15 00:44:53 +00:00
David Philippi
3e4575cb80 valencian translation update 2008-02-15 00:38:40 +00:00
Lari Nieminen
f258404ef0 Fix more silly stuff. 2008-02-14 23:02:58 +00:00
Lari Nieminen
edb2b1267b Fix another breakage. 2008-02-14 23:00:14 +00:00
Lari Nieminen
8de4ba1bf8 Fix breakage. 2008-02-14 22:55:55 +00:00
Eric S. Raymond
5f05e0f487 Remove a duplicated UtBS image -- UtBS coffin2 -> mainline cffin-closed.
Add some scenery to the laboratory room.

Move an unused macro to the attic.
2008-02-14 22:07:43 +00:00
Ali El Gariani
bf17761f7d Fix an assert crash when a fake_unit_move starts outside of the screen 2008-02-14 21:37:30 +00:00
Ali El Gariani
5a03a0bc84 Prevent a bug+assert crash with fake_unit_move when it needs a scrolling.
It seems that after the scrolling and before the move, orb & bars were
briefly visible and this also trigger an assert.

Now always hide orb and bars of fake unit, and allow the drawing unit
function to know if it's a fake (and so skip undefined stuff)
2008-02-14 21:35:30 +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
46190c5dd3 updated Esperanto translation 2008-02-14 19:29:24 +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
Mark de Wever
8fc1d83434 Unstoring a leader for a side without a leader...
...sets the leader for that side (bug #11048).
2008-02-14 18:16:49 +00:00
Eric S. Raymond
51dd6e3dab Move move things unused in mainline or 1.3 UMC to attic. 2008-02-14 16:31:51 +00:00
Lari Nieminen
404dd5313b Rework how the guards in Hide and Seek work:
...now if they see the player, all nearby guards are woken up to
pursue the player (and go to sleep again if the player disappears from
sight). Also, removed the starting encampment and made the player
unable to accumulate any gold.
2008-02-14 15:47:54 +00:00
Eric S. Raymond
2b5645f52e Wire in Dwarvish Witness aninations and a new revision of Elurin. 2008-02-14 15:22:42 +00:00
Eric S. Raymond
f1b67199aa Renumber the still-used elf-hit sounds. 2008-02-14 14:44:00 +00:00
Lari Nieminen
0e51879979 Made the chasm bridge and lava chasm bridge...
...be aliases of chasm and lava as well (instead of only cave).
2008-02-14 14:43:46 +00:00
Eric S. Raymond
c530a63aae Continuing cleanup of unused sounds. 2008-02-14 14:41:32 +00:00
Eric S. Raymond
9748200fab Clean up male elf-hit sounds as suggested by zookeeper. 2008-02-14 14:29:37 +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
Lari Nieminen
19633422b0 Added the magenta palette image to images/tools/. 2008-02-14 14:24:20 +00:00
Eric S. Raymond
5657ddeb10 Move unused maps to the attic, delete some unused sounds of zookeeper's. 2008-02-14 13:59:16 +00:00
Eric S. Raymond
34d528064a Macro and documentation-comment cleanup; remove some unused cruft. 2008-02-14 13:21:03 +00:00
Lari Nieminen
84e7f537d9 Fix bug #11051. 2008-02-14 11:14:28 +00:00
Piotr Cychowski
24fb2ebbc6 Fix bug in preprocessor conditionals in preferences.hpp 2008-02-14 10:02:38 +00:00
Richard Kettering
80b586fad9 Borrowed some item graphics from Allacrost. 2008-02-14 07:21:39 +00:00
Eric S. Raymond
948bc32489 Fix brown-paper-bag bug in argument checking. 2008-02-14 05:13:32 +00:00
Eric S. Raymond
608ded4239 More macro typechecking improvements. 2008-02-14 04:56:52 +00:00
Eric S. Raymond
06d31fba2b More scenery tweaks. 2008-02-14 03:39:05 +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
Ali El Gariani
1e4653f20b Add a slighlty dark background (black with alpha 0.3) to hp/xp bars.
This helps bug #11030 (lower the risk of confusion with colors under
the bars, caused by terrains or by the unit, like the drake burner's
wing or the elvish fighter'sword (who always look near AMLA). Also
useful on snow terrains.  Maybe the 0.3 value must be tuned. This also
compensate a little the change of the alpha of bars from the previous
commit (brighter bar but darker background)
2008-02-14 00:08:05 +00:00
Ali El Gariani
a69ada3bc6 Change the default alpha transparency of hp/xp bar from 0.7 to 0.8...
...(used when a unit is not under the mouse, 1.0 continue to be used
in this case) This helps a little to avoid confusion with a colored
background partially visible under the bar (like reported in bug
#11030) PS: bars a bit more visible but seems still ok (if you can
notice the change).  Using always 1.0 is possible and more KISS but
looked less nice IMO
2008-02-13 23:30:16 +00:00
Ali El Gariani
0464c67d1f Stop changing alpha levels of hp/xp bars if the unit is invisible.
Bars are part of the UI and must not be affected by the unit "look"
(and orbs, ellipses etc.. are always fully visible) This fix a
flickering bar bug of ghost reported by Aethaeryn and will prevent
almost invisible bars for almost invisble unit.
2008-02-13 23:23:59 +00:00
uso
17f441d3de show team_name in the status window if user_team_name is not set 2008-02-13 23:08:45 +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
2bcb81b165 change imagemagick convert commands as recommended by the imagemagick guys...
...(cf http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=10619 )
2008-02-13 22:27:47 +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
Lari Nieminen
2b16a2e6ef Revert 2008-02-13T17:00:03Z!esr@thyrsus.com...
...using a slightly biggerized and better shadowed version of the original.
2008-02-13 19:46:53 +00:00