Lari Nieminen
f6a7fdef5c
TC'ing of [move_unit_fake]s (HttT, EI and SoF).
2007-06-30 12:44:54 +00:00
Lari Nieminen
b67758f78b
Hid a few DiD duplicate hack units and a fake unit...
...
...from appearing in the unit list in the help.
2007-06-30 12:35:29 +00:00
Lari Nieminen
5ccb264346
Replaced all instances of the obsolete facing=reverse...
...
...with the correct facing=sw (and removed a few ones that seemed
unnecessary).
2007-06-30 12:15:07 +00:00
Eric S. Raymond
794131f027
Separate the file chooser from the dialogs that need to know about units.
2007-06-30 11:39:09 +00:00
Thomas Baumhauer
eb00d979c1
Fixing various WML bugs in DiD
2007-06-30 11:00:28 +00:00
Jérémy Rosen
6baa44a5ec
my last commit deserved an entry in player_changelog
2007-06-30 10:32:25 +00:00
Jérémy Rosen
aa7368fce9
patch 751 : add advance from entry in the help system, thanks to jimm
2007-06-30 10:30:19 +00:00
Eric S. Raymond
116285132a
Clarify the objective.
2007-06-30 10:10:47 +00:00
Jérémy Rosen
03f576707b
separate animated.cpp in three files...
...
...to help the editor to not include the unit stuff
2007-06-30 07:40:34 +00:00
Eric S. Raymond
06923cb4af
basic_dialog and dialog are now properly separated into distinct modules.
2007-06-30 06:49:29 +00:00
David White
04e4741754
fixed bug in calculating WML diffs in wml perl module
2007-06-30 05:40:00 +00:00
Eric S. Raymond
ce92c14e05
dialog class successfully refactored...
...
...into a basic_dialog and derived dialog class. Only the derived
class supports a help button and links to the help-system stuff.
2007-06-30 05:15:11 +00:00
Ali El Gariani
cf94d506bf
Fix a common SDL_Rect error:
...
when translating a rectangle, no need to change its width and height.
i am not sure about the impact of the bug, maybe bigger for map with a
lot of upper wood background.
However our extra hex rounding compensated (at normal zoom level)
2007-06-30 03:10:14 +00:00
Ali El Gariani
09a5d8278d
the rectangles overlapping algorithm was incorrect...
...
(fail the cross case) and inefficient.
So replace it with a better version.
2007-06-30 02:41:40 +00:00
Ali El Gariani
69d9d5b792
There was some redraw of units outside of the view
...
(maybe idle or any other functions invalidating hexes)
This had a little cpu-cost, but it's make more sense to don't call all
this drawing code for nothing
However, a unit can have big halo, so we continue to drawing them if
just oustide the view (~2 hexes)
2007-06-30 02:03:26 +00:00
Ali El Gariani
56f6f50dc3
small code simplifications
2007-06-30 01:32:17 +00:00
Ali El Gariani
bafc5d8c17
Pull up the screen.locked check,
...
...since checking it for each invalidated hexes seems wrong and inefficient
This also prevent some redraw of units when the screen is locked,
which also seems normal. (specially if we don't redraw the underlying
hex)
Maybe we can skip more drawing code, but I am not sure for the moment,
so will do later.
2007-06-30 01:18:07 +00:00
Gunter Labes
7880bac6c1
copy functions from wml_net and remove the depency
...
add a function to send packets with a wrong length
nicer command line parameter handling
2007-06-29 23:26:18 +00:00
David Philippi
3554cf7f0e
swedish translation update
2007-06-29 22:28:20 +00:00
Jérémy Rosen
d081ba00c5
reduce frequency of idle animations
2007-06-29 22:24:00 +00:00
Dimitar Ilccov
12d0c82fd8
A fix for the next scenario sometimes being unable to load...
...
...after completing "Scepter of Fire"
2007-06-29 21:00:18 +00:00
Gunter Labes
ccd9bc3641
refactored using the wml module
2007-06-29 19:54:41 +00:00
David Philippi
f3304dcd8f
swedish translation update
2007-06-29 19:24:57 +00:00
David Philippi
4be8bf7492
indonesian translation update
2007-06-29 15:44:28 +00:00
Ali El Gariani
dcebf7a1b0
cleaning of the draw operations on a tile:
...
- small optimization by executing code only when needed
- and helps reading by doing this near it's needed
- fix comments and comment out come code for semi-brightened hexes
since currently only used for editor
2007-06-29 14:55:17 +00:00
Gunter Labes
75efa44d87
fix parameter passing in send_to_lobby()
2007-06-29 13:47:05 +00:00
Ali El Gariani
dbe422c928
fix bug #9398 (Attacking units always above defending units).
...
Now correctly z-ordered.
- insert the temporary unit in the common set of invalidated units
- add a STL-sorting in this set using a z-order to draw hexes in the
good sequence (maybe also use this idea elsewhere ?)
2007-06-29 13:46:19 +00:00
David Philippi
d7c2140e83
lithuanian translation update
2007-06-29 13:35:59 +00:00
Lari Nieminen
8f33bed9ea
Fixed odd WML typos causing errors.
2007-06-29 12:19:35 +00:00
Eric S. Raymond
c75c529de8
Don't ignore blank lines before a 'start ignoring' directive.
2007-06-29 12:19:05 +00:00
Eric S. Raymond
3908c56233
Fix a vertical-whitespoce glitch produced by wmlindent's passthrough mode.
2007-06-29 12:14:48 +00:00
Eric S. Raymond
8b5218af0a
Reindent the UtBS material.
2007-06-29 12:05:35 +00:00
Nils Kneuper
32472ab98e
updated German translation
...
fixed one >80chars/line entry in the changelog
2007-06-29 11:56:53 +00:00
Eric S. Raymond
9433ae3fee
Implement a facility to make wmlindent ignore designated stretches of lines.
...
Allow generation of XHTML docs from macro comments indented in the new format.
2007-06-29 11:50:33 +00:00
Eric S. Raymond
5f58e50664
Reindented all macros except utils.cfg,
...
that has unbalanced FOREACH/NEXT in it and will need to be
hand-checked.
2007-06-29 11:19:19 +00:00
Eric S. Raymond
984971b0c3
Clean up properly in dryrun mode.
2007-06-29 11:08:13 +00:00
Eric S. Raymond
22efdacc73
Recognize --verbose.
2007-06-29 11:03:48 +00:00
Eric S. Raymond
93839b4ba9
Implemented --dryrun option.
2007-06-29 11:01:37 +00:00
Eric S. Raymond
c7eb4ede7f
Reindented unit files.
2007-06-29 10:49:33 +00:00
Eric S. Raymond
d07025e8ee
Reindented.
2007-06-29 10:46:58 +00:00
Eric S. Raymond
ac9d9fdb76
Better verbosity logic.
2007-06-29 10:42:10 +00:00
Eric S. Raymond
08c6876453
Almost all WML files are now uniformly indented.
...
There are a few exceptions that need further work or careful
examination; UtBS, the tutorial, and the terrain macros.
2007-06-29 10:36:10 +00:00
Nils Kneuper
b1f539b4e4
pot-update
2007-06-29 10:23:29 +00:00
Nils Kneuper
2438736b98
removed the filereference Sapient forgOt to remove...
...
...when removing the sourcefile...
2007-06-29 10:22:06 +00:00
Nils Kneuper
0cbb699e11
marked the file correctly as translateable
2007-06-29 10:21:37 +00:00
Eric S. Raymond
2c5b884f91
Prevent spurious warnings on array references.
2007-06-29 10:05:21 +00:00
Eric S. Raymond
80c34215f9
Sapient forgot to clean up after his file removal.
2007-06-29 10:04:08 +00:00
Eric S. Raymond
7c66c9b477
Applied wmlindent to The South Guard.
2007-06-29 09:51:22 +00:00
Eric S. Raymond
ff5f33a1ae
Apply wmlindent to The South Guard, after removing two unbalanced macros.
2007-06-29 09:22:24 +00:00
Eric S. Raymond
bde964a109
Applied wmlindent to The Rise Of Wesnoth.
2007-06-29 09:10:19 +00:00