Commit Graph

18762 Commits

Author SHA1 Message Date
David Philippi
fb7fa663d7 danish translation update 2007-08-11 15:47:08 +00:00
Hans Joachim Gurt
7f0c9b0a66 Update for hotkey-patch #770 2007-08-11 15:43:06 +00:00
uso
3e045365c1 underscores removed from the visible map name 2007-08-11 14:35:44 +00:00
Mark de Wever
ee6d229a85 The background is now also themed. 2007-08-11 14:17:39 +00:00
Mark de Wever
2f750bb152 Renamed some images and fixed their references.
Also fixed a small bug in the top border, always using the same images
instead of alternating.
2007-08-11 14:08:03 +00:00
Mark de Wever
246f65b846 Made the border themable.
Still doesn't work in the editor, also the
0.5 hex border is still assumed at some places.
2007-08-11 13:27:36 +00:00
Hogne Håskjold
84c9884fdf New snow-to-water and snow-hills-to-water trans...
...layered on top of the ice-to-water trans. WML by zookeeper
2007-08-11 12:12:38 +00:00
Mark de Wever
1bcdf860c3 add_object() no longer returns an object& since it's never used. 2007-08-11 10:44:01 +00:00
Lari Nieminen
28ef68a2e2 Fixed Helicrom missing his portrait in the last scenario. 2007-08-11 10:31:41 +00:00
Dimitar Ilccov
270212b2a5 Applied [base_unit] to the Injured Sergeant unit...
...to reduce the size of the unit file
2007-08-11 10:22:36 +00:00
Ali El Gariani
24fa39aff8 Add a page "Unknown Unit" in the unit list,
...and links pointing to unencountered units goes there.

These links have a small (?) at the end (for indication and sparing space)

(The page "Unknown Unit" use the random leader unit image with a "?")
Please improve the text of it this page.
2007-08-11 02:21:29 +00:00
Patrick Parker
0b6cc6f9b4 replace some uses of t_string value() with base_str()
add a comment explaining the difference
2007-08-11 02:15:27 +00:00
Ali El Gariani
ec6b7752f9 Remove ToD coloring and brightening of off-map background tiles
fix inconsistant highlighting of fog transitions

slightly bigger and multi-hex attack direction indicator

in tiny-gui, now the movement hint also display the terrain defense.

the numbers of "show enemy moves" are now on top of fog and doesn't
mix with those of the movement hint
2007-08-11 02:11:37 +00:00
Ali El Gariani
1b1a53c316 [[Remove a cheat and dpo some UI tweaks]]
* apply "black stripes" on off-map tiles when active.

* fixed incorrect displayed reachable zone when moving next to an enemy
  in special ZoC cases (skirmish or lvl0)

* Remove the "black stripes" of the enemy that we want to attack.

* fixed a bug-cheat allowing super-ranged attack in some special cases
2007-08-11 02:04:38 +00:00
Patrick Parker
a8e72a479c explicit cast to int (thanks hajo) 2007-08-10 23:56:22 +00:00
uso
9bc6613ff3 enable "teamchat" for observers in multiplayer games 2007-08-10 22:49:55 +00:00
Taurus
69dd48409d Fixed a few typos and broken Event 2007-08-10 22:42:55 +00:00
Ali El Gariani
b550c9561d Fix a warning/erroe spotted by freim 2007-08-10 18:06:13 +00:00
Jérémy Rosen
8194728a99 fix compilation warning 2007-08-10 18:03:59 +00:00
Ali El Gariani
d5ceef27ad Rewrite (and so remove obsolete code), optimize and improve the footsteps path.
- bend the path when needed (with a real angle in the hex where the
  direction is changing)

- use half-hex path for the origin and destination (instead of zero or
  too much steps)

- fix incorrect left-right footsteps sequence

- use caching (previously no cache for flop() and volatile cache for flip())
2007-08-10 17:28:40 +00:00
Ali El Gariani
6909c4cb1e New and better (i think) footsteps images for a new bended path system
(in next commit)

- use half hex images, put them in a specific directory (use 12 images
  instead of 8)

- 3 directions instead of 2, so we can use 180-rotation instead of
  flipping (bad for left/right)

- more regular steps: needed for better angles and it looks less discontinous

- remove ugly "noise" of the north-south images
2007-08-10 17:25:03 +00:00
Hans Joachim Gurt
1c95ea701a Comments, Typo 2007-08-10 14:26:25 +00:00
Hans Joachim Gurt
7ff3f1ac73 Comments, Typo 2007-08-10 14:05:40 +00:00
Hans Joachim Gurt
ff85bbfcc2 Typo 2007-08-10 13:10:11 +00:00
Lari Nieminen
9edea9c795 Some Liberty tweaks to the last two scenarios. 2007-08-10 13:02:58 +00:00
Lari Nieminen
3316f43d01 Improved MOVE_UNIT to change the facing of the moved unit too,
and added a new LOYAL_UNIT macro (to obsolete UNIT, which is IMO
poorly named).
2007-08-10 12:55:30 +00:00
Lari Nieminen
d040e7b740 Oops, I broke Liberty in 2007-08-09T13:26:07Z!lari.nieminen@iki.fi; fixed. 2007-08-10 09:15:26 +00:00
Patrick Parker
d1ffc2cafb now the lava stuff should work as originally envisioned. 2007-08-10 04:48:32 +00:00
Patrick Parker
0d8b1daba8 new key store_location_as= to store generated chamber item locations 2007-08-10 02:45:35 +00:00
Patrick Parker
acb97a77a8 locations not on the map should instantly fail to location filter 2007-08-10 00:08:05 +00:00
Patrick Parker
2754934d56 fix a bad typo with the [and]-handling of the multi-location filter 2007-08-09 22:32:38 +00:00
Patrick Parker
85292bbe3e prevent destruction via base class for anonymous class xy_pred 2007-08-09 21:45:04 +00:00
Hans Joachim Gurt
b915739d37 Typo 2007-08-09 21:07:11 +00:00
Ali El Gariani
7b95e6af63 In tiny-gui, display the terrain defense and turn to reach
(previously only the later)

This fit into an hex and use fonts bigger than other parts of the UI.

I assume that you can read text bigger than some of your units :) This
also unify both UI about this (which is good for gameplay balance and
coding maintenance)
2007-08-09 19:45:43 +00:00
Ali El Gariani
e5631eb153 Stop using the predefined font (LARGE, SMALL, etc) for drawing text in a hex.
Really no point, they are already scaled differently by the zooming,
and changing these values will cause glitches outside of the hex (and
so block customization of the font size in the UI)

This is mainly to allow tiny-gui to simply divide by 2 font size used
in a hex (since hex are half-sized), and a finer tuning of the
movement hint
2007-08-09 19:26:25 +00:00
Dimitar Ilccov
edd0d5856b Fixing bug #9712
a missing full stop in a dialog line in HttT's 06_The_Siege_of_Elensefar.cfg
2007-08-09 17:20:22 +00:00
Dimitar Ilccov
bf6e1bdf77 Fixing bug #9711 - a typo in EI's 04b.The_Undead_Border_Patrol.cfg 2007-08-09 17:15:21 +00:00
Mark de Wever
4bac696917 rename map.x() to map.w() and map.y() to map.h().
remove the duplicates named map.xsize() and map.ysize().
2007-08-09 16:37:08 +00:00
Dimitar Ilccov
7f1ccd2fd6 Changing 'Home of the North Elves' scenario number from 20 to 20a 2007-08-09 16:03:32 +00:00
Dimitar Ilccov
490fe0030a Added the macros used from the two added scenarios...
...to the campaign's utils files
2007-08-09 15:59:37 +00:00
Dimitar Ilccov
b326b97341 Added the basis of new scenario into HttT
it is playable, but dull (the scenario events and story are to be
added later)
2007-08-09 15:56:28 +00:00
Dimitar Ilccov
5734ea9fa3 Completed HttT's 19c_Cliffs_of_Thoria scenario...
...and included it into campaign's storyline
2007-08-09 15:54:03 +00:00
Dimitar Ilccov
125f2f6026 Edited the unit file to use the portrait from 2007-08-09T15:40:51Z!mythological@mt.net.mk 2007-08-09 15:51:20 +00:00
Dimitar Ilccov
ce76ea40b3 Added a portrait for the Elvish Lady 2007-08-09 15:40:51 +00:00
Dimitar Ilccov
65fef79423 Added a dummy unit needed in HttT's 19c_Cliffs_of_Thoria scenario 2007-08-09 15:39:11 +00:00
Dimitar Ilccov
624130a34b Redistributed the village ownership...
...and rebalanced the enemy gold in some HttT scenarios
2007-08-09 15:36:57 +00:00
Taurus
d6d9583808 Fixed bug where no user_description is generated for Inarix 2007-08-09 15:10:26 +00:00
Nils Kneuper
0cc071da10 updated German translation 2007-08-09 14:57:23 +00:00
Ali El Gariani
833871b459 Fix old little bugs with show enemy moves:
- its numbers were mixed with those of the movement hint, now skip it
  when the later is there

- now show them on top of fog

- remove the little hack flushing the tile_stack before rendering text
Also group and reorganize the code placing these different numbers
info
2007-08-09 14:11:28 +00:00
Ali El Gariani
ae3e09708c Fix bug #9646: ToD changes not applied to mainmap in replay mode. 2007-08-09 13:59:34 +00:00