6412 Commits

Author SHA1 Message Date
Nils Kneuper
78df2160d6 updated Scottish Gaelic translation 2014-03-16 09:04:17 +01:00
David Mikos
f5323b627c Khalifate melee attack sound timings fix. 2014-03-16 15:07:48 +10:30
fendrin
1e5d58af6a Made the orb and minimap colors configurable by the preferences. 2014-03-15 14:37:16 +01:00
Ignacio R. Morelle
0763670a3f sound: Increase the mixer channel allocation from 16 to 32
This raises the sound effect (SOUND_FX) channel group size from 5 to
21.

The rationale for this change is that the current SFX channel group size
is not enough in some situations (particularly during cutscenes and with
accelerated animations enabled), and decreasing the channel group size
for sound sources (currently 8, preserved as-is in this commit) doesn't
seem like the best solution at this point considering that the sound
source feature is neglected enough as it is. Three other channels are
reserved for the turn bell, turn timer countdown sound, and UI sounds,
and it'd be an even worse idea to drop those.

The SDL_mixer documentation suggests that increased mixer channel
allocations may be a memory usage concern with a high number of channels
("We're talking REALLY high!", their words), but hopefully this small
increase is good enough for our and the UMC making community's purposes
without impacting memory usage or performance on our main supported
platforms. At least Wesnoth's RSS didn't seem to change over a megabyte
when testing this patch on Linux (using ALSA).

Note:

Should this increased limit cause issues on some platform that matters
(hopefully not!) an alternative would be to reengineer the sound channel
selection done in sound::play_sound_internal() so instead of skipping
sounds when all channels are busy, the oldest playing channel is stopped
and reset to the requested sound, for channels in the SOUND_FX group.
However, this seems too complicated to do at this point for 1.12, so yet
another alternative would be to simply reduce the number of channels
reserved for sound sources and give those back to SOUND_FX.
2014-03-15 01:34:20 -03:00
Mark de Wever
cb4c16749b Merge branch 'remove_old_platforms'
Removes support to ease the transition to SDL2.
2014-03-08 18:19:16 +01:00
Mark de Wever
65a97dc525 Update changelog. 2014-03-08 12:46:43 +01:00
Ignacio R. Morelle
2147bb3c54 Use blit_surface() instead of SDL_BlitSurface() in the ~BG() implementation
For some reason, ~BG() used SDL_BlitSurface() directly instead of using
the alternate blit_surface() implementation, unlike every other image
path function type in existence that needs to do blitting.

This works the first time when scaling or cropping an image (say,
"misc/blank-hex.png~BG()~CROP(0,0,34,34)"), but the second time it's
used with different scaling/cropping parameters, it yields the result it
would without ~BG() in the pipeline. This is somehow remedied by this
change, and I don't see any potential issues arising from it anyway
(save for a negligible performance impact on ~BG(), maybe).
2014-03-07 22:51:06 -03:00
Ignacio R. Morelle
8b6c921ea5 Bump version to 1.13.0-dev
The version between 1.12.0 and 1.12.1 is 1.12.0+dev, and 1.12.0 hasn't
happened yet.
2014-03-07 19:46:06 -03:00
Nils Kneuper
006ba9f5c8 bump version numbers of master to 1.12.0+dev
1.12 branch is split off, so the new name is somehow valid...
2014-03-07 16:03:25 +01:00
Chris Beck
1e3aec74db fix bug #21671
wesnoth.synchronize_choice checks the return value of toconfig fcn,
and if it indicated that it partially failed to convert the table,
it will chat a warning, IF wesnoth is running in debug mode
(that is game_config::debug = true, which is determined by e.g.
the command line flag --debug)
2014-03-06 18:48:23 -05:00
Chris Beck
9968636c17 update changelog 2014-03-06 17:57:44 -05:00
Nils Kneuper
e6c239807d changelog formatting changes 2014-03-06 12:06:31 +01:00
Nils Kneuper
10a8ef2b6e updated Slovak translation 2014-03-06 12:05:45 +01:00
happygrue
f0246d3a19 Balance: Increased xp requirement for Rami, Saree 2014-03-04 12:48:51 -05:00
happygrue
349253628d Added missing scenario objective.
Should not break string freeze as it is copied verbatim from the next
scenario.
2014-03-04 12:32:58 -05:00
Alexander van Gessel
62b287354f Fix Fisher-Yates implemenation of Lua helper.shuffle (bug #21706) 2014-03-04 11:57:19 +01:00
mattsc
6170135452 Add missing id attribute to RCA AI candidate action to_config()
With this missing, certain combinations of actions/events would lead to
the ids of all CAs being dropped (e.g. in saves after using
[modify_ai]), which resulted in it not being possible to remove CAs any
more as that is done by id.
This fixes bug #21750.
2014-03-03 12:56:55 -08:00
Ignacio R. Morelle
3135c7b92a Bump changelog version again 2014-03-02 23:04:20 -03:00
Ignacio R. Morelle
52107698fb Expand tabs in the changelog 2014-03-02 23:03:45 -03:00
Nils Kneuper
5c07956e59 updated German translation 2014-03-02 20:04:55 +01:00
Nils Kneuper
2719619394 post release version bump to 1.11.11+dev 2014-03-02 19:37:01 +01:00
Nils Kneuper
28c8ab9815 version bump to 1.11.11 2014-03-02 18:54:23 +01:00
Mark de Wever
b88aa5a23f Update the changelog at Zookeeper's request. 2014-03-02 16:49:57 +01:00
Nils Kneuper
dff2303bb2 updated German translation 2014-03-02 16:39:15 +01:00
Nils Kneuper
e308bf55c5 updated Italian translation 2014-03-02 16:38:17 +01:00
Ignacio R. Morelle
751dab2bd8 Update a changelog entry
See d05cc8b4c3c0bcf440f14f7088c21b14ea563cb7.
2014-03-02 11:58:15 -03:00
Ignacio R. Morelle
da47ad32b1 Update a changelog entry
See 17f305c709b25b8405a8781a01b59de7a9719521.
2014-03-02 11:57:20 -03:00
David Mikos
c625af6b13 fix spelling error in last commit changelog entry 2014-03-02 18:32:34 +10:30
David Mikos
dee9868ac8 fix bug with MP create defaulting to top due to incorrect variable initialization. 2014-03-02 18:23:58 +10:30
Ignacio R. Morelle
cb934cf3e9 UtBS S12: Fixed broken Divine Incarnation unit type due to missing [base_unit]
Spotted by wmllint, introduced by commit d46b7e29a02156cf633d42bd6e2c7e35d4ad50e4.
2014-03-01 07:38:29 -03:00
Ignacio R. Morelle
4523fb0875 Fix for unusual [theme] font_rgb attribute behavior with unit status labels
Internally, the font_rgb="RR,GG,BB" specification for theme elements is
converted and packed into an unsigned 32-bits integer using the
0x00RRGGBB layout many SDL functions expect. However, for displaying the
unit status report we use ttext (the Pango+Cairo text rendering type),
which expects a different layout: 0xRRGGBBAA. This caused unit status
labels to lack a red channel value and use the blue channel as alpha.

Since the theme UI implementation ignores the alpha value by design (it
only expects three values), force alpha to be 0xFF and shift the color
value to the left so it matches ttext's expectations.

If I had to guess where this bug came from, I'd expect it was
accidentally introduced when converting the theme sidebar to use
Pango+Cairo since the font_rgb attribute seems to have gone unused and
undocumented for years.
2014-03-01 00:52:41 -03:00
Chris Beck
c7a2394168 update changelog 2014-02-28 21:53:52 -05:00
Alexander van Gessel
d3efb49d82 Merge branch 'master' of github.com:wesnoth/wesnoth 2014-02-28 21:00:15 +01:00
Alexander van Gessel
1c528a7a37 Make 'none' a special case for [unit_type]ellipse (bug #21724) 2014-02-28 20:59:22 +01:00
mattsc
910f8c9d4d Update changelog with AI bug fixes 2014-02-28 08:16:47 -08:00
fendrin
ca2eec45b9 Update to the default and editor themes.
Reintroduced the alignment and side.
2014-02-27 23:54:51 +01:00
Bär Halberkamp
ba6592a1a3 Updated changelog 2014-02-26 15:49:26 +01:00
JaMiT
7cb0f5b928 Split event names before filing handlers by name.
Fixes bug #21577.
2014-02-25 22:33:43 -06:00
JaMiT
5162b0584e Use print_modifier, not signed_value, when dealing with percentages.
Fixes bug #21577.
2014-02-25 22:13:42 -06:00
Nils Kneuper
c77f8a2d92 updated Slovak translation 2014-02-25 21:57:08 +01:00
Alexander van Gessel
76b9976b75 Merge branch 'bug21486' of github.com:sachith500/wesnoth-old (PR #94) 2014-02-25 04:41:54 +01:00
Bär Halberkamp
a099a520b7 Updated changelogs 2014-02-25 03:23:44 +01:00
Sachith Hasaranga Seneviratne
ebd111ba45 Added changelog entries and updated about.cfg. Minor typo-fix in
changelog.

Signed-off-by: Sachith Hasaranga Seneviratne <sachith500@gmail.com>
2014-02-24 07:50:39 +05:30
Sachith Hasaranga Seneviratne
5a3969a475 Signed-off-by: Sachith Hasaranga Seneviratne <sachith500@gmail.com>
Added changelog entries and updated about.cfg
2014-02-24 07:38:16 +05:30
Alexander van Gessel
c9f8d15319 changelog entries 2014-02-24 02:23:23 +01:00
JaMiT
bd09e01992 Clean up the logic that decides when labels are created and shown.
Fixes bug #21434.
2014-02-23 16:32:07 -06:00
Mark de Wever
f7de93c685 Update valgrind suppression file.
Don't complain when strtod is called from luaO_str2d.
2014-02-23 15:19:16 +01:00
JaMiT
3b69ba802b Make the mouse handler respect linger mode instead of assuming false.
Fixes bug #21450, restoring functionality lost in commit
7e46df919167c6906d7a782b8f77104444cdee5a.
2014-02-23 02:07:05 -06:00
JaMiT
4ae8e5fe3d Changelog entry for 46b87250cd7a. 2014-02-23 00:20:20 -06:00
Ignacio R. Morelle
b995ae5003 Add a 1.11.10 changelog entry I really should have added before tagging 2014-02-22 23:08:28 -03:00