54151 Commits

Author SHA1 Message Date
Ignacio R. Morelle
005dfdd227 gui: Update/remove @todo comment 2013-11-08 06:08:09 -03:00
Ignacio R. Morelle
d28d629981 gui: Make screenshot notification dialog title use Title Case 2013-11-08 05:25:27 -03:00
Alarantalara
caa6d0f0d8 Restore a lost line of dialog with trolls
Ids assigned to units were bad. Using default ids where possible and
making a troll shaman have an id that matches the dialog's requested id
restores the missing lines.
2013-11-07 23:56:32 -05:00
Alarantalara
455792a5ac Remove some missed AI keys from earlier round
Apparently actually saving files is a good idea
2013-11-07 23:17:19 -05:00
gfgtdf
9e7ac8b50e fixing a bug that casued wesnoth to forget default wml hotkeys. 2013-11-08 04:00:59 +01:00
gfgtdf
2fc2f875e7 add me to about.cfg 2013-11-08 00:47:29 +01:00
Andrius Silinskas
51299adce0 Use "random_leader" only when resolving random.
Fixes bug #21218.
2013-11-07 20:34:10 +00:00
Alarantalara
d27769dcac Remove obsolete AI keys from UtBS:8
Missed file in previous commit
2013-11-06 23:16:30 -05:00
Alarantalara
3567d63852 UtBS: Remove obsolete ai keys 2013-11-06 23:10:38 -05:00
Alarantalara
27cd8e6cf8 Simplify filters excluding dust devils and flesh golems 2013-11-06 22:32:27 -05:00
Boldizsár Lipka
67aa875874 Era descriptions. 2013-11-06 22:37:32 +01:00
Boldizsár Lipka
614f088d8a Make a user-exposed string translatable. 2013-11-06 22:33:48 +01:00
Boldizsár Lipka
efda8c12c1 Merge two code blocks in process_event.
They're executed under the same conditions anyway.
2013-11-06 22:33:48 +01:00
Boldizsár Lipka
7944110e7b Remove the tooltip from the minimap. 2013-11-06 22:33:48 +01:00
Boldizsár Lipka
47c0673e95 "Select game type:" -> "Game type:" 2013-11-06 22:33:48 +01:00
Boldizsár Lipka
2ad8a866c4 "Load game" -> "Load Game" 2013-11-06 22:33:48 +01:00
Alexander van Gessel
5786753341 Fix faction->unit links for units with variations 2013-11-05 18:34:55 +01:00
Alexander van Gessel
8ec7ccadce Merge branch 'master' of github.com:wesnoth/wesnoth-old 2013-11-05 15:23:53 +01:00
Alexander van Gessel
7feeeb33c4 Fix advance references to units that have variations
Reported by bumbadadabum
2013-11-05 15:23:04 +01:00
Alexander van Gessel
2b61f2a897 Make all help links use make_link(), instead of rolling their own 2013-11-05 15:17:52 +01:00
Boldizsár Lipka
8bba663083 If there are no mods, indicate that in the appropriate label. 2013-11-05 09:54:59 +01:00
Boldizsár Lipka
bc385841a0 Don't display the "Activate" button if there are no mods. 2013-11-05 09:54:59 +01:00
Boldizsár Lipka
c87525b858 Don't assume that move_selection(0) is always successful.
It will fail if the list is empty. Fixes bug #21252
2013-11-05 09:54:59 +01:00
Alexander van Gessel
3fc5473b39 Drop mininum number of autosaves back down to 0 2013-11-04 05:09:53 +01:00
JaMiT
aeabe9b1db Code simplification made possible by previous commit. 2013-11-03 01:06:14 -05:00
JaMiT
3a78062d3e Event handler buffering is no longer needed.
Fixes bug #18713.
2013-11-03 01:06:14 -05:00
JaMiT
21ae9bb837 Move some initializations outside a loop.
The old way made sense with the old loop structure, but with the
new implementation, this way is just as easy and may be easier to
parse by people looking at this file for the first time.
2013-11-03 01:06:14 -05:00
JaMiT
bfe219f945 A new interface for iterating over events of a given name.
This is part of an attempt to black-box the storage of event handlers.
2013-11-03 01:06:14 -05:00
JaMiT
b6efc625e4 Disable event handlers by removing them.
One benefit is that fewer places in the code need to remember to
check for the handler being disabled. There should also be reduced
memory consumption after playing for a while.
2013-11-03 01:06:14 -05:00
JaMiT
9732a77cf4 Remove handlers by pointer resets instead of erasing vector elements.
This eliminates erasing from active_, which will be useful for the
next few commits.
2013-11-03 01:06:13 -05:00
JaMiT
a61be4389e Support null pointers in handler_vec.
I'll get to introducing those null pointers soon enough.
This is more prep work. The null_handler is a temporary measure
so the intermediary commits don't blow up.
2013-11-03 01:06:13 -05:00
JaMiT
cb7cedabf1 Ignore disabled handlers when checking for existing ids and logging.
Before this update, you could have a one-time-only event with an id
fire, then attempt to add another event with that same id. Whether
or not the second event would stick depended on whether or not the
game was saved and reloaded between the first event firing and the
second event being added.
2013-11-03 01:06:13 -05:00
JaMiT
9637affb00 Change the vector of event handlers to be of pointers.
This is the first of a set of changes intended to improve event
handling. (This change by itself is not beneficial.)
2013-11-03 01:06:13 -05:00
JaMiT
4c40d172d5 Convert game_events::manager from struct to class. 2013-11-03 01:06:13 -05:00
JaMiT
8394f3ae0f Restore support for negative healing.
The 1.10 implementation did not rule this out, so I've (finally)
tried to restore what 1.10 allowed, with slightly better accounting
of multiple sources of negative healing. I don't know if this is
the best thing to do, but some UMC authors wanted it back. (They
did not want it enough to answer my questions about it, though.)
2013-11-03 01:06:12 -05:00
mattsc
c0ee2c8e87 Add wmllint spelling exceptions for files in data/ai/ 2013-11-02 20:20:10 -07:00
Espreon
20e1f5bd2f Updated the Spanish translation credits. 2013-11-02 21:38:45 -04:00
mattsc
d1d18146f1 Revert previous commit and add wmllint spellcheck exception 2013-11-02 17:59:31 -07:00
mattsc
fae77eec5a Change Micro AI engine macro deprecation message string
... so that wmllint won't complain about the spelling of the macro name
macro MACRO_NAME.
2013-11-02 17:47:10 -07:00
Boldizsár Lipka
87a9d7f3fb Use checkbox images for highlighting selected mods. 2013-11-02 15:49:25 +01:00
Boldizsár Lipka
17dec8499c Change the "Activate" button to "Deactivate" when the selected mod is
enabled.
2013-11-02 15:49:25 +01:00
mattsc
85f16414ea Remove Micro AI engine macros from two scenarios
Engine definitions are not needed any more after the recent changes to
the Micro AIs.  Things still work with these macros included, but a
deprecation message appears.
2013-11-02 06:15:29 -07:00
mattsc
a2d8a653d2 Update changelog 2013-11-01 17:14:29 -07:00
mattsc
b340188038 Hunter MAI [micro_ai] tag: add optional [filter] tag 2013-11-01 17:13:06 -07:00
mattsc
08a722e248 All Guardian MAI [micro_ai] tags: add optional [filter] tag 2013-11-01 17:13:05 -07:00
mattsc
0670630ff9 Patrol MAI [micro_ai] tag: add optional [filter] tag 2013-11-01 17:13:05 -07:00
Alexander van Gessel
f66e2b1763 Merge pull request #79 from gfgtdf/msvc-fixes
adding a \n at the end of compresses config files to prevent creating corrupted files.
2013-11-01 12:21:32 -07:00
mattsc
5666e3c566 Update changelog with AI changes 2013-11-01 12:14:06 -07:00
mattsc
cb2a22acd4 ExpAI move_to_enemy CA: fix file path
Had accidentally copied over the AI-demos path.
2013-11-01 09:44:45 -07:00
mattsc
c214c12611 ExpAI: add retreating and village hunting CAs 2013-11-01 09:36:26 -07:00