41838 Commits

Author SHA1 Message Date
Gabriel Morin
1179fbbca3 Whiteboard: add more conditions to block whiteboard activation...
...at critical moments.
2010-08-09 20:40:33 +00:00
J.W. Bjerk
fef4c4ce16 fixed glitch with castle-to-water transition. 2010-08-09 20:02:51 +00:00
Guillaume Melquiond
6a6b4ec39d Optimized unit type creation by:
- delaying male and female creation until they are actually needed,

- removing their private config object.

As a side effect, it considerably reduces the memory usage of unit types.
2010-08-09 19:57:41 +00:00
Guillaume Melquiond
c36ced6467 Reduced amount of copying needed for handling unit types with a base. 2010-08-09 19:57:38 +00:00
Guillaume Melquiond
8373a90e87 Optimized config handling by comparing pointers...
...instead of strings when visiting the ordered children.
2010-08-09 19:57:31 +00:00
Fabian Müller
a6c7fd0387 LoW:
Made the event that let Kalenz moan about lossing loyals being repeatable.

Updated the winter_mask map macro to cover the new terrains.

Some map and mask updates.
2010-08-09 19:11:12 +00:00
J.W. Bjerk
df0bc74c00 removed Manuel Osório Binelo (manuelb) from the credits...
...per his request on the forums. 

http://www.wesnoth.org/forum/viewtopic.php?f=10&t=31089
2010-08-09 18:03:59 +00:00
Guillaume Melquiond
0a996b70d5 Added function for splicing children between config objects.
This speeds up configuration loading by 50%.
2010-08-09 15:57:32 +00:00
Timotei Dolean
985285e8dc eclipse plugin: add proper code for showing wml macro definition code 2010-08-09 14:20:22 +00:00
Timotei Dolean
de8cf79285 eclipse plugin: check for null URI when comparing 2 editor inputs 2010-08-09 14:20:08 +00:00
Timotei Dolean
076bd7d8b0 eclipse plugin: skip reading characters if we didn't parse a tag yet 2010-08-09 14:19:54 +00:00
Timotei Dolean
7569a1f517 eclipse plugin: add wmldoc for macros 2010-08-09 14:19:41 +00:00
Timotei Dolean
f4b0914010 eclipse plugin: use 'JavaSE-1.6' execution environment 2010-08-09 14:19:26 +00:00
Guillaume Melquiond
7ff1703a54 Fixed server chocking on unquoted attributes. 2010-08-09 12:33:21 +00:00
Guillaume Melquiond
f472a7d67a Fixed segfault when using up and down keys.
Fixed keys not making it possible to go to the tip buttons.

Fixed useless and missing translatable strings.
2010-08-09 10:43:04 +00:00
Guillaume Melquiond
26b393eaed Changed meaning of spaces in WML.
They are no longer significant, unless they are quoted or between two words.
2010-08-09 09:54:53 +00:00
Guillaume Melquiond
4ecf20cf9d Avoided creation of temporary animations. 2010-08-09 09:03:03 +00:00
Lari Nieminen
6445d77a0f Made Malin not taunt an orc if it fell through the ice. 2010-08-09 08:27:22 +00:00
Guillaume Melquiond
abe279f034 Merged precedence into building rules,
...so as to avoid a useless copy/destruction at insertion time.
2010-08-09 06:39:49 +00:00
Ali El Gariani
dac5b09e14 Rename image::TYPE to something less misleading.
SCALED_TO_HEX is now just that, use TOD_COLORED to get ToD coloring.
2010-08-09 04:05:43 +00:00
Ali El Gariani
938cd8db3a small readability improvements 2010-08-09 04:05:37 +00:00
Jody Northup
d46d50ff74 Marked liblua as a dependency for wesnoth project. 2010-08-09 02:08:55 +00:00
Fabian Müller
f7ce124b9a LoW updates.
Mostly new music playlists.

Some start positions corrected.

Recruit lists updated.
2010-08-09 00:19:03 +00:00
Ali El Gariani
caa9c97bf4 fix incomplete macro rename 2010-08-09 00:06:30 +00:00
Fabian Müller
ade3834a21 Commited "Silvan Sanctuary" a new elven themed piece of music...
...for the soundtrack.
2010-08-08 23:37:14 +00:00
Guillaume Melquiond
5049fdf19a Performed all the substitution of rotation tokens (@R0-5) in one single pass.
This patch speeds up the creation of terrain rules by 40%.
2010-08-08 21:05:23 +00:00
Guillaume Melquiond
8d40b87f89 Avoided conversion of attribute values to translatable strings.
Optimized string escaping.

Fixed strange indentation of embedded textdomain changes.

Reduced amount of useless quotes and spaces.

This patch brings the time needed for outputting the cache for the
test scenario from 17% of the total time down to negligible.
2010-08-08 20:03:36 +00:00
Fabian Müller
4f202af473 LoW: Bug fixes. Mostly missing macros and wrong names in macro calls. 2010-08-08 19:56:51 +00:00
Fabian Müller
64f443bb8b LoW: Map updates (new terrain tiles set in use).
Orcs got their own flags.
2010-08-08 19:50:58 +00:00
Fabian Müller
db2532b59c Updated the database of the wesnoth emacs mode. 2010-08-08 19:41:52 +00:00
Phil Barber
dcfeae604a Update to new Drake Fighter portrait.
Update changelogs, portrait credits.
2010-08-08 18:54:07 +00:00
Ali El Gariani
30c52fc7c5 Safer window-icon handling.
Kill set_wm_icon function, since SDL_WM_SetIcon can be called safely
only at one place. Clearly hardcode the image's url instead of
pretending that we use game_config. Rename the image to
"game-icon.png" (since you are forced to use it).
2010-08-08 18:33:48 +00:00
Ali El Gariani
8bc5a68a70 Fix an include path 2010-08-08 18:33:40 +00:00
Ali El Gariani
112ecf8dde Temporarily revert 2010-08-04T03:22:04Z!alinkmaze@gmail.com...
...and only use the hardcoded application icon

(SDL_WM_SetIcon weirdly segfault)
2010-08-08 17:59:01 +00:00
Guillaume Melquiond
697ea7252c Removed unused header. 2010-08-08 17:22:54 +00:00
Guillaume Melquiond
efbd8cc702 Fixed header dependencies. 2010-08-08 17:22:50 +00:00
Guillaume Melquiond
ea5b2445e6 Fixed t_string delegating to the improper copy constructor,
...the really slow one.
2010-08-08 16:46:56 +00:00
Guillaume Melquiond
4be292c05e Added rule for generating assembly files. 2010-08-08 16:46:52 +00:00
Guillaume Melquiond
dc4b3bb2ef Sped up child lookup by converting the value argument only once.
Avoided using a translatable string argument since it was stored as
plain string anyway.
2010-08-08 15:33:27 +00:00
Guillaume Melquiond
d4d9145fb9 Avoided querying twice the same attributes. 2010-08-08 13:30:12 +00:00
Jody Northup
96a57795e9 woops, forgot a ; in 2010-08-08T11:13:43Z!upthorn@gmail.com 2010-08-08 11:44:25 +00:00
Jody Northup
c18c39cb66 replaced other instances of turn_data_ initialization...
...with calls to helper function for that purpose.
2010-08-08 11:13:43 +00:00
Jody Northup
b2114d1ea1 correct segfault if [end_turn] is fired...
...(or playmp_controller::after_human_turn() is reached by any means)
before turn_data_ is initialized.
2010-08-08 10:59:03 +00:00
Lari Nieminen
8a176cf158 Fixed broken image paths in terrain help. 2010-08-08 10:58:55 +00:00
Lari Nieminen
3b4efcf529 Added missing human-city-tile.png. 2010-08-08 10:41:35 +00:00
Guillaume Melquiond
c371ad89b0 Avoided creating temporary translatable strings for plain ones.
This speeds up parsing by 50%.
2010-08-08 10:32:09 +00:00
Guillaume Melquiond
52eebbefa1 Optimized further the building of rotated rules.
This brings the speed up of the previous commits up to 90%.
2010-08-08 09:33:41 +00:00
Guillaume Melquiond
b069193054 Optimized further the building of rotated rules.
This brings the speed up of the previous commit up to 70%.
2010-08-08 09:16:54 +00:00
Lari Nieminen
e3ec2ed503 Added a reminder note to also change the hardcoded default...
...multiplayer objectives if the [objectives] text formatting gets changed.
2010-08-08 09:16:33 +00:00
Lari Nieminen
804b9dfb2d Prefixed the default MP objectives with a bullet. 2010-08-08 09:13:21 +00:00