Commit Graph

31942 Commits

Author SHA1 Message Date
Nils Kneuper
853ef41723 typo fixes, thanks stikonas 2009-03-24 20:57:20 +00:00
Lari Nieminen
59bf6d7c5b Fixed bug #13255. Also reordered the events a bit...
...and changed the facing of the reinforcements.
2009-03-24 20:45:14 +00:00
Alexander van Gessel
b334e64991 Remove the ~units, ~multiplayer and ~ais directories. 2009-03-24 21:29:23 +01:00
Guillaume Melquiond
c95b23cd1f Added a "lua" log domain. 2009-03-24 20:01:07 +00:00
Guillaume Melquiond
ed5bb8ffde Added Lua check to test scenario. 2009-03-24 19:35:42 +00:00
Alexander van Gessel
4a09530620 Ran optipng on data/core/images.
Original size: 4491 KiB on 424 files
 Optimized size: 4313 KiB
   Total saving: 178 KiB = 3% decrease
2009-03-24 17:57:22 +01:00
Lari Nieminen
e33186b01b Fixed two off-by-1px tiles. 2009-03-24 14:54:57 +00:00
Lari Nieminen
3c80b6bcc1 Fixed a very slightly glitchy shadow. 2009-03-24 14:53:53 +00:00
Lari Nieminen
5a55c8dcb5 Made the little keep-to-castle doors show up on all keep tiles...
...north of a castle tile.
2009-03-24 14:51:08 +00:00
Nils Kneuper
17157daedd port over 2009-03-24T14:18:45Z!crazy-ivanovic@gmx.net from branches/1.6,
...commit message was: add the searching for sendfile/round to the
cmake recipe now a file for the defines is created automatically...
2009-03-24 14:28:52 +00:00
Sergey Popov
758d64adf5 Clarified message in lua check. 2009-03-24 14:05:11 +00:00
Pauli Nieminen
7f6ac6ca77 Fixed compilation with -D_GLIBCXX_PARALLEL 2009-03-24 12:58:14 +00:00
Ignacio R. Morelle
171d175701 Be pedantic about image function usage and complain...
...when we find an unknown one in a path.

We are considering Mordante's ~RIGHT() as a special no-op function for
now. Meh...
2009-03-24 12:21:03 +00:00
Ignacio R. Morelle
e2a4b2f23e Clarify C++ documentation of the ~RC() image functor's primitive. 2009-03-24 12:20:38 +00:00
Ignacio R. Morelle
bf42c068e9 [switch] and its children, [else] and [case],
...may be used in story WML ([story]) from now on.

Fulfills FR / bug #13170.

Silene or Sapient may want to check the usage of
vconfig::all_children_iterator in this commit, however.
2009-03-24 12:20:22 +00:00
Ignacio R. Morelle
89ce94ce96 Writing through the lg::wml log domain isn't equivalent to putting stuff...
...at the end of the lg::wml_error stringstream... why label a commit
like part of a different refactoring task if it also has these
unrelated side-effects?
2009-03-24 12:19:57 +00:00
Ignacio R. Morelle
61fb097e5d Partial refactoring of music and sound effects component.
The music_track struct has been rewritten (and "promoted" to class) and
music caching behavior in Wesnoth has changed a bit. This should not
noticeably affect performance or be visible to users in other ways (if
it is, we've got regressions).

There's a hidden, disarmed core bomb in this commit. Can you find it?

Formerly, the engine resolved binary paths to music files whenever it
hit one in the playlist. Now it resolves the binary path when
loading/editing the playlist, reducing the time it takes to play a new
track by an insignificant amount of time. It will also consider a
data/add-ons/foo/music/track1.ogg as a different file to
data/core/music/track1.ogg as far as the music cache is concerned, since
it now stores entries by real paths rather than just filenames.
2009-03-24 12:19:40 +00:00
Sergey Popov
656d6a0016 Committed McShark's projectfiles update
Added Support for Lua, added folder structure to Dev-Cpp project file.
2009-03-24 11:17:00 +00:00
Nils Kneuper
88569c1abf updated Chinese (Simplified) and Slovak translation 2009-03-24 11:05:25 +00:00
Alexander van Gessel
9533c2729a Ran optipng on data/campaigns.
Original size: 109 KiB on 329 files
 Optimized size: 997 KiB
   Total saving: 42 KiB = 4% decrease
2009-03-24 03:40:45 +01:00
Alexander van Gessel
e888c87318 Ran optipng on /images
Original size: 45 KiB on 19 files
 Optimized size: 39 KiB
   Total saving: 5 KiB = 13% decrease
2009-03-24 01:54:08 +01:00
Alexander van Gessel
1d11383a71 Ran set-properties on data/multiplayer. 2009-03-24 01:39:37 +01:00
Tomasz Śniatowski
cf2fa93f64 Avoid a use of foreach where the container is a rvalue...
...(from utils::split) by using a local var to hold the value, since
apparently it can break on some compilers (sunpro) and such constructs
seem to not be used elsewhere in the code.
2009-03-23 23:54:27 +01:00
Lari Nieminen
c218d154e8 Fixed the scenario not ending when stepping on the signpost. 2009-03-23 20:32:49 +00:00
Lari Nieminen
0a421e126a Removed the custom XP limits from the villager units,
...since otherwise they can end up with more than max XP after the
outlaw transformation (and triggering advancements in that situation
would be somewhat strange).
2009-03-23 19:09:29 +00:00
Jérémy Rosen
b8f0ffe14f preemptive handling of null pointers in FAI, patch by Crab (patch 1136) 2009-03-23 19:04:12 +00:00
Ignacio R. Morelle
e567766a97 Convert DOS (CRLF) line endings into Unix ones (LF) using wmllint. 2009-03-23 17:07:37 +00:00
George Birthisel
df8914e764 bug #13247: fixed typo where MP map "Wilderlands"...
...was listed as 4 player rather than 5.
2009-03-23 14:53:36 +00:00
Ignacio R. Morelle
0e5adf7b9c The add-ons directory, <preferences>/data/campaigns,
...has been renamed to <preferences>/data/add-ons in order to better
reflect its current purpose: holding not only singleplayer campaigns,
but also any other kinds of single or multiplayer add-ons.

(Per mailing list thread,
https://mail.gna.org/public/wesnoth-dev/2009-03/msg00068.html).
2009-03-23 13:27:13 +00:00
Sergey Popov
762ae57dc2 Check for lua only if it's enabled. 2009-03-23 09:39:17 +00:00
Patrick Parker
87f6ee5332 removed an annoying event 2009-03-23 03:32:41 +00:00
Patrick Parker
996c16d2e8 add a DISABLE_LUA compile option 2009-03-23 03:26:17 +00:00
Sergey Popov
e94dcecf17 Added a custom check for lua. 2009-03-23 01:26:52 +00:00
Ali El Gariani
22f78e8e08 Fix another small typo in 2009-03-21T10:38:32Z!jeremy.rosen@enst-bretagne.fr.
Must be added to patch #1134 for 1.6.1
2009-03-22 23:28:02 +00:00
Sergey Popov
36b0a414be Refactoring. 2009-03-22 22:31:40 +00:00
Patrick Parker
b68c554023 fix awkward/nonstandard ConditionalWML spotted by silene - much more exists 2009-03-22 22:01:55 +00:00
Phil Barber
344afa14a3 Add and wire Girgistan and LordBob's Orcish Grunt portrait,
...update changelogs, portrait credits.
2009-03-22 21:50:05 +00:00
Alexander van Gessel
b37dfac76c Fix the 'wiseguy' event in the tutorial. 2009-03-22 22:49:27 +01:00
Mark de Wever
3f091cd5a3 Mention lua in INSTALL. 2009-03-22 21:31:03 +00:00
Mark de Wever
086ef11537 Add lua support for cmake. 2009-03-22 21:30:53 +00:00
Sergey Popov
738ddee7b9 Made pkgconfig check add '' around package's name
to relieve check's caller from this responsibility.
2009-03-22 19:53:11 +00:00
Sergey Popov
afa0a16dd6 Added support for lua to scons. 2009-03-22 19:34:20 +00:00
Guillaume Melquiond
e24d85c5d9 Passed event arguments by complete table and added the "args" tag to it. 2009-03-22 19:00:11 +00:00
Guillaume Melquiond
8a20afcc2f Added Lua helper file. 2009-03-22 19:00:01 +00:00
Guillaume Melquiond
abd79952fe Made the Lua kernel reentrant by storing the error handler in the registry. 2009-03-22 18:59:55 +00:00
Guillaume Melquiond
036c3f787f Added copyright. 2009-03-22 18:59:49 +00:00
Guillaume Melquiond
7d1e50a067 Fixed reporting on syntax error. 2009-03-22 18:59:44 +00:00
Guillaume Melquiond
e6434493a3 Removed arbitrary access to Lua files. 2009-03-22 18:59:38 +00:00
Guillaume Melquiond
13c26a3fb9 Added a boolean parameter to wesnoth.get_variable for faster queries. 2009-03-22 18:59:33 +00:00
Guillaume Melquiond
6d77de5bd3 Ensured that config objects created by Lua are handled...
...by the vconfig cache system, so that they are not deleted prematurely.
2009-03-22 18:59:27 +00:00