Fabian Müller
2606b58471
Joystick preferences item access methods added.
2011-07-04 14:27:27 +00:00
Fabian Müller
df1fe2d2a0
Disabled joystick support per default.
2011-06-28 00:01:11 +00:00
Fabian Müller
a2009b15e0
Cleanups to the joystick support.
2011-06-24 19:53:07 +00:00
Fabian Müller
6d1e001800
Cleaned up the joystick code.
...
Introduced a deadzone to avoid random scrolling.
Reduced the map_location::direction enum to the original one.
2011-06-21 15:14:23 +00:00
Fabian Müller
d04fa3be80
Basic Joystick support.
2011-06-20 23:33:10 +00:00
Ignacio R. Morelle
4cb0d94763
Moved Unit Standing Animations toggle from Advanced Preferences to Display
2011-06-18 23:35:59 +00:00
Mark de Wever
e78f048b24
Make the minimum screen size 480x800.
...
Removes some only gui2 hacks to allow 320x240 to test gui2 and remove
the small gui specific code.
If it doesn't work nicely on 480x800 600x800 will be the minimum again.
2011-02-13 18:41:47 +00:00
Nils Kneuper
a9c341e278
"tiny gui support"-removal part 1:
...
removed all the if(n)defs from the sources (please review that I got
everything right!)
TODO: remove from build systems and data/
2011-02-12 16:20:24 +00:00
Mark de Wever
ecbabea838
New year copyright update.
2011-01-01 15:57:50 +00:00
Mark de Wever
7b3f8a7976
Remove unneeded includes.
2010-11-21 13:58:27 +00:00
Ignacio R. Morelle
b2a032226b
New hotkey (by default unassigned) to toggle the Animated Map option
...
Solves bug #15976 .
2010-11-20 14:54:03 +00:00
Guillaume Melquiond
eeb047de55
Fixed file headers so that they match the content of the COPYING file.
2010-09-01 21:12:38 +00:00
Mark de Wever
a99c78e0d8
Update doxygen comment.
...
The filename after the @file comment is optional (spotted by alink).
2010-07-26 21:32:18 +00:00
Guillaume Melquiond
751e99354b
Added another preference helper.
2010-07-24 08:47:59 +00:00
Guillaume Melquiond
24d4fb8b04
Fixed clock displayed as 'yes'.
2010-07-24 08:47:54 +00:00
Ali El Gariani
3f87582cf0
Rename "colour_cursors" to "color_cursors" in preferences file.
...
Old setting is lost and default is used (which is now "yes", see
previous commit)
2010-06-03 16:25:39 +00:00
Ali El Gariani
a5bfb4cff5
Rename "show_side_colours" -> "show_side_colors" in preferences file.
...
Reset the setting to default(yes), but trunk users don't care (was
broken 2 months)
2010-06-03 16:25:36 +00:00
Ali El Gariani
51ab72860e
Replace all uses of 'colour' by 'color' in code.
2010-06-03 01:47:06 +00:00
Guillaume Melquiond
2aea5c5cf3
Avoided costly roundtrip through strings.
2010-05-29 10:54:26 +00:00
Guillaume Melquiond
5e2c7350db
Avoided costly roundtrip through strings.
2010-05-29 09:21:38 +00:00
Guillaume Melquiond
523f46f51d
Merged calls to utils::string_bool...
...
...and preferences::get for basic preferences.
2010-04-05 06:00:41 +00:00
Guillaume Melquiond
fcd61e7b03
Added helper for querying a boolean preference.
2010-04-05 06:00:38 +00:00
Guillaume Melquiond
01e0010adf
Removed hardcoding of boolean names when storing values into config object.
2010-03-27 10:59:17 +00:00
Guillaume Melquiond
1896b603f1
Prevented t_string non-const references from being returned by functions.
...
(Original patch #1139 by Frank Richter.)
This avoids leaking an implementation detail from the config class and
opens the door to a considerable reduction of the memory footprint of
lexical data.
2010-03-27 09:32:58 +00:00
Mark de Wever
92f5f92ce5
New year copyright update.
2010-01-01 13:16:49 +00:00
Tomasz Śniatowski
439618fe56
move editor preferences to a separate file
2009-08-22 11:57:40 +01:00
Karol Nowak
b0d4f5b133
Merge branch 'ellipse_hotkey'
2009-06-24 22:50:27 +00:00
Guillaume Melquiond
789736ac91
Removed specialized domains from log.hpp,
...
...so that adding a new domain no longer forces to recompile the whole
game.
2009-04-24 23:18:31 +00:00
Mark de Wever
97f999a3f3
Revert the rest of 2009-04-10T19:20:49Z!koraq@xs4all.nl.
...
2009-04-11T02:28:03Z!shadowm@wesnoth.org reverted only a part of the commit. Next time when you
want to revert a commit look what the *entire* commit does. Most of my
patches and all of my cleanups only try to do one thing, so revert
them entirely or not.
2009-04-11 10:00:20 +00:00
Mark de Wever
57ca85fb76
Remove unneeded includes.
2009-04-10 19:20:49 +00:00
Guillaume Melquiond
333fffb5fc
Removed pointers to config.
2009-04-05 09:44:11 +00:00
Guillaume Melquiond
60808a88ba
Got rid of pointers to config objects. Removed code duplication along the way.
2009-04-04 17:51:20 +00:00
Guillaume Melquiond
9629856fed
Added a config::add_child variant...
...
...that does not create the child if it already exists.
2009-04-04 17:50:56 +00:00
Guillaume Melquiond
75937cea1a
Removed config::values.
2009-03-20 07:08:24 +00:00
Thomas Baumhauer
f6b630cda2
only set permissions of preferences file upon creation
2009-03-08 16:48:17 +00:00
Thomas Baumhauer
4db427e71e
hardcode preferences file permissions to 0600
2009-03-08 16:32:36 +00:00
Thomas Baumhauer
453f28ac4d
make the preferences file only owner readable if it contains the mp password
2009-03-08 14:17:49 +00:00
Nils Kneuper
94db27b43a
"real" removal of the gamma slider leftovers...
...
...(slightly related to the fix for bug #33148 since the mess is
getting cleaned up now...)
2009-02-28 16:12:49 +00:00
Mark de Wever
9703fe7186
Remove trailing whitespace.
2009-02-20 19:55:22 +00:00
Mark de Wever
e8888faaf9
Removed the gamma correction option.
...
The code caused quite some crashes and we're not convinced the option is really
that useful. The code has only been disabled to evaluate how many people will
miss the feature. If really not useful the code needs to be removed and the
preferences dialog display tab needs a cleanup to look good without this
option (the other options need to be moved upwards).
2009-02-15 10:42:36 +00:00
Jérémy Rosen
924bdedc5d
add an option to disable scrolling during oponent's turn.
...
The fine details might need feedback/tuning from the MP community
2009-01-10 15:37:33 +00:00
Patrick Parker
c81ae6895b
new advanced preference to choose whether middle-click scrolls...
...
...or warps (default=scrolls)
2009-01-05 04:47:48 +00:00
Mark de Wever
973a0a7d5c
Remove trailing whitespace.
2009-01-01 10:28:26 +00:00
Mark de Wever
a5d1d2e969
New year copyright update.
2009-01-01 10:27:41 +00:00
Mark de Wever
4db5627a13
Improved the map scrolling feature.
...
After 2008-11-21T21:05:43Z!kailoran@gmail.com fixed the scrolling outside the window, several
people noticed the threshold of 5 pixels is rather small. Added a
hidden preference named 'scroll_threshold' which is used to determine
the number of pixels. The threshold also defaults to 10 instead of 5,
more testing is needed to get a good default value.
2008-12-07 12:46:24 +00:00
Eric S. Raymond
9223460daa
Remove unused headers.
2008-11-09 04:35:13 +00:00
Mark de Wever
443b5f8d6c
Remove useless void.
2008-09-26 17:52:07 +00:00
Mark de Wever
99112e6cdb
Allow smaller resolutions with --new-widgets.
...
For testing at tiny gui resolutions it's handy to allow smaller
resolutions in the normal game. Added a hack for the old editor.
2008-08-25 15:35:39 +00:00
Mark de Wever
81c6a850ab
MSVC 6 cleanup.
...
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 2: Remove minimum and maximum and fix all callers.
2008-08-24 16:12:13 +00:00
Sergey Popov
1f30c95bef
Use _WIN32 macro instead of WIN32 to check for windows platform.
2008-08-21 07:12:13 +00:00