53257 Commits

Author SHA1 Message Date
JaMiT
0aa12434c8 Some more wrapper functions to aid the planned split of game_events. 2013-08-11 16:31:01 -05:00
JaMiT
82648577de Refactor manager_running as manager::running(). 2013-08-11 16:31:01 -05:00
JaMiT
0d80fcd26f Some wrapper functions to aid the planned split of game_events.?pp. 2013-08-11 16:31:01 -05:00
JaMiT
413a9e0be5 Some modularizations intended to ease splitting this file. 2013-08-11 16:31:01 -05:00
JaMiT
43a5110f1c Expand namespace game_events to cover everything in game_events.cpp.
The indentations are not pretty to keep whitespace changes from
clogging the diff. I'll prettify the formatting when I split this
file (which I plan to do soon).
2013-08-11 16:31:00 -05:00
JaMiT
cd47210f93 Expand the use of anonymous namespacing.
Several functions formerly declared "static" have had "static"
removed and placed inside an anonymous namespace (one exception:
for bool events_init(), "static" was changed to "inline" instead
of being dropped).

Several type definitions not needed outside game_events were moved
into anonymous namespaces.

The indentations are not pretty to make the "real" changes easier
to spot. I'll prettify the formatting when I split this file (which
I plan to do soon).
2013-08-11 16:31:00 -05:00
JaMiT
7c362bc12b Convert some functions from static to non-static.
At the moment, this is a step backwards, but it will be helpful
when game_events.cpp gets split into pieces.
2013-08-11 16:31:00 -05:00
Alexander van Gessel
b413d96f58 Merge pull request #54 from Gallaecio/gl
[Galician Translation] Manually reviewed all strings brought up by posie...
2013-08-11 14:08:18 -07:00
Adrián Chaves Fernández (Gallaecio)
c2d037f46e [Galician Translation] Manually reviewed all strings brought up by posieve’s spell checker. 2013-08-11 22:36:04 +02:00
Alexander van Gessel
0353156865 Merge pull request #52 from Gallaecio/gl
Galician translation update
2013-08-11 09:57:45 -07:00
ln-zookeeper
9111ed02b5 New bigmap and journey markers for AOI. 2013-08-11 15:53:36 +03:00
Adrián Chaves Fernández (Gallaecio)
2f81fd2239 Galician translation update
• Added Galician to the list of updated translations in the ChangeLog files.
• Finished translating the wesnoth-ai module into Galician.
• Reviewed all files for some consistency fixes, standard fixes, and general review.
2013-08-11 13:04:42 +02:00
ln-zookeeper
c45d3dc9be Merge branch 'master' of https://github.com/wesnoth/wesnoth-old 2013-08-11 11:48:50 +03:00
Nils Kneuper
ae727f254e Merge pull request #51 from Gallaecio/gl
[Galician translation] Translated images and minor text changes
2013-08-10 23:46:20 -07:00
Adrián Chaves Fernández (Gallaecio)
9eeaaff752 [Galician translation] Translated images and minor text changes 2013-08-10 19:23:49 +02:00
Alexander van Gessel
85aa5e5cbc Merge pull request #48 from Gallaecio/gl
[Galician translation] Finished translating Under the Burning Suns.
2013-08-09 04:09:26 -07:00
Adrián Chaves Fernández (Gallaecio)
8a475fc24f [Galician translation] Finished translating Under the Burning Suns. 2013-08-09 08:17:55 +02:00
Alexander van Gessel
abe67d8136 Merge branch 'master' of github.com:wesnoth/wesnoth-old 2013-08-09 00:20:02 +02:00
Alexander van Gessel
38b224c1ff Revert "Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old""
This reverts commit 23b72d6956e6316f8b50a6accba607f66cf197a7.
2013-08-09 00:13:46 +02:00
Thibault Févry
e825989bbe More range() genocide. 2013-08-09 00:13:03 +02:00
Thibault Févry
1dc00f0d93 More range() destruction. 2013-08-08 23:53:34 +02:00
Thibault Févry
e4a1dcdb88 More range to xrange conversion. 2013-08-08 23:46:36 +02:00
Thibault Févry
961dcb8c25 Remove useless ';' 2013-08-08 23:45:52 +02:00
Thibault Févry
b5319fa235 Use xrange instead of range. 2013-08-08 23:41:50 +02:00
Thibault Févry
e3fbfe5225 Use for i in iterable instead of for i in range(len(iterable)). Have a hard time testing it well, but it seems to not break anything. 2013-08-08 23:35:11 +02:00
Thibault Févry
5a5287b1f7 Use string formatting when possible. Can't use str.format() (although it would be easier to read since it was only added in 2.6 2013-08-08 19:21:39 +02:00
Thibault Févry
f4fc1c5912 Make pep8 happier. 2013-08-08 19:07:47 +02:00
Thibault Févry
65a14eff16 Fix indenting (again) 2013-08-08 18:56:11 +02:00
Thibault Févry
23b72d6956 Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old"
This reverts commit 5fa5c034110c3c942d299c8fd440297c89aca037, reversing
changes made to 06374c64ba00977a4f720a44108593fc43d5c787.
2013-08-08 18:50:46 +02:00
Thibault Févry
ddfc7d3282 Revert "Fix indenting."
This reverts commit ab58cc959c54461430868f31f2625c91501518ea.
2013-08-08 18:48:45 +02:00
Thibault Févry
ab58cc959c Fix indenting. 2013-08-08 18:31:47 +02:00
Thibault Févry
5fa5c03411 Merge branch 'master' of github.com:wesnoth/wesnoth-old 2013-08-08 13:18:10 +02:00
Alexander van Gessel
f7838ddc21 Merge pull request #46 from Gallaecio/gl
[Galician translation] Further progress with ‘Under the Burning Suns’.
2013-08-07 15:41:35 -07:00
Alexander van Gessel
5f535fa492 Merge pull request #44 from Gallaecio/master
“But if if this battle…” → “But if this battle…”
2013-08-07 15:39:23 -07:00
Adrián Chaves Fernández (Gallaecio)
c13bb0793f [Galician translation] Further progress with ‘Under the Burning Suns’. 2013-08-07 22:24:41 +02:00
Adrián Chaves Fernández (Gallaecio)
97d9918419 “But if if this battle…” → “But if this battle…” 2013-08-07 21:33:58 +02:00
Pyrophorus
2596c37304 Correcting some errors and restoring the standalone version.
Standalone version is managed by the compile flag YAMG_STANDALONE.
This flag is defined only in a separate target not present in the Wesnoth project,
so it can't interfere with Wesnoth builds.
So please, don't edit the sections within the #ifdef YAMG_STANDALONE.
2013-08-07 15:49:18 +02:00
Pyrophorus
20a38fc334 Fixing a typo (error). 2013-08-07 15:20:06 +02:00
Alexander van Gessel
26a7002e63 Merge pull request #43 from Gallaecio/gl
[Galician translation] Finished translating the 10th scenario of “Under the Burning Suns”.
2013-08-06 15:41:35 -07:00
Adrián Chaves Fernández (Gallaecio)
3f2d7efdb3 [Galician translation] Finished translating the 10th scenario of “Under the Burning Suns”. 2013-08-06 21:58:40 +02:00
Alexander van Gessel
08d1c949f1 wmlindent workarounds for some micro_ai scenarios 2013-08-05 00:15:58 +02:00
Alexander van Gessel
0738a4e59c make reindent minus some wmlindent issues 2013-08-04 23:22:56 +02:00
Alexander van Gessel
41a4ea849e Merge branch 'master' of github.com:wesnoth/wesnoth-old 2013-08-04 22:58:45 +02:00
Alexander van Gessel
a678898f4c Move from optparse to argparse 2013-08-04 22:58:19 +02:00
Alexander van Gessel
2a13cfd439 Move from optparse to argparse 2013-08-04 22:54:59 +02:00
Alexander van Gessel
a89e9c4329 Move from optparse to argparse 2013-08-04 22:53:16 +02:00
Alexander van Gessel
c50aaf8025 Move from optparse to argparse 2013-08-04 22:51:18 +02:00
Alexander van Gessel
83f234f4be Move from optparse to argparse 2013-08-04 22:48:01 +02:00
Alexander van Gessel
2148f769f4 Move from optparse to argparse 2013-08-04 22:45:21 +02:00
Alexander van Gessel
b6f3f8fe35 Move from optparse to argparse 2013-08-04 22:44:15 +02:00