Commit Graph

118 Commits

Author SHA1 Message Date
Espreon
3f20785d02 Split all of the AI-related strings (except for the AI controller's) into a new 'wesnoth-ai' textdomain. Includes a pot-update for 'wesnoth' as a side effect. 2013-05-22 22:19:43 -04:00
Matthias Schoeck
b138e47184 Introduce 18 different Micro AIs.
This includes the [micro_ai] tag, the code for the Micro AI engines
and 14 test scenarios.  Full documentation at
http://wiki.wesnoth.org/Micro_AIs
2012-12-29 20:05:55 +00:00
Simon Forsyth
3d205a4b57 Move test/set for NO_TERRAIN_GRAPHICS...
...before loading core since core/_main.cfg cares if it is set
2012-12-13 03:14:13 +00:00
Dmitry Kovalenko
b207a1b1ca LuaAI: the need to define an engine is now deprecated.
All CAs can be store in external .lua files. If the scenario config
lacks an [engine] tag for the Lua AI engine, but still tries to use CA
with engine=lua, a dummy engine will be automatically generated,
providing the needed functionality
2012-06-12 12:36:06 +00:00
Silas Brill
666946a384 Add enter_hex and exit_hex events
Replaces patch #3186 (movethrough event)
Completes bug #8166 (feature request for moveover event)

Besides adding the new events, this patch changes fog clearing and
sighted events to occur during movement instead of at the start and
end of movement, respectively.
2012-05-01 04:00:58 +00:00
Alexander van Gessel
532ff83ef2 Un-hardwire the [language] block in data/hardwired/english.cfg.
Move the file out of that dir
2010-12-27 11:27:15 +01:00
Nils Kneuper
bc1d7ec1a5 create textdomain wesnoth-help (part3)
load the textdomain ingame

change the textdomain for some relevant files
2010-12-22 11:36:22 +00:00
Steven Panek
ffe86ab2f0 Corrected a grammatical error. 2010-11-22 17:47:58 +00:00
Fabian Müller
22de76b664 Reverted the exclusion of scenarios if multiplayer is loaded.
This had lead to the campaign list being empty when a player loads
multiplayer and enters the campaign menu again.
2010-09-02 10:00:25 +00:00
Fabian Müller
45525de0b4 Excluded the mainline campaigns from the multiplayer wml tree loading. 2010-08-31 23:08:12 +00:00
Ali El Gariani
0c59428b30 Disable terrain-graphics when NO_TERRAIN_GFX is defined.
Activated by TITLE_SCREEN (auto defined when starting title screen)
and now also by NO_GUI.
2010-07-29 20:21:37 +00:00
Ali El Gariani
2727c9d08a Rename MAIN_MENU as TITLE_SCREEN (as in source and also less ambiguous). 2010-07-25 01:34:33 +00:00
Ali El Gariani
3891da6a92 Show the main menu several times faster...
...by skipping terrain rules (useless there)

This also speed up the use of '--load'. Add a new define MAIN_MENU for
this.
2010-07-25 01:24:59 +00:00
Iurii Chernyi
f9b0fdb1f5 Lua AI: redesign, simplified usage, added lua_ai test scenario 2010-02-21 12:24:31 +00:00
Fabian Müller
cadf6854a6 Removed the reference to a deleted test scenario file. 2009-09-05 13:55:02 +00:00
Iurii Chernyi
717eca7428 new test scenario: move_to_targets, for AI improvement 2009-09-02 21:20:55 +00:00
Iurii Chernyi
09223f03cc new AI configuration syntax. Note: boost 1.35 required for compilation 2009-08-01 14:17:15 +00:00
Alexander van Gessel
f1f74fd609 Multiple-leaders fix:
...if the first leader you see isn't on a castle, check for others.
2009-07-20 03:21:44 +01:00
Alexander van Gessel
4ca5e565cf Move advanced_preferences to their own file. 2009-07-15 04:26:35 +01:00
Alexander van Gessel
008449f951 Apply patch #1192, fixing bug #13626.
(no option for save deletion confirmation)
2009-07-15 04:26:17 +01:00
Iurii Chernyi
5652b111c0 optional new-style AI configs...
...and generation of AI lists in multiplayer from files
2009-06-28 13:01:41 +00:00
Fabian Müller
235fb7af16 Added a test scenario for the lua interpreter. 2009-04-22 20:33:36 +00:00
Gunter Labes
7521ea90e3 only load the test scenarios when we're in test mode 2009-04-19 21:07:47 +00:00
Iurii Chernyi
52d15a17aa AI Arena - interactive AI testing framework 2009-03-31 13:49:34 +00:00
Jérémy Rosen
a81013ff9d added a very basic poison handling.
This is a proof of concept to be improved on. Patch by Velory
2009-03-27 15:49:22 +00:00
Nils Kneuper
3e42662bc0 really remove the python ai stuff (the advanded prefs option this time) 2009-02-23 22:35:02 +00:00
Tomasz Śniatowski
b9198d41ec Make the scroll behavior change from 2008-11-21T21:05:43Z!kailoran@gmail.com...
...(that fulfilled fr #12604) optional, changeable in advanced
preferences. Defaults to old behavior, fixing bug #13046.

New string added for the advanced preference.
2009-02-22 13:43:44 +01:00
Nils Kneuper
b3d391398a fix translations for ANL, now they even work ;) 2009-01-14 20:41:24 +00:00
Patrick Parker
c81ae6895b new advanced preference to choose whether middle-click scrolls...
...or warps (default=scrolls)
2009-01-05 04:47:48 +00:00
Tomasz Śniatowski
6652333b53 do not include the userdata campaigns folder in editor,
...seems to be included elsewhere already and causes duplicates. Bug
spotted by shadowmaster.
2008-11-24 20:47:02 +01:00
Tomasz Śniatowski
6022234caa Remove the old editor.
This includes removing sources, cfg files, editor targets in build
systems (scons was done already), and removing old-editor only parts
from several other files under data/ and src/. There probably are some
remains of the old editor left.
2008-10-04 12:24:35 +01:00
Pauli Nieminen
5d756ba985 Hacked play_scenario test code to work for formula ai testing 2008-09-05 09:59:17 +00:00
Tomasz Śniatowski
9c2ef7e9c5 editor2: initial step for making the editor able to use various map generators 2008-09-03 14:40:27 +01:00
Eric S. Raymond
318486ce4b Reindent most of the data tree in preparation for making wmlindent smarter. 2008-08-28 17:57:00 +00:00
Tomasz Śniatowski
ff98c91cc7 more data/_main.cfg cleanup, set proper defines in cpp...
...instead of juggling them with ifdef define
2008-08-17 12:47:21 +01:00
Tomasz Śniatowski
c3e7247dd3 data/_main.cfg cleanup 2008-08-17 12:33:05 +01:00
Tomasz Śniatowski
9ec71d467a editor2: set the EDITOR wml symbol so UMC can continue to use it.
Work around how the old editor used the EDITOR symbol
2008-08-12 19:28:39 +01:00
Ignacio R. Morelle
1373fa1a0f Removed stray attributes victory_music and defeat_music 2008-08-12 17:46:45 +00:00
Tomasz Śniatowski
a9362872b3 editor2: random map generate dialog stub, refresh image cache option 2008-08-04 13:36:59 +01:00
Ignacio R. Morelle
7e827b89f6 Engine automatically plays special music on defeat or victory;
default lists from which an option is randomly chosen at runtime are
provided as the default_victory_music and default_defeat_music
attributes in [game_config] node; this may be overriden per-scenario
using the victory_music and/or defeat_music attributes on its code -
it can also be overriden in a [endlevel] block by providing a music=
attribute with the desired list (feature request/bug #11203).
2008-07-27 17:59:46 +00:00
Mark de Wever
d59458c92d Set wensothd name for the APPLE platform. 2008-07-10 16:08:05 +00:00
Bartek Waresiak
fef17d467c New test scenario for formula recruitment testing,
...run with --test formula_recruitment
2008-07-04 21:31:08 +00:00
Pauli Nieminen
830ce474ea Added support for custom server binary naming to game_config 2008-06-27 14:46:41 +00:00
David White
28fefc0286 added new title screen images 2008-06-22 05:50:40 +00:00
Greg Copeland
6b4e207e37 The safe execution of python AIs can now be enabled/disabled...
...from the advanced preferences menu. By default, all python AIs are
executed under safe.py's full control.
2008-06-19 21:41:26 +00:00
Ignacio R. Morelle
c6233bb1e5 Allow titlescreen startup effect to be disabled in adv. preferences 2008-06-17 20:15:05 +00:00
Tomasz Śniatowski
d0d3550bc2 config loading for editor2 2008-06-12 08:08:07 +01:00
Moritz Göbelbecker
9631f90b96 Move terrain-graphics/_final.cfg to terrain-graphics.cfg...
...and include it after the campaigns.

This makes campaign specific terrains work without ugly workarounds.
2008-05-18 21:40:55 +00:00
Gunter Labes
02b5b6d2b7 update Sirp's email address 2008-05-16 11:56:29 +00:00
Nils Kneuper
4202d561ff update list of servers...
...(server3.wesnoth.org is now an alias of games.tuxfamily.org)
2008-05-15 23:00:48 +00:00