Commit Graph

15892 Commits

Author SHA1 Message Date
Eric S. Raymond
a830a8bc2c Typo fix. 2007-04-09 19:28:22 +00:00
Eric S. Raymond
65bfe50ec2 Delete find-unused-images and find-unused-sounds.
The macroscope tool is now more than good enough to supersede them.
2007-04-09 18:23:33 +00:00
Eric S. Raymond
9333ffe402 Delete some remnant references to Turin's old EI map. 2007-04-09 17:38:24 +00:00
Lari Nieminen
7bc55ac0fa Added a defense frame and a melee animation for Asheviere
(and removed the bogus death animation WML).
2007-04-09 16:30:27 +00:00
Ali El Gariani
2489de1dff Other optimization about terrain animations:
* shrouded village or animated terrain don't cause an update of the hex.

* little shortcut for map with many animated terrains (thanks Mordante).
2007-04-09 14:47:51 +00:00
Eric S. Raymond
0dfc0b967b Cope with a couple more broken-mage problems.
(Found by macroscope.)
2007-04-09 10:29:09 +00:00
Eric S. Raymond
d6fee431f3 Fix approximately 35 broken image references.
Move a number of old image files to slightly different names,
following the recent convention of separating frame numbers with a
dash.

(Found by macroscope.)
2007-04-09 10:17:38 +00:00
Ali El Gariani
23ae7b60ea Fix a big slowdown spotted on NR-2...
...but probably existing on all map with many villages and many
teams. The flag animation caused villages to be updated (number of
teams) times too often.
2007-04-09 10:06:15 +00:00
Eric S. Raymond
83b8c614e9 Fix 7 of approximately 90 unresolved-image references.
Some have FIXME comments that should be gone over by an art developer.

(Found by macroscope.)
2007-04-09 08:33:17 +00:00
Eric S. Raymond
3a200dfa8c Argument of macroscope is now optional. 2007-04-09 07:31:38 +00:00
John W. C. McNabb
7df7de65ac small improvements to pathfinding and unit underlying description name 2007-04-09 04:41:01 +00:00
Eric S. Raymond
c23559c3ab macroscope now handles wildcarded resource-file references. 2007-04-09 04:05:47 +00:00
Eric S. Raymond
b8165f2f9e Macroscope refactoring step. 2007-04-09 02:33:44 +00:00
Eric S. Raymond
531d865801 Macroscope's incidence of false reports of dangling references...
...for images is now low enough that information on real problems can
be extracted from the clutter.
2007-04-08 23:36:54 +00:00
Eric S. Raymond
90283760c4 Move an image so three references in UtBS:The_Struggle will actually find it.
(Found by macroscope.)
2007-04-08 23:29:15 +00:00
Eric S. Raymond
5e5547f7e6 Remove two unused and already deprecated macros that confuse macroscope. 2007-04-08 23:09:17 +00:00
Ali El Gariani
4344b3dda9 Apply patch #644, fix bug #8068
(horizontal mousewheel support and horizontal scrolling with the
alt-key) for the game and the editor. But only tested on linux with an
emulated mousewheel.
2007-04-08 23:00:18 +00:00
Mark de Wever
99655ea514 removed unused function unit::flag_rgb() 2007-04-08 21:25:56 +00:00
Mark de Wever
6e5c9ce069 removed unused function unit::team_rgb_range() 2007-04-08 21:21:03 +00:00
Mark de Wever
35087760de removed unused function unit::image_profile() 2007-04-08 21:15:46 +00:00
Mark de Wever
410d27f192 removed unused function unit::end_unit_turn() 2007-04-08 21:09:18 +00:00
Ali El Gariani
506d4a6d82 Change the horizontal mousewheel key to alt instead of shift.
Shift was already used by fast forward and the general opinion seemed
in favor of alt. Mac users will maybe disagree but let's hope that, in
the future, we can change this in preferences.
2007-04-08 19:05:34 +00:00
John W. C. McNabb
a3140b0d7c correct shortest path calculation...
...to properly calculate the movment cost of paths passing through ZOCs.
2007-04-08 18:13:46 +00:00
Mark de Wever
829888bee4 ported 2007-04-08T17:06:50Z!koraq@xs4all.nl fixes part 1 of bug #8882.
Not sure how to write this in a avarage player understandable way so
didn't add it to the player_changelog (the bug is very hard to run
into anyway)
2007-04-08 17:22:47 +00:00
Eric S. Raymond
36a962e8c8 Slightly more clever version of logic for cross-checking sound and music files. 2007-04-08 10:30:28 +00:00
Eric S. Raymond
3d26c70190 Sound crosschecks are reallly working now. 2007-04-08 09:11:02 +00:00
Eric S. Raymond
3676f78f7e Fix reference to nonexistent eagle.wav; point it at a gryphon shriek instead.
(Found by macroscope.)
2007-04-08 09:09:54 +00:00
Eric S. Raymond
6083767c77 Fix references to lightning.wav; they should be lightning.ogg.
(Found by macroscope.)
2007-04-08 09:06:33 +00:00
Eric S. Raymond
9cacb77a96 Resource validation is buggy.
Leave a temporary version that does macros only in the repo.
2007-04-08 04:14:28 +00:00
Eric S. Raymond
9d5b44c001 Deprecate two macros (one never used in mainline, one in HttT only)
because using the makes macroscope unable to validate .ogg references.
2007-04-08 03:53:58 +00:00
Eric S. Raymond
227c8f4d19 macroscope can now check image and sound resource reference consistency.
Some weird macros can confuse it, though.
2007-04-08 03:43:18 +00:00
Eric S. Raymond
4768190f4e A half-step towards consistency-checking resource references. 2007-04-08 03:09:50 +00:00
Ali El Gariani
63d11bb8a6 Starting to apply patch #644,
...Shift + mousewheel do a horizontal scrolling. The previous strange
horizontal scrolling system is removed.  I'm not sure about the shift
key (seems to be a Mac standard), maybe alt is better ?
2007-04-08 01:31:45 +00:00
Ali El Gariani
63149d0bfa After a user scrolling (arrows and screen border)...
...the new hex under the mouse is now highlighted without need to move
the mouse. The update is done at the end of the scrolling because a
continuous one "dances" between hex, specially if the scrolling is
horizontal.
2007-04-08 01:13:07 +00:00
Ali El Gariani
a489652dde [[Mouse and scrolling fixes]]
* Add a function to send a fake mouse motion to update the mouse
(cursor and effect on hex)

* Use it to update the highlighted hex after (middle and wheel) mouse
scrolling, without need to move the mouse anymore.
2007-04-08 01:00:01 +00:00
Eric S. Raymond
2af1b8eb19 Improve documentation, speed up processing in macroscope. 2007-04-07 23:09:56 +00:00
Eric S. Raymond
72e8eb4602 Macroscope can now process multiple directories specified on the command line,
and so can be used for UMC.

I've added a Makefile to data/tools that invokes this in several ways
useful for performing sanity checks.
2007-04-07 22:30:54 +00:00
Patrick Parker
3ccd7b3b15 new [store_turns] tag to store the number of turns remaining 2007-04-07 21:32:52 +00:00
Ali El Gariani
79275acd6e Submerged units are no longer drowned when zooming. 2007-04-07 20:58:25 +00:00
Ali El Gariani
2f837d5b4f fix problems with colour cursor in fullscreen
(slow speed, bug #7555 and bug #6052).
2007-04-07 20:50:28 +00:00
Eric S. Raymond
ca0e68ef61 Added myself to the developer list at Ivanovic's suggestion. 2007-04-07 20:09:28 +00:00
Patrick Parker
1020af2c47 correct a few minor typos and errors 2007-04-07 19:55:30 +00:00
Eric S. Raymond
80228d5536 Cleanup before next round of extensions. 2007-04-07 17:22:29 +00:00
Mark de Wever
79c2e42a9d added deprecated_message WML tag and schedule deprecated macros for removal.
added a small test scenario-test to demonstrate how the messages will look.
2007-04-07 08:44:19 +00:00
Eric S. Raymond
f13c81ff91 Typo fixes and comments. Reorganization of the mutils macros is complete. 2007-04-07 08:04:17 +00:00
Eric S. Raymond
1902558730 Move the remaining unsorted util macros to a new topic file. 2007-04-07 08:01:35 +00:00
Eric S. Raymond
267be2a36c Start a deprecated-utils.cfg file for stuff slated to be removed. 2007-04-07 07:58:29 +00:00
Eric S. Raymond
a73ca1fdb5 Report my recent work. 2007-04-07 07:56:16 +00:00
Eric S. Raymond
9188eb76ea Utils macros reorganized for new topic separations. 2007-04-07 07:03:12 +00:00
Eric S. Raymond
51ad1a1498 Create a new topic file for macros that do images and overlays and effects. 2007-04-07 06:55:40 +00:00