21769 Commits

Author SHA1 Message Date
Charles Dang
9cdc3bcbd2 SoF: center description poem 2016-02-23 00:48:27 +11:00
Charles Dang
e8c3fdb238 tcampaign_dialog: add support for setting alignment of description text from WML 2016-02-23 00:47:54 +11:00
Charles Dang
b57def5130 ttitle_screen: use a standard label definition for version label
Since this label no longer has a special background, the custom definition isn't
necessary anymore.
2016-02-22 23:48:53 +11:00
Charles Dang
5aa86c42f0 Moved scrollbar images to their own folder 2016-02-22 23:35:23 +11:00
Charles Dang
04d510a91c gui2: dropped repeating buttons from scrollbars 2016-02-22 23:30:47 +11:00
ln-zookeeper
e85d504fbc Replaced feathered beach wave masks with hard-edged ones
This both improves performance slightly and eliminates glitches resulting from the feathered masks overlapping.
2016-02-22 14:19:18 +02:00
Charles Dang
67cf95a5af gui2: cleanup of the text box widget design
This reduces border size as well as removes a hack related to transparent
backgrounds and text rendering. I can't observe any issue with text AA
using semi-transparent backgrounds anymore.
2016-02-22 22:07:14 +11:00
Charles Dang
710b1fc3af tgame_load: very subtle layout fix
The Delete button wasn't perfectly aligned with the listbox scrollbar
on the right.
2016-02-22 21:38:10 +11:00
Charles Dang
34153effa8 gui2: removed borders from usecases of listbox_header type toggle buttons
This deliberately excludes the addon_list dialog, since work is being done
on that elsewhere.
2016-02-22 21:28:54 +11:00
Charles Dang
81389f4c88 gui2: tweaked layout of listbox header toggle button definition
This lays out the text by a 5 left offset, alleviating the necessary use
of a border in dialogs using this widget, since borders meant that the
colors backgrounds would not be drawn. As such, any use of this widget
should *not* have borders defined.
2016-02-22 21:28:00 +11:00
Charles Dang
ad84686989 tpreferences: tweaked layout of Font Scaling slider 2016-02-21 20:01:21 +11:00
Charles Dang
6d48d72b7b tpreferences: move composite slider definition to main file
This makes it available to all preference subfiles
2016-02-21 19:30:03 +11:00
Nils Kneuper
a13ad0c23e added Asturian translation 2016-02-21 09:13:42 +01:00
Celtic Minstrel
742d17932f Merge pull request #603 from CelticMinstrel/prefs_stuff
Font scaling and reimplemented orb colors
2016-02-21 01:34:57 -05:00
Celtic Minstrel
6848a6d596 Preferences: code cleanup and minor bugfix 2016-02-21 00:38:27 -05:00
Ignacio R. Morelle
b04c158e89 gui2/tpreferences: Macro scope cleanup 2016-02-20 23:16:26 -03:00
Charles Dang
4ad4722160 tpreferences: slight height bump 2016-02-21 13:01:08 +11:00
Charles Dang
a6101bf80d gui2: tweak title-style label design 2016-02-21 12:59:52 +11:00
Charles Dang
d361754806 tunit_attack: specify characters per line for attack name details 2016-02-21 12:22:52 +11:00
Charles Dang
85fefbe5b8 Improve design of Orb toggle buttons 2016-02-20 19:55:53 -05:00
gfgtdf
439ded53ee 2p dark forecast: don't store unit pool types in savefiles
instead of storing the poolypesin savefiles we now have them as 'const'
lua array and store only the indexes to this array in the savefiles.
this has some advantages:
1) It makes the savefiles smaller
2) It simplyfies the lua code becasue we don't have to convert the wml
tables to lua tables anymore.

This also changes the scenario so that the spawned unit types are now
calculated at the beginning (they will be the same when reloading from a
savefile.)
2016-02-18 23:34:50 +01:00
gfgtdf
39eb8feaf1 add difficulcy level slider to dark forecast mp scenario
unfortunateley the 'description' (the tooltip of the widget in the mp
configure dialog) doesn't show in current master. This is likeley to be
a bug related to gui internals.
2016-02-18 23:08:44 +01:00
gfgtdf
8ee34c39b2 move most dark forecast code to lua
This has multiple advantages:
1) It makes the code easier to understand because we now can use local
variables and return values.
2) It makes the code easier to debug because we don't have to reload the
wml cache anymore for changes to have an effect
3) It makes loading the multiplayer wml faster, specially dark forecasts
wml codes is now so short that we don't need to guard it inside its own
preprocessor marco anymore.
4) It decreases the save file size.

This commit also does other improvements to the code, for example:
1) We don't create temporary units anymore just to query the costs of
a unittype.
2) We now load the weather maps dynamically at runtime with
wesnoth.read_file, this decreased the prorocessor paring time and savefile
size further.
3) When creating the new spawns we use temporary objects to decrease
the units movement, instead of changing and resetting the unit stats
manually.

This also has a disadvantage:
1) It now requires all players to have this scenario installed, since it
it a mainline scenario i see no problems with that.
2016-02-18 23:08:41 +01:00
gfgtdf
3e2dfed89d added border to dark forecast map
this adds borders to the 2p dark forecast survival map, it also removes
the big empty space in the upper third of the map.

This also renames the mask files to map files, becasue they are actually
just normal maps, and the [terrain_mask] just replaces the current map
with these.
2016-02-18 23:08:36 +01:00
gfgtdf
561e30bc7d 2p Dark Forceast cleanups 2016-02-18 23:08:34 +01:00
Celtic Minstrel
38ddbb98f2 Preferences: Reimplement orb color options 2016-02-18 01:13:10 -05:00
Celtic Minstrel
270d3fd482 Preferences: Implement a font scaling option
This is currently incomplete - it only works for GUI2 text.
2016-02-18 01:12:56 -05:00
sigurdfdragon
28e5a3fdc2 Change id of broken ai to get it off the top of list in mp debug.
A quick fix to get Default RCA to top of list in debug mode, so add-on development is easier.
2016-02-17 18:22:04 -05:00
Charles Dang
1505c33be7 Merge pull request #601 from sigurdfdragon/AOI_Cleanup_2
AOI Cleanup 2
2016-02-16 17:20:22 +11:00
sigurdfdragon
e0dc24dbd7 AOI: Remove extra spaces in comments. 2016-02-16 00:38:45 -05:00
sigurdfdragon
99fc5e2735 AOI S5: Fix elf facing when Linaera teleports in. 2016-02-16 00:28:26 -05:00
sigurdfdragon
27895f19fb AOI: Use stock macro to add loyal icon. 2016-02-16 00:20:10 -05:00
sigurdfdragon
9ee59e41c1 AOI S5: Use stock macros for loyal units. 2016-02-15 23:38:52 -05:00
sigurdfdragon
88f4237cb8 AOI S7: Simplfy advisor search to match version in AOI utils/macros.cfg 2016-02-15 23:24:37 -05:00
sigurdfdragon
61d4d8f83c AOI S6: Fix bug where mage recall & dialog won't trigger.
This occurs whenever you only have Silver Mages left.Reported in the forums.
https://forums.wesnoth.org/viewtopic.php?f=41&t=20321#p363025
2016-02-15 23:17:53 -05:00
Charles Dang
c9593e17d6 Merge pull request #600 from sigurdfdragon/Tutorial_Cleanup_and_Typo_Fixes
Tutorial cleanup and typo fixes
2016-02-16 13:57:03 +11:00
Charles Dang
bd9d2ad851 Merge pull request #599 from sigurdfdragon/Tutorial_Part_2_Character_Fix
T S2: Make Galdrad an Elvish Champion without traits.
2016-02-16 13:56:47 +11:00
Charles Dang
96991a5409 Dark Forecast: ensure weather masks are properly aligned (bug #24200) 2016-02-16 13:53:58 +11:00
sigurdfdragon
79dc4eb630 T S1: Change message to Konrad to better match rest of T & HttT tone.
Matches message to Li'sar in S1, Galdrad's messages to Konrad in S2,& general treatment of Konrad in HttT.
2016-02-15 20:20:41 -05:00
sigurdfdragon
9ba9974c33 T S2: Fix typo. 2016-02-15 20:12:25 -05:00
sigurdfdragon
090f6eafcd T S2: Make Galdrad an Elvish Champion without traits.
So he has identical stats to his appearance in HttT S1.
2016-02-15 19:39:45 -05:00
Charles Dang
3c944c3bb2 Merge pull request #598 from Elvish-Hunter/dejavu-2.35
Updated DejaVu fonts to version 2.35
2016-02-16 09:31:05 +11:00
ln-zookeeper
df9cecd558 Changed gray and tropical water to work by overlays, not color-shift
This heavily decreases memory use, with relatively little impact on visuals, which can be refined further still.
2016-02-15 23:38:49 +02:00
gfgtdf
09e88c89d1 remove a useless prprocessor guard
in inclusion of test/multiplayer/ is already guarded with a #ifdef
MP_TEST so there is no point in using #ifdef MP_TEST in that file.
2016-02-15 18:00:43 +01:00
Elvish_Hunter
4f2c15a065 Updated DejaVu fonts to version 2.35
The following codepoints were added:
* 1735 - 1736
* 1739
* 1744
* 3647
* 8381
* 9886 - 9887
* 43000 - 43001
* 64471 - 64472
* 64475 - 64479
* 64484 - 64487
2016-02-15 17:39:39 +01:00
Elvish_Hunter
b9380e88c1 wmltools3: fixed a bug reported by Robertdebrus in PR #596
The bug consisted in the accidental removal of the 'vcdir' constant, still used by wmlindent and wmllint-1.4.
2016-02-15 00:12:47 +01:00
Ignacio R. Morelle
5e6da3f9aa gui2/tpreferences: Fix button labels case 2016-02-14 15:50:04 -03:00
ln-zookeeper
93a7f5e599 Fixed the last character of [objectives] note= getting eaten 2016-02-14 02:12:01 +02:00
Celtic Minstrel
1873b38243 Demote [option] deprecated message even further 2016-02-13 18:42:02 -05:00
Celtic Minstrel
d28365730b Demote [option] deprecated message to log 2016-02-13 18:23:07 -05:00