Commit Graph

18485 Commits

Author SHA1 Message Date
Mark de Wever
fea108269b Fix a glitch in the transition on the offmap tiles,
which alink already warned about.
2007-08-12 15:45:26 +00:00
Mark de Wever
60bb1b1b71 Made the offmap tiles themable in the map, the minimap stays as is. 2007-08-12 14:22:41 +00:00
Mark de Wever
b4c9f875fe Make sure the image cache is flushed when a new builder object is created,
also make sure the existance cache is flushed. The previous behaviour
caused the upcomming themable offmap tile to fail.
2007-08-12 14:09:37 +00:00
Mark de Wever
745a49d8e8 Fixed the debug code,
the error wasn't noticed before since to code is commented out.
2007-08-12 11:07:28 +00:00
Nils Kneuper
93f80f4abf updated Polish translation 2007-08-12 10:20:21 +00:00
Richard Kettering
e8f3693bb6 Updated swordsman idle animation to match base frame. 2007-08-12 08:10:30 +00:00
Mark de Wever
5d5a7e1ef7 Fixed a small comment typo. 2007-08-12 08:09:59 +00:00
Mark de Wever
719a582a19 Changed the not ToD rendering of off map tiles...
...to no longer use the "terrain/off-map/" path hack. Removed some old
code for the proof-of-concept version.
2007-08-12 07:18:57 +00:00
Richard Kettering
4ff47be20e Updated idle animation for Lieutenant. 2007-08-12 03:42:02 +00:00
Richard Kettering
6136ee07ed Updated idle animation for Lieutenant. 2007-08-12 03:40:55 +00:00
Hans Joachim Gurt
07c92f7ee8 Colors for unitlist.
Highlight leader, HP, XP, location, movement in
red/yellow/green.\nStatus-column for slowed, poisoned etc.
2007-08-12 02:08:44 +00:00
Bruno Wolff III
e67fc73a4b Give random traits to ambusher that wasn't given any fixed traits.
We should be more careful about setting random_traits to manually set
units when fixed traits aren't specified as it makes these units
inconsistant with normally recruited units.
2007-08-12 01:17:26 +00:00
Lari Nieminen
f891839931 Cleaned up CHG_TYPE a bit. 2007-08-11 23:13:12 +00:00
Lari Nieminen
31d5c1407c Removed a silly debugger unit. 2007-08-11 22:38:09 +00:00
Hans Joachim Gurt
8cd97de25b Typos, some formatting 2007-08-11 22:15:05 +00:00
Nils Kneuper
48111d0a7f pot-update 2007-08-11 21:35:07 +00:00
Mark de Wever
7629457cb0 Added some comment which will cause an error when enabling the exception. 2007-08-11 18:45:35 +00:00
Hogne Håskjold
a75cf64c01 Made it slightly more transparent to reduce flickering while scrolling 2007-08-11 18:31:16 +00:00
Ali El Gariani
e6f2f92e30 Better fix for the adjacant-or-not attack.
Fix and undo bug spotted by freim and do less useless things (fog...)
when no moves needed
2007-08-11 18:05:47 +00:00
Mark de Wever
4afe2f4e42 The grid in the editor is scaled properly again...
...and no longer shown in the offmap area. Updated the changelog.
2007-08-11 17:42:52 +00:00
Mark de Wever
c014c019f9 The border should now be between 0.0 and 0.5 hexes,
this might be increased after more evaluation. Due to this change the
display code doesn't need to be modified.
2007-08-11 16:52:23 +00:00
Ali El Gariani
3667cb18c8 fix the url of footsteps images, thanks freim 2007-08-11 16:39:14 +00:00
Hans Joachim Gurt
ae0cdfe774 Typos 2007-08-11 15:50:22 +00:00
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