Yurii Chernyi | 15 Jan 00:23 2010
Picon

multiple leaders and player names

Hello!

1.7 wesnoth engine can handle multiple leaders on the same side.
This raises an interesting question with respect to the names of the
leaders and names of the side.

In MP, leader name is initially equal to player's name.
Both in SP and MP, when a leader is placed on map, the player's side is
renamed to match this leader's name.
Both in SP and MP, when a leader is renamed (if it's allowed to rename
this particular leader), the player's side is renamed to match this
leader's name.

Question: how this should work when there are multiple leaders per side
? should there be only default behavior or some WML control ?

In particular,

1) in MP, all leaders must be renamed to player's name ?
2) in MP and SP, how the player's name must change when several leaders
with different names are placed on map or renamed ?

---
WBR, Yurii Chernyi (crab)

_______________________________________________
Wesnoth-dev mailing list
Wesnoth-dev <at> gna.org
(Continue reading)

Nils Kneuper | 16 Jan 23:47 2010
Picon
Picon

Re: Wesnoth has (many) problems with libsdl-1.2.14


Am 11.12.2009 16:22, schrieb Sam Lantinga:
> I haven't been able to reproduce the Linux input problem.
> Interestingly in the original bug report he mentions that one of the
> buttons in the game works, but not most of them, which boggles my
> mind. :)

Have you now been able to reproduce the issue? It has become more critical since
it looks like debian unstable bumped the libsdl version to 1.2.14 rendering
Wesnoth unusable in windowed mode on many window managers. Please have a look at
the bug report [1] for a list of window managers that seem to be affected by the
issue, maybe this helps you reproduce it.
In general these are the cases where the error occurs:
1) Windowed mode only (so the window manager has some role)
2) Use one of the "broken" window managers, as listed in [1] as well as some of
the linked reports.

It would be *really* great if you could have a look at this problem and retry to
reproduce it. Maybe you were "just" using one of the window managers that is not
affected by the issue when you tested things.
Cheers,
Nils Kneuper aka Ivanovic

[1] https://gna.org/bugs/?14770
Mark de Wever | 18 Jan 22:33 2010
Picon
Picon

Re: Wesnoth has (many) problems with libsdl-1.2.14

Hi Sam,

On Fri, Dec 11, 2009 at 07:22:24AM -0800, Sam Lantinga wrote:
> I haven't been able to reproduce the Linux input problem.

I've been able to reproduce the problem using Debian testing with the
SDL 1.2.14 package from unstabe. My WM is fvwm. I looked at the events I
received:
- When I press the mouse button down I don't receive a
  SDL_MOUSEBUTTONDOWN event.
- After releasing the button I do receive a SDL_MOUSEBUTTONUP event.
So it seems the SDL_MOUSEBUTTONDOWN events aren't send for some reason.

> Interestingly in the original bug report he mentions that one of the
> buttons in the game works, but not most of them, which boggles my
> mind. :)

Most button widgets in Wesnoth need a SDL_MOUSEBUTTONDOWN and
SDL_MOUSEBUTTONUP event in order to execute their 'on click' code. The
mail button, which works with SDL 1.2.14, is an exception and it executes
its 'on click' code when it receives a SDL_MOUSEBUTTONUP event. When
only SDL_MOUSEBUTTONUP events are send, the behaviour that user observed
is the expected behaviour.

I hope this information helps you to track down the problem.

--

-- 
Regards,
Mark de Wever aka Mordante/SkeletonCrew
(Continue reading)


Gmane