Commit Graph

48982 Commits

Author SHA1 Message Date
Ignacio R. Morelle
3501b330bd Add-ons client/server: Generalize conversion from/to enum...
...type representation of add-on type identifiers

This involves a rather C-ish approach I don't really like, using a
constant table of strings with fixed positions that can be translated to
enum members. I'm open to alternatives.

Also introduced a get_addon_type_string() function that will be used by
the new add-ons manager code for a short while.
2012-02-24 06:45:03 +00:00
Ignacio R. Morelle
e728bbd82b Add-ons client: teach addon_info struct new tricks
* It can now store dependency lists that can be recursively resolved
   into full trees, fixing circular and self-refering dependencies if
   necessary.

 * It now stores its own add-on id.

 * It now allows for retrieving a "fixed" version of the icon field with
   the habitual fix-ups for broken add-on icons (a placeholder image in
   debug mode, TC for unit baseframes without image path functions);
   this is used by GUI front-ends.
2012-02-24 06:44:50 +00:00
Anonymissimus
e0958f0e3b Gendrify a message. (fix for bug #19367) 2012-02-24 01:15:00 +00:00
Fabian Müller
ff243c7036 Removed left over debug output. 2012-02-23 21:47:45 +00:00
Anonymissimus
fe8ce4d3e2 fix an MSVC warning about unreferenced local variable 2012-02-23 21:32:31 +00:00
Fabian Müller
099156218f magic number 2012-02-23 20:59:48 +00:00
Fabian Müller
177b197a5e Removed extra quoting for map strings. 2012-02-23 20:58:10 +00:00
Nils Kneuper
f2c57077a0 updated Chinese (Simplified) translation 2012-02-23 16:48:32 +00:00
Nils Kneuper
dfb41ea016 updated French translation 2012-02-23 09:57:01 +00:00
Nils Kneuper
7cd22d7560 updated Irish translation 2012-02-23 06:59:21 +00:00
Simon Forsyth
68dc23cd0b Mark [map] as a handled tag to avoid Lua error 2012-02-23 03:45:20 +00:00
Fabian Müller
0b107d39bf Implemented a better way to see if a file contains wml. 2012-02-23 03:15:05 +00:00
Fabian Müller
a8aa81f338 Now realy introduced the new map format. 2012-02-23 02:39:58 +00:00
Fabian Müller
1a27a8cb08 Introduced new [map] format. 2012-02-23 02:39:11 +00:00
Simon Forsyth
7f5f6296f5 remove newly unused function 2012-02-23 02:33:39 +00:00
Simon Forsyth
163c858b18 Improve wall transitions at map edge
should probably give off map terrains a non-empty string
2012-02-23 01:43:00 +00:00
Alexander van Gessel
30d4e650be Update CampaignClient to know about 1.10 (instead of 1.9) 2012-02-23 02:38:16 +01:00
Simon Forsyth
057a2e65a0 Display invisible overlays on main map in map editor 2012-02-23 00:31:17 +00:00
Simon Forsyth
7a12f685cc update Xcode project file 2012-02-23 00:17:56 +00:00
Simon Forsyth
ea302889c4 stop aligning columns in the map file format 2012-02-23 00:03:12 +00:00
Simon Forsyth
33c657059d Make wolf raise head for terrain where unit is submerged only
Allows for all embellishments/overlays on submerged bases and
considers only overlays that affect submersion

http://forums.wesnoth.org/viewtopic.php?f=4&t=36212
2012-02-22 22:21:00 +00:00
Anonymissimus
98d14f8107 CB projectfile update 2012-02-22 20:50:53 +00:00
Anonymissimus
1a77f70a85 VC9 projectfile update 2012-02-22 20:50:35 +00:00
Ignacio R. Morelle
1550a653ba Greatly extend addon_info struct to store more information...
...about add-ons and teach it to read campaignd's WML responses

This will allow me later to get rid of some vectors that are passed
around a lot between the add-on management UI functions.

Additionally, the static format_file_size() function was moved from
addon/manager.cpp to addon/info.* because addon_info no longer stores
the add-on size display string and a GUI2 codepath needs it. I'm not
quite sure what this function's definitive home will be.
2012-02-22 17:23:48 +00:00
Alexander van Gessel
1aefaf6d3f Remove the last uses of 'queen mother',
...replacing some of them with the correct 'queen dowager'
2012-02-22 13:42:53 +01:00
Alexander van Gessel
86240506ed Dutch translation update 2012-02-22 13:42:49 +01:00
Alexander van Gessel
ca1ffecc9a Make the wmlxgettext workaround for feeding a bit less hacky 2012-02-22 02:45:45 +01:00
Alexander van Gessel
028fb2291a Allow # wmlxgettext: comments to influence wmlxgettext's tagstack 2012-02-22 02:45:41 +01:00
Alexander van Gessel
70fb146ca2 Remove the 'master password' feature from campaignd 2012-02-22 00:36:57 +01:00
Alexander van Gessel
51fc5d95a3 Make email field mandatory in PBL files 2012-02-22 00:36:52 +01:00
Mark de Wever
b6c2a60904 Allow to select the floating point emulation type.
Adds several helper macros and documentation.
2012-02-21 21:10:06 +00:00
Alexander van Gessel
e20c2548ca Make wmltrans inclusion from wmlxgettext work a little better 2012-02-21 18:51:08 +01:00
Lari Nieminen
dcafd0f16a Fixed LIMIT_CONTEMPORANEOUS_RECRUITS not handling side numbers >9 correctly. 2012-02-21 17:44:20 +00:00
Alexander van Gessel
f8879eeff1 Use ssh urls rather than git urls for wescamp checkouts 2012-02-21 12:54:03 +01:00
Steven Panek
a3e39f7d2b Updated the Finnish translation. 2012-02-21 01:18:48 +00:00
Steven Panek
02d09267c5 Updated the Finnish translation. 2012-02-21 01:11:36 +00:00
Elias Pschernig
3bd7c7ee1f [wmlunits] Create animation statistics again.
Sort unit tree overviews differently.
2012-02-20 22:38:55 +00:00
Nils Kneuper
f58bb14cc4 updated French and Galician translation 2012-02-20 21:19:09 +00:00
Anonymissimus
270ed97c2c VC9 projectfile update 2012-02-20 19:30:40 +00:00
Anonymissimus
f8563468ac mute some MSVC warnings 2012-02-20 19:30:21 +00:00
Steven Panek
89bef2a386 Updated the Ukrainian translation. 2012-02-20 18:25:03 +00:00
Nils Kneuper
7ed6707691 updated German and Hungarian translation 2012-02-20 13:12:40 +00:00
Sergey Popov
40aa619d28 Fixed scons build on fedora
at least one of sources must be not in a helper lib to ensure that g++,
not gcc is used when linking.
2012-02-20 09:52:51 +00:00
Steven Panek
af79721fbf Made key spacing consistent. 2012-02-20 06:32:38 +00:00
Steven Panek
b1077bacfc Tabs to spaces; made spacing consistent. 2012-02-20 05:45:17 +00:00
Steven Panek
eeeb934386 Committed initial work for the Ukrainian translation. 2012-02-20 05:41:45 +00:00
Sergey Popov
a35f16c069 Move game.cpp into common list of sources in scons.
since there's no need to override a setting for it anymore.
2012-02-19 20:40:10 +00:00
Ignacio R. Morelle
20bcf49f3e Remove custom pool memory allocator per wesnoth-dev mailing list discussion
This affects the cmake and scons scripts, and various project files in
projectfiles/. I have only tested my changes to scons (and loonycyborg
might still want to review the diff regarding a line in src/SConscript
involving game.cpp).
2012-02-19 18:43:20 +00:00
Elias Pschernig
5f79fb5439 [wmlunits] Don't display a bogus "rails" movement cost. 2012-02-19 16:53:44 +00:00
Elias Pschernig
b540995651 [wesnoth_addon_manager] Cache info about addon dependencies...
...from the .pbl file locally (so e.g. wmlunits can use it more easily).
2012-02-19 16:42:49 +00:00