Commit Graph

23966 Commits

Author SHA1 Message Date
Jérémy Rosen
6f25fc834e add editor doxygen documentation (minor patch by xonev) 2008-03-26 18:38:50 +00:00
Jérémy Rosen
999c64fbc0 fix some animations being skiped after displaying a message 2008-03-26 18:38:04 +00:00
Mark de Wever
302536a937 Move a deeply nested structure out of its parent.
This also allows data not interesting for the outside to be defined in
the .cpp instead of the .hpp.
2008-03-26 18:14:12 +00:00
Eric S. Raymond
0dff223ddd Accept passed-in LDFLAGS and CXXFLAGS. 2008-03-26 18:09:24 +00:00
Eric S. Raymond
e3b0135242 Use LINKFLAGS, not LDFLAGS. Link only as needed. 2008-03-26 17:48:17 +00:00
Piotr Cychowski
e017aa6d20 One more fix of incorrect [have_unit] usage 2008-03-26 17:46:34 +00:00
Piotr Cychowski
1062168eb6 The great NR WML cleanup project:
* Some final tweaks, cleanup and minor bug fixes

* Comments to scenario 13 and herodeaths.cfg

The End
2008-03-26 17:39:03 +00:00
Bartek Waresiak
5c89719d73 fix to simple_wml on 64 bit machines 2008-03-26 17:33:07 +00:00
Mark de Wever
2371f463b5 Added proof-of-concept text_box class.
Fixed a bug, set_label didn't set the dirty flag.

Small improvements in the window builder to support more widgets.
2008-03-26 17:11:11 +00:00
Mark de Wever
997c4f9b5a Don't render empty strings on the canvas. 2008-03-26 16:56:17 +00:00
Piotr Cychowski
88358cd9f8 Update changelog 2008-03-26 16:37:30 +00:00
Ignacio R. Morelle
094be2bcbc Fix two portraits, one 204x205 and other 206x206 pixels...
...to use the canonical portrait size
2008-03-26 16:29:30 +00:00
Eric S. Raymond
718f42d025 Implement internal_data option in the scons recipe. 2008-03-26 14:46:13 +00:00
Piotr Cychowski
7b6a4e7479 The great NR WML cleanup project:
* First pass on scenario 13

* First pass on scenario 14

* Introduce a workaround for yet another recall limitation, affects
  scenarios 10 onwards
2008-03-26 14:36:10 +00:00
Eric S. Raymond
0df938b4b9 Thinko fix in scons recipe. 2008-03-26 14:36:03 +00:00
Eric S. Raymond
3a9b7440d1 Comment fix. 2008-03-26 14:14:56 +00:00
Eric S. Raymond
7ef7600fe3 No need to exclude unused image. 2008-03-26 14:13:25 +00:00
Eric S. Raymond
83ae0b3bc8 Apply wmlindent. 2008-03-26 14:04:37 +00:00
Eric S. Raymond
c01894b940 Remove a "Mountain Gods" reference that isn't canon. 2008-03-26 14:00:04 +00:00
Eric S. Raymond
264c6705d2 wmllint-warning and cosmetic fixes in NR. 2008-03-26 13:55:33 +00:00
Nils Kneuper
32930b2c53 fix compiler warning when using gcc 4.2.3...
...that was introduced with patch #1020 (fix by cjhopman)

warning was:

mouse_events.cpp: In member function 'void events::mouse_handler::mouse_motion(int, int, bool, bool)':
mouse_events.cpp:854: warning: 'dest_un.unit_map::const_unit_iterator::counter.unit_map::iterator_counter::map_' may be used uninitialized in this function
2008-03-26 13:40:25 +00:00
Lari Nieminen
d48d47d32d Only include macros.cfg once, instead of in most scenarios. 2008-03-26 12:50:40 +00:00
Lari Nieminen
2d76ae0960 Gave the loremaster line the unique inspire ability instead of leadership. 2008-03-26 12:44:47 +00:00
Ignacio R. Morelle
50febc6b98 Add TC to WML, as the graphics already have it but is unused at the moment 2008-03-26 12:10:56 +00:00
Piotr Cychowski
49d9dcc0b1 The great NR WML cleanup project:
* First pass on scenario 12

* Fix a newly introduced bug in 11 caused by wrong usage of [have_unit]
2008-03-26 11:10:05 +00:00
Lari Nieminen
c9b3d224cb Reverted core leadership back to its normal form.
The THoT loremaster line still needs to adjust accordingly.
2008-03-26 10:46:29 +00:00
Eric S. Raymond
03a5505e4e Eliminate wesconfig.h includes where they are no longer needed.
Fix a minor Windows porting bug due to a typo (WIN32 -> _WIN32).

Make game_config.o explicitly dependent on the verion stamp file in scons.
2008-03-26 10:41:50 +00:00
David White
ef16256317 fix memory leak in server 2008-03-26 06:37:18 +00:00
Douglas Hains
89b80652e3 Added comment support to formula AI scripts. See FormulaAI wiki for details. 2008-03-26 05:22:57 +00:00
Eric S. Raymond
84461299df Fix an installation bug in the scons recipe. 2008-03-26 02:38:09 +00:00
Rusty Russell
deb8d64d16 Checkin of patch 1020 (file #4046: unit_map_final1.patch) for Sapient. 2008-03-26 00:19:29 +00:00
Bartek Waresiak
5507d8ff24 New formula function: nearest_keep 2008-03-25 23:04:42 +00:00
Benoît Timbert
c53429740b French translation update 2008-03-25 21:04:46 +00:00
Nils Kneuper
8bb8870d68 updated Russian translation 2008-03-25 20:54:37 +00:00
Gunter Labes
1f5cb3c561 change the colour of side 8 from white to brown so it's easier to see on snow 2008-03-25 20:06:27 +00:00
Ignacio R. Morelle
68e7fdb4b0 Remove deprecated usage of [message] id=...
...that was left over of Wesnoth's prehistoric period (a.k.a. before
gettextization of WML)
2008-03-25 16:51:37 +00:00
Bartek Waresiak
01d1d4179c Fixed the switch() function bug...
...which made this function always return second argument instead of
proper result
2008-03-25 16:31:18 +00:00
Nils Kneuper
7cd29ccaf8 updated Italian translation 2008-03-25 16:25:04 +00:00
Eric S. Raymond
4e90bbc3cd scons should no longer generate wesconfig.h. Add Python-suppression option. 2008-03-25 14:36:53 +00:00
Gunter Labes
8f2280e619 handle non-player hosts better
consider [advance_unit] and [choose] for out-of-turn players legal commands

send server messages always in the [message] form since the client
can handle that now
2008-03-25 14:27:04 +00:00
Nils Kneuper
a3908cd1fa more fixes related to the removal of wesconfig.h 2008-03-25 14:24:22 +00:00
Piotr Cychowski
13f278cc62 Merge scenario 5 per ESRs request 2008-03-25 14:24:00 +00:00
Nils Kneuper
efe8ed43e2 correct comment in src/wesconfig
this file should *NOT* be autogenerated but only touched by hand by
the packager of the release tarball
2008-03-25 14:18:16 +00:00
Ignacio R. Morelle
dec24de9ed Hardcode wesconfig.h...
...(i.e. no longer auto-generated, it was updating only the version
number anyway, and that can be easily done by hand)
2008-03-25 14:14:10 +00:00
Eric S. Raymond
22c0411b08 SpellingMistakes fixes (dev branch). 2008-03-25 14:13:58 +00:00
Nils Kneuper
6190fc70aa revert 2008-03-24T16:04:02Z!esr@thyrsus.com
the file *is* needed to build eg on windows and maybe other platforms
that don't rely on autotools and scons
2008-03-25 14:13:28 +00:00
Ignacio R. Morelle
0f5bdaf8f3 Mention the -R linker parameter removal 2008-03-25 13:54:10 +00:00
Nils Kneuper
983637898c add "while attacking it" to the backstab description in the special notes 2008-03-25 13:24:59 +00:00
Lari Nieminen
846855b041 Removed the last traces of the Ghast in DiD.
Only the unit .cfg remains since it might still be useful in the future.
2008-03-25 13:17:54 +00:00
Piotr Cychowski
a1c0b5f717 The great NR WML cleanup project:
* First pass on scenario 11
2008-03-25 12:48:49 +00:00