Mark de Wever
c47f2fc58a
Cleaned up the macros and used more macros for the button.
...
Also add a definition for tiny gui in the button, other widgets will follow.
2008-08-21 17:56:33 +00:00
Mark de Wever
855efb054a
Initialize all members.
2008-08-21 16:57:22 +00:00
Tomasz Śniatowski
cd83c701a1
editor2: remove partial redo,
...
...it was unused anyway (use normal redo to redo a partial undo)
2008-08-21 17:52:54 +01:00
Tomasz Śniatowski
41942e2288
Another take on the editor2's undo with regards to mouse drags:
...
Normally undo entire drags as one action, but allow a "partial undo"
(default: ctrl+z) to undo bit-by-bit like the old editor.
Note: when you undo like that the actions become permanently
separated. Normal undo and redo will treat the undone bit as a
standalone action.
2008-08-21 16:57:12 +01:00
Bartek Waresiak
ab2ae29130
Removed obsolete tokens
2008-08-21 13:13:05 +00:00
Mark de Wever
8ea8ffe396
Comment out an unused parameter and remove an unused one.
2008-08-21 10:50:10 +00:00
Mark de Wever
d5303889e9
Fix a typo.
2008-08-21 10:45:44 +00:00
Tomasz Śniatowski
027386062b
rm dead code
2008-08-21 10:37:13 +01:00
Tomasz Śniatowski
b5a4da48a5
<Ivanovic> the wesnoth --help entry for '-e' needs one more space before it
2008-08-21 10:23:16 +01:00
Sergey Popov
1f30c95bef
Use _WIN32 macro instead of WIN32 to check for windows platform.
2008-08-21 07:12:13 +00:00
Eric S. Raymond
e86ea79456
Better name and definition of a no-recall-list nacro, suggested by Sapient.
2008-08-21 01:53:31 +00:00
Tomasz Śniatowski
e683ce327c
changelogs entries for editor2's drag undo change and selection overlay
2008-08-21 01:08:06 +01:00
Tomasz Śniatowski
cb652e672a
editor2: more pronounced selection display
...
Draw a bold grid around selected hexes instead of just highlighting
them. Should be very noticeable both with and without the standard
grid active.
2008-08-21 01:02:44 +01:00
Tomasz Śniatowski
7e8d200ef9
mark files that are unused at the moment
2008-08-21 00:44:29 +01:00
Tomasz Śniatowski
3335b9c4a3
editor2: followup to 2008-08-20T21:14:42Z!kailoran@gmail.com:
...
...fix issues with click-drag undo in paint and select operations
(separate fixes). Get rid of editor_action_select_xor. Some doc
comments that got caught in the way.
2008-08-21 00:40:44 +01:00
Eric S. Raymond
4eae029023
Restore some filter elements restricting to units on map...
...
...that I removed in 2008-07-13T16:27:37Z!crazy-ivanovic@gmx.net and 2008-07-13T16:37:29Z!crazy-ivanovic@gmx.net,
mistakenly believing them to be no-ops.
2008-08-20 21:30:23 +00:00
Eric S. Raymond
ecb1b560aa
Typo fix.
2008-08-20 21:15:46 +00:00
Tomasz Śniatowski
24d96251e3
editor2: drag actions create one large undo action...
...
...instead of one undo per new hex the mouse is moved on
2008-08-20 22:14:42 +01:00
Tomasz Śniatowski
9323a46652
editor2: tweak refresh behaviour when auto_update_transitions is off
2008-08-20 22:12:26 +01:00
Pauli Nieminen
d747213a94
Added changelog entry for not giving control automaticaly for AI
2008-08-20 20:36:52 +00:00
Pauli Nieminen
2b6f8637f2
Prevent dummylocales compilation in windows
2008-08-20 20:36:41 +00:00
Pauli Nieminen
b4168aaced
Changed side_drop handling not to automaticaly assign AI for side...
...
...if leader is dead (bug #12186 )
2008-08-20 20:35:57 +00:00
Eric S. Raymond
f52b29f4c0
Address bug #12185 : Cannot recruit more than 99 castle tiles away.
2008-08-20 18:57:50 +00:00
Mark de Wever
1dbe578582
Initialize all members.
2008-08-20 18:46:21 +00:00
Mark de Wever
7a5211d600
Made some code changes so all members can be initialized and initialized them.
2008-08-20 18:42:09 +00:00
Eric S. Raymond
7a2ddfa466
Remove unneeded filter qualifier.
2008-08-20 18:36:12 +00:00
Eric S. Raymond
209066dfe9
Remove redundant filter qualifier.
2008-08-20 18:33:32 +00:00
Eric S. Raymond
5498ae2172
Reove another magic 99.
2008-08-20 18:31:36 +00:00
Eric S. Raymond
38b7104b98
Misspelling fix: 'parley' and 'parlay' are different words.
2008-08-20 18:29:52 +00:00
Eric S. Raymond
c497b835f7
Replace magic turn number 99 with FOREVER.
2008-08-20 18:20:36 +00:00
Gunter Labes
2e2485b04e
State that you only need to run autogen.sh when building from SVN, again.
2008-08-20 17:57:15 +00:00
Mark de Wever
1d41706a48
The proper fix for the listbox hack of yesterday.
...
The twindow::draw() clears the dirty flag at the proper time so
widgets shouldn't do it anymore.
2008-08-20 17:45:12 +00:00
Eric S. Raymond
ce48025f87
Prevent a false grep hit on 99...
...
...(to makehunting down instances of magic constants easier)
2008-08-20 17:42:43 +00:00
Eric S. Raymond
bedada8475
Factor out magic constant 99 in WML movement costs, renaming it UNREACHABLE.
2008-08-20 17:38:42 +00:00
Mark de Wever
d51f0e1783
Initialize all members.
2008-08-20 17:36:49 +00:00
Sergey Popov
439b66e82a
Use "git-svn find-rev HEAD" to find revision of git-svn.
2008-08-20 17:07:28 +00:00
Eric S. Raymond
19a9bf8ce1
Refactor out a magic constant.
2008-08-20 17:06:27 +00:00
Lari Nieminen
463c5a88c1
Fixed bug #12033 .
2008-08-20 15:37:19 +00:00
Eric S. Raymond
9d8d004734
Address incorrect use of carryover bonus in bug #11607 .
2008-08-20 14:37:02 +00:00
Tomasz Śniatowski
f9162f8925
fix code<->comment desync
2008-08-20 15:21:16 +01:00
Sergey Popov
61469a774b
Fixed crash when installing dummy locales if locales dir doesn't exist.
2008-08-20 14:00:49 +00:00
Pauli Nieminen
a5ed42c1dd
Broken dummylocales runtime configuration implementation. installation fails
2008-08-20 13:55:07 +00:00
Tomasz Śniatowski
ebc01fba94
editor2: rotate clipboard 60 degrees cw/ccw feature, map_fragment doc comments
2008-08-20 10:33:51 +01:00
Pauli Nieminen
88cb10df99
Improved test website install script.
...
(still missing prompt for database connection information)
2008-08-20 07:20:06 +00:00
Mark de Wever
81f82c0384
Now that MSVC 6 is no longer supported start to remove some helper code...
...
...to work around problems in that compiler. The first step is to
comment out the code and replace it with new helper code that uses the
standard. The second step is to remove the helper code and fix all
callers.
Patch 3/3 for step 1: Use std::string::push_back.
2008-08-20 05:14:30 +00:00
Mark de Wever
1c7b8f723a
Now that MSVC 6 is no longer supported start to remove some helper code...
...
...to work around problems in that compiler. The first step is to
comment out the code and replace it with new helper code that uses the
standard. The second step is to remove the helper code and fix all
callers.
Patch 2/3 for step 1: Use std::min and std::max.
2008-08-20 05:13:45 +00:00
Mark de Wever
2c537d11d3
Now that MSVC 6 is no longer supported start to remove some helper code...
...
...to work around problems in that compiler. The first step is to
comment out the code and replace it with new helper code that uses the
standard. The second step is to remove the helper code and fix all
callers.
Patch 1/3 for step 1: Comment out global.hpp.
2008-08-20 05:13:42 +00:00
Eric S. Raymond
4139beb587
Add a comment noting that direct-recursion detection at runtime...
...
...is a dumb idea; this would be better done with a static check in
wmllint, which wouldn't impose runtime ovrerhead. See bug #11160 .
2008-08-20 01:27:06 +00:00
Sergey Popov
a059f780d7
Added support for using windows GTK SDKs during cross-compile...
...
...targeting win32 to pango check.
2008-08-19 22:01:21 +00:00
Nils Kneuper
e61c3fa31c
post release version bump to 1.5.3+svn
2008-08-19 21:39:56 +00:00