Commit Graph

34451 Commits

Author SHA1 Message Date
Gregory Shikhman
7ae420f763 Added the ability to tie in data to particular hexes.
Click on a hex in the map to bring up a popup with hex-specific data 
(currently only the hex coordinate).
2009-07-22 03:58:35 +00:00
Eric S. Raymond
a0a0f838dd Address bug #13970. 2009-07-22 03:01:04 +00:00
Gregory Shikhman
3ffb1ecc68 Fixed tile alignment, changed regular hexes...
...to the irregular hexes that wesnoth issues. Must still look into
performance issues and minor misalignment.
2009-07-22 01:47:21 +00:00
Gregory Shikhman
b21a199ccd Initial hex grid generation in gmap.
Added small script that will be expanded to give backend web scripts
info on the map being parsed. Grid alignment is still incorrect and
the actual hexes are not exactly the right shape.
2009-07-21 22:07:23 +00:00
Phil Barber
a20b9f5701 Add a few Gladiator frames I forgot first time round... 2009-07-21 19:57:17 +00:00
Phil Barber
be4b7534f0 Minor fix to Clasher base frame. 2009-07-21 19:51:48 +00:00
Phil Barber
6bf5560e0f Minor updates to clasher line WML. 2009-07-21 19:38:57 +00:00
Tomasz Śniatowski
17be99971f new lobby player list sorting:
...by name, relation(friends/neutral/ignores) or both (first by
relation then by name)
2009-07-21 17:49:04 +01:00
Tomasz Śniatowski
1584ae7f74 add, uh, one more toggle button definition to have small and tiny 2009-07-21 17:48:45 +01:00
Tomasz Śniatowski
eba2c43f68 new lobby: add auto-hiding of empty player groups,
...fix gamelist doubleclick handler
2009-07-21 17:48:26 +01:00
Tomasz Śniatowski
9967fb9470 made gui::ttoggle_panel always "want" double click,
...and only close the window if retval is nonzero, fixing the use of
the doubleclick callback
2009-07-21 17:48:08 +01:00
Tomasz Śniatowski
47c4377cca small tweaks in lobby cfg file 2009-07-21 17:47:49 +01:00
Tomasz Śniatowski
df0445b9aa add a icon_small definition of the toggle button.
I'd prefer a version which adjusts to the icon size, but this will do
fine for my needs.
2009-07-21 17:47:31 +01:00
Tomasz Śniatowski
a8c68b2b04 make the game list rows react to double click...
...by joining/observing the game (needs a fix)
2009-07-21 17:47:13 +01:00
Tomasz Śniatowski
b6a908fe03 add a callback_mouse_left_double_click to gui2::ttoggle_panel 2009-07-21 17:46:52 +01:00
Eugen Jiresch
a51ad7dedf removed some no longer needed comments 2009-07-21 14:23:24 +00:00
Tomasz Śniatowski
d82a1533e9 fix build error, and -> && 2009-07-21 12:58:36 +01:00
Tomasz Śniatowski
433db9ddab hide the non-functional buttons on the gamelist 2009-07-21 12:45:51 +01:00
Tomasz Śniatowski
78ab6eebac vcproj update 2009-07-21 12:45:32 +01:00
Tomasz Śniatowski
321b49015a fix assert in new lobby 2009-07-21 12:45:10 +01:00
Eugen Jiresch
079ac55ada removed player_info 2009-07-21 11:15:26 +00:00
Eugen Jiresch
9d992a5b27 removed player_info references from get_player_info()...
...and removed game_state::get_player
2009-07-21 10:46:36 +00:00
Eugen Jiresch
0660293334 removed game_state::read_player and game_state::load_recall_list 2009-07-21 10:01:24 +00:00
Eugen Jiresch
b659429b19 removed game_state::write_player 2009-07-21 09:20:38 +00:00
Eugen Jiresch
8c1dc58f06 removed redundant parameter from game_state::write_players 2009-07-21 08:29:42 +00:00
Eugen Jiresch
37c58a4fe3 removed redundant parameter from game_state::write_snapshot 2009-07-21 07:52:06 +00:00
Gregory Shikhman
8642a1da2b Added hex polygon generation. 2009-07-21 06:33:52 +00:00
Patrick Parker
808d642bf8 return 0 for length of arrays inside nonexistent containers (bug #13734) 2009-07-21 05:34:46 +00:00
Tomasz Śniatowski
23bd84f78a new lobby placeholder icons for user list group hiding 2009-07-21 00:16:54 +01:00
Gregory Shikhman
0a6f8bda0f Changed map tiling script to emit lower quality JPGs instead of PNGs.
Changed tiler to emit 1:2 scale maps and 1:4 scale maps instead of 1:1
scale and 1:4 scale. Added location debugging on-click to the gmap.
2009-07-20 23:16:20 +00:00
Tomasz Śniatowski
0792d6ec39 4-part-playerlist initial commit, needs a fix for a crash 2009-07-21 00:15:37 +01:00
Tomasz Śniatowski
650493a1be change gui2::tselectable (and hence ttoggle_button)...
...state_change callback to use a boost::function instead of a
function pointer. note that since a a function pointer can be converted
to a respective boost::function this actually requires very few
changes.
2009-07-21 00:15:17 +01:00
Tomasz Śniatowski
132f40b926 set markup mode for the userlistbox label so color can work there 2009-07-21 00:14:14 +01:00
Benoît Timbert
6d79cf18e5 Credit updates for the french translation 2009-07-20 21:23:54 +00:00
Benoît Timbert
1c7e68bb0e chngelog update for 2009-07-20T21:07:34Z!benoit.timbert@free.fr 2009-07-20 21:17:12 +00:00
Benoît Timbert
db72fedbb0 French translation update 2009-07-20 21:07:34 +00:00
Phil Barber
2dc47b71c5 New base frame and animations for the Troll Hero. 2009-07-20 19:54:52 +00:00
Tomasz Śniatowski
4dc9f782b9 new lobby: Treat the game id as an int that it is,
...add status icons to player list (icons from patch/bug #11726 by
megane), add server support for differentiating between players
playing and observing a game.
2009-07-20 18:38:28 +01:00
Tomasz Śniatowski
a2d950c4b1 record and send player playing/observing status in wesnothd 2009-07-20 18:38:11 +01:00
Tomasz Śniatowski
52366e43f9 remove the redundant location parameter from new lobby user info struct 2009-07-20 18:37:22 +01:00
Eugen Jiresch
6a7f8f49b0 removed references to player_info from playsingle_controller.cpp 2009-07-20 15:02:20 +00:00
Eugen Jiresch
e3b3654b1d removed the remaining references to player_info from playcampaign.cpp 2009-07-20 14:49:35 +00:00
Eugen Jiresch
ec9b6a4615 removed a player_info reference from menu_events.cpp 2009-07-20 14:00:02 +00:00
Eugen Jiresch
825639a45a removed references to player_info from game_events.cpp 2009-07-20 12:44:04 +00:00
Eugen Jiresch
a28710212d removed reference to game_state::load_recall_list 2009-07-20 11:41:18 +00:00
Nils Kneuper
831465ddd6 updated Dutch translation 2009-07-20 09:09:58 +00:00
Tomasz Śniatowski
fd8f5addf9 clear the new seed callback...
...when invalidating rng seed in ai code that does not set a callback
2009-07-20 09:18:06 +01:00
Tomasz Śniatowski
f24d687b07 fix struct/class warning in msvc 2009-07-20 09:12:27 +01:00
Tomasz Śniatowski
2d28bf00e5 add a SDL_Delay into the ai code polling...
...for a new random seed received from the server
2009-07-20 09:11:49 +01:00
Gregory Shikhman
16a0d6af1f Fixed scaling bug in map tiler,
...updated GMap code to use a black background for nice effect
2009-07-20 06:57:13 +00:00