Martin Renold
bb054324a3
fixed comment typos
2007-05-27 09:20:37 +00:00
Mark de Wever
509cd5dff1
cleaned up some comment
2007-05-27 09:07:35 +00:00
Mark de Wever
c7351b1885
changed scroll_to_tiles() to use gamemap::location
2007-05-27 08:51:40 +00:00
Jérémy Rosen
733d65b4c6
remove forgotten debug messages
2007-05-27 08:47:19 +00:00
Mark de Wever
ee6e372c2e
changed get_terrain_images() to use gamemap::location
2007-05-27 08:33:06 +00:00
Mark de Wever
277820f09b
some cleanups and added some comment
2007-05-27 08:23:22 +00:00
Mark de Wever
d167945df2
changed draw_terrain_on_tile() to use gamemap::location
2007-05-27 08:11:06 +00:00
Patrick Parker
095cd4a645
note: global.hpp must be first!
2007-05-27 01:50:07 +00:00
Patrick Parker
357b44aede
make dimension_measurements part of dialog state instead of passing it
2007-05-27 01:47:12 +00:00
Ali El Gariani
e8c6e165c4
Clean and comment the code to cancel a dialog (as wisely suggested by Sapient).
...
The initial big "if" started to be unreadable, now it's divided by
input type. I keep the right-click IN a (context-)menu to cancel it,
but I disagree with this. The normal (and handy) desktop behavior is
to allow right-click selection of item in menu.
2007-05-27 01:24:58 +00:00
Ali El Gariani
6f900ed1d6
Remove a never reached value...
...
...and simplify the little misleading local code causing it keeping
the same good behavior: you can't cancel a dialog with options and
only an OK button
2007-05-27 00:02:40 +00:00
J.W. Bjerk
156907fa27
modified HttT campaign starting image to include Konrad and Li'sar.
2007-05-27 00:02:15 +00:00
Ali El Gariani
3195928e3c
graphics: added automatic side-coloring of custom flags
2007-05-26 23:55:09 +00:00
Mark de Wever
b46b21ec44
converted get_flag() to use gamemap::location
2007-05-26 23:53:57 +00:00
Benoît Timbert
38eb62b89a
Workaround: Fix the teamname displayed
...
("North-West" was displayed for the 5 other players)
2007-05-26 23:49:58 +00:00
Benoît Timbert
6b40bdd54e
New french translator
2007-05-26 23:45:47 +00:00
Mark de Wever
b5686b7911
converted scroll_to_tile() to use gamemap::location
2007-05-26 23:39:22 +00:00
Ali El Gariani
2ff87a5542
don't allow right-click cancel on dialog with options and just an OK button
...
also better detection of what's the outside of the dialog
(still not perfect: I must add title and buttons)
2007-05-26 23:24:05 +00:00
Mark de Wever
886df389f0
display has a lot of functions with x and y parameters...
...
...where it's not clear what these are.
started to change functions which get a map location to use gamemap::location
this commit does fogged() and shrouded(), more will follow
2007-05-26 23:13:07 +00:00
Mark de Wever
dc1ca61775
small header dependency cleanup
2007-05-26 22:21:11 +00:00
Mark de Wever
3dd6d9d214
rewrote timestring() so it looks better
2007-05-26 22:06:18 +00:00
Mark de Wever
e06a318932
added some const modifiers,
...
need them for testing and the functions can be const anyway
2007-05-26 20:39:51 +00:00
Ali El Gariani
c0c9a3eb26
Add a handy mouse shortcut:
...
right click outside of a dialog to close it. Very usefull to cancel
the attack dialog.
The current implementation for detecting the dimension of the dialog
is maybe a bit dumb but works fine for this simple use.
2007-05-26 19:51:02 +00:00
Mark de Wever
6e04a003db
remove some unused variables and fix a small comment typo in my previous commit
2007-05-26 19:50:48 +00:00
Ali El Gariani
ce8926f098
change the context menu behavior:
...
when right clicking outside of it, close it and don't send the right
click to the backround (which in this case cause the opening of an
other context menu) I also need this for the future general
outside-right-click-close-dialog
2007-05-26 19:46:10 +00:00
Mark de Wever
755947764e
did some cleaning up;
...
zoom() could change the zoom value and return the factor
now split in 2 functions, also namechange of default_zoom()
2007-05-26 19:38:43 +00:00
Ali El Gariani
909ba49731
add a comment about fps-max in the debug code to see updated zones of the screen
2007-05-26 17:39:13 +00:00
Ali El Gariani
171f0f5186
remove obsolete images, bars and orbs are displayed using different images
2007-05-26 17:26:12 +00:00
J.W. Bjerk
25c19479ba
finished moving all core unit CFGs into racial subfolders.
2007-05-26 14:31:57 +00:00
Mark de Wever
ebba40c133
reordered some stuff to kill a compiler warning.
2007-05-26 14:23:45 +00:00
Mark de Wever
a3e0e197f1
fixes a small offset problem.
...
It's not really noticable but will be once the new centering code will
be committed.
2007-05-26 13:10:55 +00:00
Nils Kneuper
755cd37630
fixed inclusion of units
2007-05-26 13:06:24 +00:00
Elias Pschernig
d586235841
fixed download option for raw packets from the campaign server
2007-05-26 11:32:38 +00:00
Nils Kneuper
2e10eb1ad0
bumped version to 1.3.3+svn
...
and changed ports for the default mp server to the one for trunk
2007-05-26 09:21:18 +00:00
Jérémy Rosen
79dcf5eb38
code refactoring in unit animations,
...
preparing the grand animation unification scheme...
2007-05-26 08:20:35 +00:00
J.W. Bjerk
aa0516e591
moved most unit CFGs into subfolders.
...
since other CFGs to not directly link to these, there should be no problems.
2007-05-26 07:15:14 +00:00
J.W. Bjerk
caf3cc0b68
added the a riderless Wolf.
...
These graphics are intended to replace the ones used in SoF. I used
the stats from the Wolf rider, changing only the alignment to
neutral. These stats are different from the stats used in SoF. I have
no opinion, what (if anything) should change about the stats- i merely
point the discrepency out.
2007-05-26 02:49:20 +00:00
J.W. Bjerk
bf666fee4c
actually adding the images for: attack icons for sickle and scythe.
2007-05-26 00:25:48 +00:00
Ali El Gariani
fcc0f155fa
Add automatic side-coloring of custom village-flags.
...
Simplify a little the code.
2007-05-25 23:55:45 +00:00
J.W. Bjerk
a158a02221
attack icons for sickle and scythe.
2007-05-25 23:55:10 +00:00
Ali El Gariani
26e7015506
simplify and clean the previous commit...
...
....about the automatic side-coloring of flag-icon
2007-05-25 23:49:19 +00:00
Ali El Gariani
791346e646
add an automatic side coloring of custom flag_icon
2007-05-25 20:52:09 +00:00
J.W. Bjerk
62624352b3
returned the flags icons to pure, recolorable green.
2007-05-25 20:06:33 +00:00
Nils Kneuper
43e95200ad
bumped version to 1.3.3
2007-05-25 18:14:55 +00:00
Jérémy Rosen
023c173ac1
fix halo glitch
2007-05-25 17:43:20 +00:00
Lari Nieminen
7ad1d81285
Updated changelogs.
2007-05-25 17:41:05 +00:00
Nils Kneuper
0ebb40d2ce
removed fuzzy from German translation (I don't want to call this an 'update')
2007-05-25 17:37:16 +00:00
Jérémy Rosen
581bdb1b69
fix mvt animation being stuck on first frame
2007-05-25 17:31:33 +00:00
Gunter Labes
8cf156a76c
remove the 'fearless' trait from humans, orcs and mermen
...
add the 'firstrike' weapon special to the pierce attack of Drake Clasher
decrease the arcane ranged attack of the White Mage from 8-4 to 7-4
decrease the arcane ranged attack of the Mage of Light from 10-4 to 9-4
2007-05-25 16:32:10 +00:00
John W. C. McNabb
1ac9ec2161
added distance function to evaluators
2007-05-25 14:57:38 +00:00