Commit Graph

23999 Commits

Author SHA1 Message Date
Eric S. Raymond
10862711e4 Collect all unit data in a single object so we can resolve basenames. 2008-03-31 15:07:31 +00:00
Eric S. Raymond
63bd89d392 Report generator doesn't need to be part of the UnitList object. 2008-03-31 14:45:47 +00:00
Eric S. Raymond
801c1409e6 Parsing is now correctly separated from report generation. 2008-03-31 14:25:49 +00:00
Eric S. Raymond
9e0c7d7e84 wmlunits now uses the textdomain information...
...included in each parsed unit item.
2008-03-31 14:12:14 +00:00
Eric S. Raymond
2d862f5646 Begin to separate unit parsing from report generation. 2008-03-31 13:35:23 +00:00
Sergey Popov
f0eba50d9f scons recipe: added pot-update target.
For now updates only messages from C++ files.
2008-03-31 13:28:15 +00:00
Eric S. Raymond
c6fca2eb00 Translation class is generally useful, so put it in the tools library. 2008-03-31 13:11:59 +00:00
Eric S. Raymond
515c68ce4c Two changes to wmlparser:
1) All data items collected by the parse now carry information about
   the text domain that was active when they were parsed.

2) Parser no longer ignores all #textdomain declarations other than
   'wesnoth'.

Note: the second change is potentially not backwards-compatible,
depending on how the parser client uses the data.
2008-03-31 12:58:26 +00:00
Eric S. Raymond
513921c01c Define a function for popping to the top-level dist directory. 2008-03-31 11:17:00 +00:00
Eric S. Raymond
b1a9d29509 Translation language can now be specified with a switch. 2008-03-31 11:05:04 +00:00
Eric S. Raymond
1c0660550a Factor out translation processing. 2008-03-31 10:39:59 +00:00
Nils Kneuper
1410242f23 updated Polish translation 2008-03-31 10:34:07 +00:00
Eric S. Raymond
1753e856fb Start of wmlunits refactoring. 2008-03-31 09:58:49 +00:00
Sergey Popov
bd95e29145 scons recipe: fixed logic error in InstallFilteredHook...
...that caused it to resize images even if tinygui is disabled.
2008-03-31 09:48:57 +00:00
Eric S. Raymond
71d85e4c00 Added elias's unit lister to the data/tools directory. 2008-03-31 09:45:54 +00:00
Douglas Hains
1f3d47c2de Two main changes:
* Exposed terrain information to FormulaAI, accessible by map.terrain

* Added function nearest_loc, takes a loc and list of locs and returns
the closest Added example in scenario-formula.cfg demonstrating new
features by implementing requested 'woodchopper' feature
2008-03-31 09:10:15 +00:00
Richard Kettering
f5dc09e4d0 Major upgrade to the berzerker's animations. 2008-03-31 00:13:53 +00:00
Richard Kettering
e696cdef2a Major upgrade to the berzerker's animations. 2008-03-31 00:06:26 +00:00
Eric S. Raymond
b51b7122a2 Add some clarifying comments. 2008-03-30 23:22:45 +00:00
Eric S. Raymond
2e24714b75 Install and uninstall the manual. 2008-03-30 23:21:58 +00:00
Eric S. Raymond
017b28a313 Add an nls option,
...defaulting to True but flipped to false if gmsgfmt is not in the
executables path.
2008-03-30 22:43:10 +00:00
Benoît Timbert
296dedf833 French translation update 2008-03-30 22:26:27 +00:00
Sergey Popov
505c03b18b Made scons recipe invoke msgfmt instead of gmsgfmt. 2008-03-30 22:13:56 +00:00
Jörg Hinrichs
ce8f0b4a78 A better fix for the unit_type problems.
Unlike the last one it does not break help and also fixes creating
units in debug mode.
2008-03-30 21:57:29 +00:00
Eric S. Raymond
754f9fc5db Fix bad indent. 2008-03-30 21:43:35 +00:00
Benoît Timbert
b4468ec0f8 French translation update (fix bugs #11400 & #11401 (thanks dmg)) 2008-03-30 21:42:35 +00:00
Eric S. Raymond
9a0cb246a1 Guard the catalog combination so install won't blow up igf gmsgfmt is missing. 2008-03-30 21:42:16 +00:00
Jérémy Rosen
71a3a1b794 add new distance functions to formula AI, patch 1033 by Alesis Novik 2008-03-30 21:13:49 +00:00
Eric S. Raymond
f0715e3215 Comments and rearrangement. 2008-03-30 21:06:25 +00:00
Martin Renold
5c9c648d86 do not send the full gamelist when not neccessary 2008-03-30 20:49:48 +00:00
Jérémy Rosen
61e0cc38b3 add a history to all in-game commands, patch 1034 by rujasu 2008-03-30 20:37:54 +00:00
Jörg Hinrichs
7518b3b5ba Fixes an "unknown unit type" error 2008-03-30 20:19:47 +00:00
Martin Renold
059f6e9929 fix gamelist being sent to the kicked/banned player 2008-03-30 19:43:02 +00:00
Sergey Popov
228d43c152 Made scons recipe uninstall man pages during "scons uninstall". 2008-03-30 19:14:12 +00:00
David White
9cd66a8cae added 'netstats' query command to wesnothd...
...to query for current network transfer info
2008-03-30 18:02:36 +00:00
Jörg Hinrichs
ede8e6e41d Fixes the load game dialog crashing,
...that triggered an assert because of saves with another era than the
currently loaded (might need some more fixing, though, since the unit
images are not loaded yet).
2008-03-30 15:59:25 +00:00
Sergey Popov
23b3e6dda3 scons recipe: added targets to compile binary message catalogs(.mo files). 2008-03-30 15:47:53 +00:00
Elias Pschernig
96f01a0cea Made the python AI compile again after the unit_type_data::instance() change,
...and also added the wesnoth.log() function to the Python AI which I
still had uncommitted in my local copy for some reason.
2008-03-30 15:39:05 +00:00
David White
05269b2255 better handling of history in wesnothd 2008-03-30 15:01:12 +00:00
Lari Nieminen
d41bdd52d0 Music overhaul for AOI. 2008-03-30 14:37:15 +00:00
Jörg Hinrichs
95bf75315f Lazy loading for unit_types Step 2:
Rename game_data to unit_type_data and make it a singleton to prevent
passing the same instance throughout the whole code and make
subsequent optimization less painful.
2008-03-30 13:49:03 +00:00
Ali El Gariani
e2e8f08cdb Remove an intermediate step for drawing hp/xp bars.
(directly draw on the surface, instead of drawing on a buffer before
blit it) This is a little optimization (but probably irrelevant for
this few pixels) but also eliminate special SDL calls (per-surface
alpha value), and thus maybe fix the hp bar bug with fullscreen toggle
on windows
2008-03-30 13:43:44 +00:00
Nils Kneuper
f947075949 updated German translation 2008-03-30 13:28:07 +00:00
Eric S. Raymond
7acf88b50b Another small refactoring step. 2008-03-30 12:41:42 +00:00
Eric S. Raymond
dbda831dfa Refactor client-side installation slightly. 2008-03-30 12:33:49 +00:00
Eric S. Raymond
1b5425ede7 Installation of localized manual pages for server side. 2008-03-30 12:31:47 +00:00
Jérémy Rosen
8bb943bd0d Add new command line options, change by lao 2008-03-30 12:31:02 +00:00
Sergey Popov
9eda403fa5 Alias install localized manpages to "install-clientside"...
...instead of "install" in scons recipe.
2008-03-30 12:28:34 +00:00
Nils Kneuper
cd94999c73 run utils/wesnoth-optipng
*** Total saved: 64 KB on 51 files
2008-03-30 12:28:10 +00:00
Sergey Popov
980e610fe4 Made "scons install" install localized man pages. 2008-03-30 12:05:16 +00:00