Commit Graph

17506 Commits

Author SHA1 Message Date
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
Elias Pschernig
981bfb7003 Made each downloaded addon get a file <name>/info.cfg with version information.
This makes it now easy to write a script to automatically update all
installed campaigns (and possibly mark campaigns with an available
update in the campaigns list).
2007-06-24 17:47:26 +00:00
Gunter Labes
695bfe1358 updated maps:
Cynsaun Battlefield, Hamlets, Sablestone Delta, Silverhead Crossing,
Sulla's Ruins
2007-06-24 17:40:59 +00:00
Elias Pschernig
d04dcaf703 added the last update time to the campaign listing in campaigns_client.py,
added tabs, and removed the separator lines
2007-06-24 17:17:24 +00:00
Eric S. Raymond
f5470cb75c More code-lifting. 2007-06-24 17:15:00 +00:00
Elias Pschernig
e4c13f5eb0 add the downloads and uploads counters to the campaign listing 2007-06-24 17:10:04 +00:00
Nils Kneuper
cd98764264 pngcrush 2007-06-24 13:48:23 +00:00
Eric S. Raymond
5141316d65 Add some explanatory comments for the next person who has to modify this. 2007-06-24 10:53:59 +00:00
Eric S. Raymond
83e4974ac0 Pull image type computation out of draw_tile(),
...as a step towards lifting it into the map_display class.
2007-06-24 10:27:04 +00:00
Eric S. Raymond
2857241462 Remove some apparenntly no-op code
Looks like somebody simplified the code for selecting image types in
the tile drawer without completely cleaning up after the change.

This is isolated as a commit on its own to document the change, just in 
case I've misunderstood the intention.
2007-06-24 10:03:32 +00:00
Eric S. Raymond
ba649b97e8 Purely cosmetic change to clear the deck for the next one,
which is substantive.
2007-06-24 09:50:15 +00:00
Eric S. Raymond
61a02bc875 Reports were cleared twice on redraw_everything,
...once in that function and once in the following draw().  I don't
think this is necessary, and it's in the way of my refactoring
project.

Suspect this commit if we start to have glitches in updates of the
report fields on screen.
2007-06-24 09:27:48 +00:00
Eric S. Raymond
ad1a3ad760 Another small step in display refactoring. 2007-06-24 08:25:08 +00:00
Patrick Parker
b4c5ee53b4 typo: i before e 2007-06-24 04:56:58 +00:00
Eric S. Raymond
5725da5dc1 Lift portions of the draw logic. 2007-06-24 04:31:59 +00:00
Patrick Parker
52aa4fb28f allow unfocused widgets to steal the focus instead of just borrowing it 2007-06-24 04:29:58 +00:00
Eric S. Raymond
00e8aae88d More lifting of code from display into map_display. 2007-06-24 03:40:04 +00:00
Benoît Timbert
62180e5e4d french translation update 2007-06-23 21:33:59 +00:00
Eric S. Raymond
c29be324fc Lift the lower end of the terrain-tile drawing code. 2007-06-23 20:58:51 +00:00
Eric S. Raymond
beb9db4c82 Suppress a spurious compiler warning. 2007-06-23 20:00:29 +00:00
Eric S. Raymond
98616b3014 Make fogged() a method of map_display...
...that is overridden by a fogged() method in the display subclass.

If fogging or shrouding stops working, suspect this commit.
2007-06-23 19:46:29 +00:00
Nils Kneuper
84ec11e1c0 formating change to the old entrys... 2007-06-23 18:31:56 +00:00
Nils Kneuper
611c2751f6 bumped version to 1.3.4+svn and changed server ports 2007-06-23 18:21:20 +00:00
Nils Kneuper
5570f19408 switched server ports to dev version port 2007-06-23 17:47:25 +00:00
Nils Kneuper
e202942acf bumped version to 1.3.4 2007-06-23 17:39:06 +00:00
Lari Nieminen
c488742279 Some changelog cleanup. 2007-06-23 17:25:53 +00:00
Eric S. Raymond
436d089375 One note from the player's changelog also belongs here. 2007-06-23 17:19:36 +00:00
Eric S. Raymond
f8aadff796 Move some key data members in preparation for lifting thec drawing logic. 2007-06-23 17:13:22 +00:00
Dimitar Ilccov
cbbf4bba46 changes in the changelogs 2007-06-23 17:12:49 +00:00
Nils Kneuper
3bf402ebb8 another tiny update to the German translation 2007-06-23 17:09:02 +00:00
Nils Kneuper
3ac5468316 updated German translation 2007-06-23 16:38:52 +00:00
Eric S. Raymond
4a92710834 More display-class refactoring; lift the code for manipulating buttons. 2007-06-23 16:19:45 +00:00
Benoît Timbert
f879503fe3 updated french translation 2007-06-23 15:46:56 +00:00
Eric S. Raymond
7cf55aa99a Fix the macro-reference generator. 2007-06-23 15:38:21 +00:00
Benoît Timbert
8cece5b411 French translation update 2007-06-23 15:07:41 +00:00