Commit Graph

34336 Commits

Author SHA1 Message Date
Mark de Wever
b7f00d577e Changelog update 2009-07-19 07:03:07 +00:00
Mark de Wever
6b2e87d5ab Fix minimap no clipping in the new wiggets. 2009-07-19 07:02:59 +00:00
Mark de Wever
48a26aee1e Minor lobby layout improvements.
Still not as wanted but there are some more issues which need to be
fixed first:

- listbox shouldn't need to call resize after adding items (this is
  probably also the cause of the rather slow display updates of the
  lobby.)

- when listboxes have the vertical grow flag they don't work as
  expected.

Once these items are fixed more lobby improvements will follow.
2009-07-19 07:02:50 +00:00
Mark de Wever
8f3a947506 Fix widget order in GUI_FORCE_WIDGET_MINIMUM_SIZE.
With this fix the mouse focus is send to the containing widget instead
of the spacer.
2009-07-19 07:02:45 +00:00
Mark de Wever
49336dd48b Remove so dummy headers for the lobby listbox.
Ilor I'm not sure which header ids you use so left the rest of them,
please have a look yourself.
2009-07-19 07:02:39 +00:00
Mark de Wever
1879dbee4c Allow keypad enter to work as enter in lobby. 2009-07-19 07:02:34 +00:00
Gregory Shikhman
6964003f6a Added zoom level support to the map tiler and to the google map.
Still need to create a tileserver on the web backend so that
non-existent tile locations can correctly be served up with black
tiles
2009-07-19 03:11:00 +00:00
Gregory Shikhman
8717f84c83 Initial work on Wesnoth map overlay for google maps API,
...wrote a python script to take a map image emitted by wesnoth and
split it into the map tiles that the google maps api likes
2009-07-19 01:01:08 +00:00
Mark de Wever
41338719be replay header cleanup. 2009-07-18 19:24:20 +00:00
Mark de Wever
91d2b956e2 Convert mp server list to linked widgets new style. 2009-07-18 19:16:12 +00:00
Mark de Wever
ba51a0e823 Add a linked widget feature in the configs. 2009-07-18 19:15:50 +00:00
Mark de Wever
006f19c087 Remove an unused parameter. 2009-07-18 18:26:57 +00:00
Guillaume Melquiond
11a165cac2 Removed redundant parameters from unit preview. 2009-07-18 17:58:44 +00:00
Mark de Wever
510ffc9c3e Properly set the include path for fribidi. 2009-07-18 17:33:44 +00:00
Gregory Shikhman
36a0a967ad Minor interface tweak, added Google Maps API key 2009-07-18 17:30:52 +00:00
Gregory Shikhman
b898862aa9 --screenshot code refactoring 2009-07-18 17:03:36 +00:00
Guillaume Melquiond
6dbbed3a96 Removed redundant parameters from move_unit.
Also fixed a data corruption if a unit changed side while moving.
2009-07-18 16:45:18 +00:00
Guillaume Melquiond
9c74e34262 Removed redundant parameters from unit_can_move. 2009-07-18 16:45:14 +00:00
Guillaume Melquiond
393dea2bb4 Removed redundant parameters from apply_shroud_changes. 2009-07-18 16:45:08 +00:00
Tomasz Śniatowski
cd0b7b5787 vcproj update 2009-07-18 16:48:31 +01:00
Tomasz Śniatowski
5ae38e8898 split random.hpp into creating separate headers...
...for the rng and simple_rng class
2009-07-18 16:48:14 +01:00
Tomasz Śniatowski
6aea43e73d fix build error in msvc-only code 2009-07-18 16:47:59 +01:00
Tomasz Śniatowski
70ffa03930 make the server call srand() in main 2009-07-18 16:47:43 +01:00
Tomasz Śniatowski
a546d6473d vcproj update 2009-07-18 16:47:26 +01:00
Guillaume Melquiond
cc46eaa5be Removed unneeded entry. 2009-07-18 15:41:08 +00:00
Guillaume Melquiond
07e482b26f Removed redundant parameters from recalculate_for and clear_shroud. 2009-07-18 15:41:04 +00:00
Guillaume Melquiond
cafe288067 Removed redundant parameters from timeofday_at and combat_modifier. 2009-07-18 15:41:00 +00:00
Guillaume Melquiond
592904a761 Removed redundant parameter from advance_unit. 2009-07-18 15:40:57 +00:00
Guillaume Melquiond
797db54105 Removed redundant parameters from calculate_healing. 2009-07-18 15:40:53 +00:00
Mark de Wever
a5973f35c3 Remove an unused parameter. 2009-07-18 15:10:49 +00:00
Mark de Wever
fbb88d3cc6 Remove an unused parameter. 2009-07-18 15:10:43 +00:00
Mark de Wever
b3ac1e7b59 Remove unused parameters. 2009-07-18 15:10:38 +00:00
Guillaume Melquiond
176bb4c3ce Removed get_state_of_game. 2009-07-18 14:17:50 +00:00
McShark
f7809deec1 Update according to recent file changes 2009-07-18 13:23:50 +00:00
McShark
f9777b57b3 Fix compiler warning about "no newline at end of file" 2009-07-18 12:54:17 +00:00
Guillaume Melquiond
db52164d6b Fixed svn properties. 2009-07-18 12:44:56 +00:00
Mark de Wever
5e09eaa535 Add the linked group definitions to the config.
This allows the user to set linked widget groups. The code to also set
widgets in the groups hasn't been included yet, that's still WIP.
2009-07-18 12:24:25 +00:00
Mark de Wever
7c91b81aa5 Also set the disable linked state in the listbox. 2009-07-18 12:24:20 +00:00
Mark de Wever
87cf9ea6c9 Add twindow::has_linked_size_group().
This allows validation of the groups before trying to add them and die
in the assert.
2009-07-18 12:24:16 +00:00
Mark de Wever
3160e54dc1 Add a flag to disable listbox linked size.
The default is to still allow automatic linked sizes by default, but
that feature will deprecated and removed in the near future.
2009-07-18 12:23:33 +00:00
Guillaume Melquiond
a098e20435 Removed constant parameter from labels. 2009-07-18 12:06:40 +00:00
Guillaume Melquiond
61d287fcfa Removed redundant parameters from check_victory. 2009-07-18 12:06:31 +00:00
Guillaume Melquiond
64088955a9 Simplified interface of get_advanced_unit. 2009-07-18 12:06:24 +00:00
Guillaume Melquiond
941e519c06 Removed redundant parameters from dialogs::advance_unit. 2009-07-18 12:06:20 +00:00
Guillaume Melquiond
392ca2adaf Removed redundant fields from battle_context. 2009-07-18 12:06:10 +00:00
Guillaume Melquiond
bc54c00761 Cleaned interface of recruit_unit. 2009-07-18 12:06:05 +00:00
Guillaume Melquiond
918a193adb Removed redundant field tod_manager_ from class unit. 2009-07-18 12:06:00 +00:00
Guillaume Melquiond
cf24df2591 Removed redundant fields map_, tod_manager_, and teams_,
...from class terrain_filter.
2009-07-18 12:05:55 +00:00
Guillaume Melquiond
c349bc0db1 Moved tod_manager to resources. 2009-07-18 12:05:51 +00:00
Guillaume Melquiond
ea2cfb043d Removed redundant fields map_ and teams_ from class unit. 2009-07-18 12:05:46 +00:00