Commit Graph

15803 Commits

Author SHA1 Message Date
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
Ali El Gariani
fd07fd15f3 allow use of different filenames for colour and b&w cursors
bring a little closer the "get cursor position" and "blit cursor"
parts in the code

add a function to set/unset dragging cursor
2007-04-03 06:04:17 +00:00
Patrick Parker
a08b654924 correct an off-by-one error with replay event location 2007-04-03 04:49:12 +00:00
Patrick Parker
33f753c191 set_menu_item events should work in MP now
(also transmits previous select event)
2007-04-03 04:09:36 +00:00
Patrick Parker
cff5b1dcb2 some corrections to 2007-04-03T00:34:54Z!patrick_x99@hotmail.com;
now it should do as it was originally intended, and no more.
2007-04-03 01:27:14 +00:00
Patrick Parker
f98eac0b02 fix bug #8408: Allied healer+4 does not stop poison 2007-04-03 00:34:54 +00:00
Ali El Gariani
429c4ecb6b Simplify a bit the hiding bw-cursor code.
I hope it looks nice on all  systems now.
2007-04-03 00:32:45 +00:00
Patrick Parker
c69908d739 accidentally committed a debug line in actions.cpp :( 2007-04-02 23:56:00 +00:00
Patrick Parker
8a1407c977 revert 2007-03-07T12:00:15Z!benoit.timbert@free.fr
- fix the bug with healing additional times during the side turn of
  allies with healing

- note: this means patch #689 was incorrect and bug #8408 is still open
2007-04-02 23:48:47 +00:00
Jörg Hinrichs
9ad1b4b88e changelog for observer replays 2007-04-02 22:55:18 +00:00
Jörg Hinrichs
bb41a4a5e8 Observers are capable of saving the replay of a game again. 2007-04-02 22:52:48 +00:00