Commit Graph

46179 Commits

Author SHA1 Message Date
Anonymissimus
d43e6c6d24 add a macro for the unit setter which also checks for out of bounds 2011-06-27 16:13:34 +00:00
Anonymissimus
c829161d59 enable openmp in MSVC2008+standalone project files
needed dll: http://www.mediafire.com/?dqlpppu2vqdd0yl
(put into wesnoth project root/execution dir)
2011-06-27 16:13:16 +00:00
Anonymissimus
52f4069198 fixed indentation 2011-06-27 16:12:59 +00:00
Ignacio R. Morelle
55c1a2e47a gui2/simple_item_selector: Hide the message label when it's empty...
...so it doesn't take up space

Some day there should be a way to specify in the dialog WML to
auto-hide a control with an empty label.
2011-06-27 09:47:21 +00:00
Ignacio R. Morelle
b65cba6f96 gui2: campaign_difficulty, simple_item_selector:
...Set standard margins for the central listbox widget (looks nicer this way)
2011-06-27 09:36:28 +00:00
Ignacio R. Morelle
840a5f9e30 Reduce code duplication in the game and editor...
...by reusing gamemap functions for generating terrain reports

This way we don't need to hunt this again if the report format changes.
2011-06-27 09:26:26 +00:00
Ignacio R. Morelle
d832773e07 Lua: wesnoth.get_terrain_info() can now retrieve .editor_name 2011-06-27 07:19:55 +00:00
Ignacio R. Morelle
02788547c6 Hide deprecated terrains from the editor palette...
...while someone decides when to kill them
2011-06-27 07:19:40 +00:00
Ignacio R. Morelle
ae93c64411 I deserve a changelog entry and section of my own for this crappy effort 2011-06-27 06:59:48 +00:00
Ignacio R. Morelle
abb1fb6705 Re-rationalization of terrain names, part 2
Interested people look at the full commit message in SVN instead of
CIA's crappy notifications.

* All nameless terrains were given generic-enough names.

* "Aquatic Village" became simply "Village"; "Sunken Castle/Keep" is
  "Ruined Castle/Keep"

* "Encampment" and "Encampment Keep" are special cases, discuss.

* "Snow Hills" etcetera are just "Hills" now
2011-06-27 06:57:47 +00:00
Ignacio R. Morelle
52ae413bd1 Re-rationization of terrain names, part 1
Eleazar's "rationalization" of terrain names in 2010-10-22T20:51:37Z!me@jwbjerk.com,
2010-10-22T21:27:44Z!me@jwbjerk.com left quite a bunch of terrains with editor_name
attributes but no name attribute. While it may theoretically make
sense to inherit the name attribute from an aliased terrain, this
creates new problems of its own when a terrain is aliased to more than
one type (which one to choose for name inheritance?). In my opinion it
is best to solve this in WML and not add more layers (heh) of
convolutedness to the terrain engine.
2011-06-27 06:33:30 +00:00
Dmitry Kovalenko
849a8ab765 Added a sticky_ field to lua CA.
Sticky CAs will now disable themselves after execution
2011-06-26 19:36:08 +00:00
Dmitry Kovalenko
74cf9b5ae3 Added a counter for sticky candidate actions and a comment for Crab 2011-06-26 18:51:43 +00:00
Anonymissimus
4a8ffbcd63 added support for slider and progress_bar widgets...
...to wesnoth.get_dialog_value

added support for text_box, slider, and progress_bar widgets to
wesnoth.set_dialog_value

(bug #18271, patch #2755 by Exasperation)
2011-06-26 18:07:50 +00:00
Timotei Dolean
96daba9e2d eclipse plugin: Select another existing install as default...
...if we just deleted the default
2011-06-26 15:08:01 +00:00
Nils Kneuper
382b1a5b09 updated Irish translation 2011-06-25 20:14:38 +00:00
Timotei Dolean
37817ebae3 eclipse plugin: Update the user's manual to reflect the current state 2011-06-25 19:58:36 +00:00
Timotei Dolean
6a46bee641 eclipse plugin: Update the dev manual to reflect current state 2011-06-25 19:58:26 +00:00
Timotei Dolean
a8e6dfe319 eclipse plugin: Remove an invalid file from build.properties 2011-06-25 19:58:13 +00:00
Timotei Dolean
0d744fcac6 eclipse plugin: Strip content and leave it in the correct section 2011-06-25 16:36:11 +00:00
Timotei Dolean
025b4eec2a eclipse plugin: Update the makefile 2011-06-25 16:35:57 +00:00
Timotei Dolean
6e0f2a8458 eclipse plugin: Move the license aswell 2011-06-25 16:35:34 +00:00
Timotei Dolean
5e732ce39b eclipse plugin: Move readme to a better place 2011-06-25 16:35:02 +00:00
Anonymissimus
200695fc20 based decision whether a unit type has random traits on whether...
...all of them have [trait]availability=musthave

(fix for a bug report in the forum
http://forums.wesnoth.org/viewtopic.php?f=12&t=34232)
2011-06-25 16:21:42 +00:00
Fabian Müller
43b6d9c5bd Added handling of the joystick events to the gui2 event handler. 2011-06-25 16:17:42 +00:00
Timotei Dolean
8be29607a8 eclipse plugin: rename 'utils/java' to 'utils/umc_dev' 2011-06-25 14:18:19 +00:00
Nils Kneuper
12f8092a75 updated Vietnamese translation 2011-06-25 07:58:24 +00:00
Fabian Müller
9fb3a3c6a6 Added getters for hotkeys that are based on joybutton and joyhat events. 2011-06-25 04:56:53 +00:00
Ignacio R. Morelle
dd9400833f wesnothd: Add trailing newline after inactive account notice...
...in /INFO for consistency
2011-06-24 21:45:46 +00:00
Ignacio R. Morelle
65f8d716bf Remove placeholder string that leaked into 2011-06-24T08:48:15Z!shadowm@wesnoth.org 2011-06-24 21:33:05 +00:00
Fabian Müller
a2009b15e0 Cleanups to the joystick support. 2011-06-24 19:53:07 +00:00
Timotei Dolean
103fcd5f98 eclipse plugin: Fix some issues for by FindBugs 2011-06-24 18:21:48 +00:00
Timotei Dolean
3929dace88 eclipse plugin: Remove dead variable
Issue found by FindBugs
2011-06-24 18:21:37 +00:00
Timotei Dolean
341dfbf0a9 eclipse plugin: Remove unused method 2011-06-24 18:21:27 +00:00
Timotei Dolean
6278e986ba eclipse plugin: Remove the working set code...
...since we implemented the multiple installations
2011-06-24 18:21:17 +00:00
Timotei Dolean
b95fd50c28 eclipse plugin: setup install when starting the game aswell 2011-06-24 18:20:46 +00:00
Fabian Müller
97eb3bac1c Fixed misspelling. 2011-06-24 17:05:19 +00:00
Timotei Dolean
37727f285f eclipse plugin: Add a method that handles all...
...logic for setting up an existing/new install
2011-06-24 15:19:26 +00:00
Timotei Dolean
476eccdafa eclipse plugin: Allow users to save preferences...
...when trying to save an empty install
2011-06-24 15:19:15 +00:00
Timotei Dolean
d8c341eac1 Fix the MSVC 10 to use the correct startup directory when...
...starting the debugger
2011-06-24 15:19:06 +00:00
Timotei Dolean
385536a891 eclipse plugin: Remove existing paths from an install...
...when we remove it
2011-06-24 15:18:55 +00:00
Timotei Dolean
cf286d7c2f eclipse plugin: Remove the special semantics 'Default'...
...from the project property page aswell
2011-06-24 15:18:45 +00:00
Timotei Dolean
46514b95e4 eclipse plugin: Update the changelog 2011-06-24 15:18:35 +00:00
Timotei Dolean
46e0deab13 eclipse plugin: Get rid of the semantics of 'Default' install...
...name, and simplify a bit the logic of the InstallsPage
2011-06-24 15:18:26 +00:00
Timotei Dolean
41a436d1d4 eclipse plugin: Refactor the 'CheckPathsAreSet' to use an install 2011-06-24 15:18:15 +00:00
Timotei Dolean
dd15c8434a eclipse plugin: Launch the game with the selected project's install if any 2011-06-24 15:18:04 +00:00
Timotei Dolean
02c8a5bd36 eclipse plugin: Remove redundant code 2011-06-24 15:17:53 +00:00
Timotei Dolean
72eca299f3 eclipse plugin: Refactor the logic behind the install paths 2011-06-24 15:17:44 +00:00
Timotei Dolean
27183742ce eclipse plugin: Remove an attribute that made...
...Eclipse choke that it cannot restore the perspective.
2011-06-24 15:17:34 +00:00
Timotei Dolean
e198baae4c eclipse plugin: Save the workspace before exiting.
This gets rid of some annoying warning messages
2011-06-24 15:17:24 +00:00