Commit Graph

17540 Commits

Author SHA1 Message Date
Lari Nieminen
412d47eacf Added a macro for conveniently timing arbitrary WML actions. 2007-06-28 22:11:42 +00:00
Eric S. Raymond
71676359f8 Fix a bonehead error in applying wmlindent to multiple arguments. 2007-06-28 21:48:19 +00:00
Ali El Gariani
318df43f6a fix a tiny cursor bug:
trying to move a enemy unit (?!) caused sometimes a briefly visible
move cursor

remove/reorder some checks
2007-06-28 21:17:45 +00:00
Gunter Labes
a62bb8911f fixed username checking on login and sending correct errors 2007-06-28 20:21:13 +00:00
Eric S. Raymond
f74f534aad Remove unused 'omniscient' class. 2007-06-28 20:07:09 +00:00
Mark de Wever
eb355e7600 Next step in changing the map border. Most border transitions are suppressed now. 2007-06-28 19:39:48 +00:00
Gunter Labes
3f4be3cad5 a script to login to the multiplayer server and display/log the chat 2007-06-28 17:16:15 +00:00
Mark de Wever
17d24aa380 removed support for the deprecated old keep 2007-06-28 16:34:36 +00:00
Mark de Wever
7003277d4c removed the UNUSED definition,
it breaks on my gcc and there's a portable way to avoid the unused
parameter warning
2007-06-28 16:31:05 +00:00
Eric S. Raymond
4439a0c763 Pry the map_label.cpp code the rest of the way loose from replay.cpp.
If clearing of old labels during replays stops working, suspect this commit.
2007-06-28 13:04:22 +00:00
Eric S. Raymond
00c2437836 Begin prying map_labels.cpp loose from the replay maChinery. 2007-06-28 12:24:38 +00:00
Lari Nieminen
2846d69bd3 Marked the remaining editor group names as translatable
(and renamed "the whole bunch" to "all").
2007-06-28 11:58:18 +00:00
Eric S. Raymond
9f11735f32 Split display.h up
in order to remove the last game_display dependency from the map
editor.
2007-06-28 10:25:30 +00:00
Eric S. Raymond
9e6ec4300b Sever another editor dependency. 2007-06-28 10:00:09 +00:00
Eric S. Raymond
1aaffa8da6 Remove references to some data types the editor no longer nneeds to know about. 2007-06-28 09:49:16 +00:00
Eric S. Raymond
d32edc0029 Oops. Restiore the build. Forgot to include this in the last commit. 2007-06-28 09:39:17 +00:00
Eric S. Raymond
753acdb77c Break the display implementation into three separate files. 2007-06-28 09:19:37 +00:00
Eric S. Raymond
a44b9a0ac7 Map editor now uses the editor_display subclass. 2007-06-28 08:42:15 +00:00
Eric S. Raymond
43e5de9fee Huge patch pretty much all name changes.
display is now the base class and game_display the derived; code that
can use the base class because it doesn't need to grok units or teams
(like preferences.cpp and hotkeys.cpp) does so.
2007-06-28 05:32:36 +00:00
Eric S. Raymond
f3a5136420 Fix embarrassing editor bug (as in, duh, no display). 2007-06-28 05:14:24 +00:00
Eric S. Raymond
4110f2cd4f Fix a minimap MP bug introduced in 2007-06-26T13:40:23Z!esr@thyrsus.com. 2007-06-28 03:09:34 +00:00
David Philippi
380abd11ca swedish translation update 2007-06-28 00:47:40 +00:00
Eric S. Raymond
59ba86ecf4 Paciy the compiler about signedness yet again. 2007-06-27 20:37:13 +00:00
Jérémy Rosen
83624d76b6 no more frame skipping on accelerated animations 2007-06-27 18:18:16 +00:00
Eric S. Raymond
5b1d7cc2ce vtable link bug fixed. 2007-06-27 17:31:59 +00:00
Eric S. Raymond
e648327eb3 Condition out editor_display code so Zebulon can build a Windows version.
There's some glitch in the editor_display class definittion that gcc doesn't 
obect to; I'll fix it later.
2007-06-27 17:11:45 +00:00
John W. C. McNabb
34771e8164 added macro state to prevent macro related bugs.
Does NOT properly handle macros
2007-06-27 16:59:51 +00:00
Eric S. Raymond
ffc9498cef The display class is now fully refactored,
but the editor does not yet use the editor_display subclass.  That's
the next step.
2007-06-27 16:23:15 +00:00
Lari Nieminen
c490eb5df3 Changed the plague weapon special to always spawn a WC.
Left the WEAPON_SPECIAL_PLAGUE_TYPE macro in for a while for backwards
compatibility.
2007-06-27 14:43:34 +00:00
Eric S. Raymond
7c4782a86a Define a simplified draw() mrthod for the editor. Not yet tested. 2007-06-27 12:52:05 +00:00
Eric S. Raymond
dd0ec08dad Fold the old draw_tile() into draw();
it had become simplified enough by the tile_stack change that
separating this code no longer makes sense.
2007-06-26 20:02:24 +00:00
Eric S. Raymond
3af6d6af60 Implement an internal tile stack
to simplify the code for compositing multiple layers onto a tile.
2007-06-26 19:22:01 +00:00
Gunter Labes
c44ca531d1 small cosmetic tweak 2007-06-26 16:57:08 +00:00
Eric S. Raymond
6e107a5b9d The display class keeps its own viewpoint field now. 2007-06-26 13:40:23 +00:00
Lari Nieminen
c6b9abf41e Simplified the village capturing WML at scenario start
(and fixed the coordinate bugs in it).
2007-06-26 12:42:07 +00:00
Eric S. Raymond
9a09831c1f Define 'viewpoint' interface in order to decouple map display from teams.
A viewpoint implements two functions, fogged(x, y) and shrouded(x, y).
The team type implements viewpoint; there is also a subclass 'omniscient' 
to which everything is visible.
2007-06-26 10:38:03 +00:00
Eric S. Raymond
46d57d7f29 Another code-lifting step. 2007-06-26 07:46:30 +00:00
Eric S. Raymond
9809bb7abc Yet more code-lifting. 2007-06-26 06:56:48 +00:00
Eric S. Raymond
0e55f4431b More code liftining into map_display. 2007-06-26 05:56:11 +00:00
David White
a1c9b8b13a added initial implementation of wesnothd.pl 2007-06-26 03:16:19 +00:00
Eric S. Raymond
ec964f03c5 More explanatory comments. 2007-06-26 02:19:09 +00:00
Eric S. Raymond
0de94cdd06 Add some explanatory comments before trying to hack their code apart. 2007-06-26 01:52:06 +00:00
Eric S. Raymond
984c40568f Thanks to jimm for spotting bug #9384. 2007-06-25 20:00:49 +00:00
Ali El Gariani
6aa4448667 remove myself from contributor 2007-06-25 19:56:34 +00:00
Eric S. Raymond
a8fd00366d Lift the grid_ member and fix some comments. 2007-06-25 19:54:30 +00:00
Eric S. Raymond
fbc7114fd6 Fix for bug #9384. 2007-06-25 19:45:40 +00:00
David Philippi
22287273d7 danish translation update 2007-06-25 19:07:23 +00:00
Eric S. Raymond
bb5a36ab2d Virtualize some map_display methods.
According to alink, this should fix some breakage in shroud/fog
effects.
2007-06-24 22:11:24 +00:00
Elias Pschernig
30b192a6b4 beatuifed --list output of campaigns_client.py somewhat 2007-06-24 20:28:20 +00:00
Elias Pschernig
b5d7fa07f8 Added -s --status -f --update options to campaigns_client.py,
and made it update local version info like Wesnoth itself.
2007-06-24 19:50:52 +00:00