Commit Graph

15913 Commits

Author SHA1 Message Date
Nils Kneuper
c9b7f2ab97 updated French translation 2007-04-06 08:49:07 +00:00
Eric S. Raymond
35ccea00d5 Remove some unused definitions. 2007-04-06 08:29:53 +00:00
Eric S. Raymond
fcc22c3f61 Avoid multiple definitions of the same macro. 2007-04-06 08:26:27 +00:00
Eric S. Raymond
fd8dfe70c7 Who knew macro names actually have leading underscores sometimes?
Tweak macroscope to cope.
2007-04-06 08:23:31 +00:00
Eric S. Raymond
c0f5959abb Remove an unused definition. 2007-04-06 07:56:41 +00:00
Eric S. Raymond
7a7b0ca40b Improve comment handling and macro name recognition in macroscope. 2007-04-06 07:44:12 +00:00
Eric S. Raymond
35bf230d16 Put ./ in front of COPYING.txt so macroscope won't mistake it for a macro, 2007-04-06 07:21:33 +00:00
Eric S. Raymond
6e20dae685 Comment out a fossil in a discarded scenario.
Avoids a spurious error from macroscope.
2007-04-06 06:53:24 +00:00
Eric S. Raymond
86f550196e Teach macroscope not to treat macro formals as dangling references. 2007-04-06 06:39:56 +00:00
Eric S. Raymond
2aadbdf112 Expand away duplicated definitions that are used one time each.
(Found with macroscope.)
2007-04-06 06:30:44 +00:00
Eric S. Raymond
ba4650cbe5 Removing TsG local definitions of DOT and CROSS,
as they duplicate those in the utils directory. (Found with
macroscope.)
2007-04-06 06:05:59 +00:00
Eric S. Raymond
f57db7922a Drop local definition of TREMOR in HttT;
the one in utils is visually equivalent and has sound too.  (Found
with macroscope.)
2007-04-06 05:56:16 +00:00
Eric S. Raymond
752d11c925 More refactoring in macroscope. References are now objects. 2007-04-06 05:42:09 +00:00
Eric S. Raymond
7c09758819 macroscope check for unresolved macro references is *mostly* working... 2007-04-06 05:14:02 +00:00
Eric S. Raymond
391dbe45ac macroscope checkpoint before teaching it to count unresolved references. 2007-04-06 04:50:37 +00:00
Ali El Gariani
e26abc9738 Before starting the dragging, check the current mouse position
...instead of trusting the calling parameters. 

Remove now unused data from the header
2007-04-06 03:17:58 +00:00
Patrick Parker
6c196f4e20 fix bug #8816
- spawning new events and/or changing existing events should wait
  until the current event has been fully processed by all handlers
2007-04-06 03:13:55 +00:00
Eric S. Raymond
a761acd429 Macroscope gets refactored in preparation for doing more with it. 2007-04-06 03:10:35 +00:00
Eric S. Raymond
7f08591791 More documentation comments. 2007-04-06 00:30:31 +00:00
Eric S. Raymond
e9b4af2f99 Add some documentation.
Move unit.pl back to the main tools directory, as it needs the wml Perl module.
2007-04-06 00:22:22 +00:00
Eric S. Raymond
69f3aa45e8 Move WML-hacking tools from top-level utils directory to data/tools.
This is a clutter-reduction step, separating the packaging and code-integrity 
checks from the stuff for maintaining mainline campaigns.

I've also added documentation comments to some scripts.
2007-04-06 00:02:43 +00:00
Ali El Gariani
b162e20777 Update the dragging cursor with the simple set_dragging_cursor function
instead of relying on the big part of mouse_motion.
2007-04-05 23:25:36 +00:00
Eric S. Raymond
8e60c8463d Move tools stuff into utils (Ivanovic's suggestion).
This directory is going to go away.
2007-04-05 23:17:46 +00:00
Ali El Gariani
3be8b5ad6e Don't ask SDL to reload the same b&w cursor. 2007-04-05 22:35:33 +00:00
Eric S. Raymond
ca5c16c0d8 Ignore references in comments. 2007-04-05 22:26:45 +00:00
Eric S. Raymond
d079af233e Remove some backward-compatibility macros
(IMAGE_DEFENSIVE, IMAGE_DEFENSIVE_RANGE, IMAGE_DEFENSIVE_SHORT).
These were deprecated and marked for backwards compatibility only,
nothing in 1.3 mainline uses them, and all the 1.2 user-generated
content is going to have to be rewritten anyway because of the
map-format change.  So away with these.
2007-04-05 22:03:32 +00:00
Eric S. Raymond
19b0f7b3a2 Macro-cross-reference mapper added. 2007-04-05 21:38:11 +00:00
Jörg Hinrichs
d83d457950 Fixes bug #8748 (Ethiliel not showing up in TSG->Vengeance)
and lets cross fingers i didn't break anything else.
2007-04-05 20:03:09 +00:00
Eric S. Raymond
0abcf049b9 Utility macro reorganization step. 2007-04-05 19:04:26 +00:00
Eric S. Raymond
cdfefa95b6 Now that CREATE_UNIT is out,
we can rename the file where it used to live as teleport.cfg for
greater clarity.
2007-04-05 17:22:43 +00:00
Eric S. Raymond
a8c885fe18 Reorganization: put CREATE_UNIT neaer MOVE_UNIT where it clearly belongs. 2007-04-05 17:17:23 +00:00
Gunter Labes
98b0677183 fixed line endings and added svn:eol-style property (bug #8837) 2007-04-05 16:48:15 +00:00
David Philippi
0bec186702 danish translation update 2007-04-05 11:58:44 +00:00
Patrick Parker
6f99f6a06d rename location_filter to filter_location
hide the menu item if needs_select=yes and nothing was selected

prevent crash if setting menu items while executing that same item
2007-04-05 06:16:33 +00:00
Ali El Gariani
bd3de9a852 Remove dummies colour cursors used previously for mac. 2007-04-05 02:29:00 +00:00
Ali El Gariani
b85798ea5c Add a function to use b&w cursor...
...when the display is too busy to draw colour ones (b&w it's better
than invisible or freeze cursor). Must be call before doing heavy
stuff, but already works for the starting screen.
2007-04-05 02:11:46 +00:00
Ali El Gariani
acc0069d5b Fix drowning units when zooming.
Submerge height is a proportion, and so don't need to be change when
zooming
2007-04-04 20:30:46 +00:00
Ali El Gariani
f5ba8576fb For tiny gui, better fix for the height_adjust bug.
Now this data is halved when read from terrain
2007-04-04 20:20:49 +00:00
Ali El Gariani
93d60a4c14 For tiny-gui: add comment in configure option and code...
...about the needed scaling of images during install.
2007-04-04 19:34:13 +00:00
Ali El Gariani
d9e477d0ed For tiny gui, reverse previous change about different tile_size,
since images are scaled at install time (maybe warn about this in the
configure option ?)
2007-04-04 18:56:32 +00:00
Nils Kneuper
b4407617e5 updated Czech translation 2007-04-04 15:23:43 +00:00
Lari Nieminen
e5acc9d82a Fixes bug #8848. Please merge to 1.2. 2007-04-04 07:28:18 +00:00
Patrick Parker
7a5765f12b more powerful [filter_location],
now accepts radius=, [not], and [filter] to match units at the location
2007-04-04 04:54:27 +00:00
Patrick Parker
01b434e647 minor refinements of select raising with menu item events 2007-04-04 02:25:18 +00:00
Patrick Parker
ff806ae94d silene's patch #712: Fix an ODR violation
(note: feel free to commit patches yourself in the future)
2007-04-04 00:09:33 +00:00
Karol Nowak
e05b2445c5 Use channels assigned to sound sources to play the ToD change sound. 2007-04-03 14:20:47 +00:00
Nils Kneuper
bed5cb2647 updated Italian translation 2007-04-03 13:52:59 +00:00
Ali El Gariani
33c54c8048 Use the little feet for the b&w dragging cursor. 2007-04-03 07:55:10 +00:00
Ali El Gariani
711e4f2c86 Fix a false click after some dialogs...
...by using a more up-to-date drag distance and clean up some
redundancies with the dragging code.
2007-04-03 07:44:18 +00:00
Ali El Gariani
3d0a2cffbd Bigger thresold for the dragging and more cancel if needed.
This will prevent some blinking of the cursor.
2007-04-03 06:41:49 +00:00