wesnoth-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-dev] New multiplayer chat preferences


From: Andreas Grosse
Subject: [Wesnoth-dev] New multiplayer chat preferences
Date: Fri, 22 Apr 2005 11:15:02 +0200
User-agent: Mutt/1.3.28i

Hi,

I recently joined the wesnoth community, and I have a few ideas about 
what could be improved in some parts. Instead of buggering you with
implementing my features, I tried to do so myself. Since I am not a
seasoned C++ programmer, I'd really appreciate if someone could review
my attached patches. If there is a consensus about the integration, I'd
be happy if these changes could be merged for the next version.

The things I wanted to improve are focused on multiplayer chat. On my
first online match, things went really slow, so I wasn't always at my
machine. Returning to it, I would have been happy to have the messages
timestamped, to be able to trackback when something happened. Second,
when playing on a small resolution 6 lines of chat messages are just too
much, and I thought making it configurable would be nice.

Summary of changes:
- created a new preferences tab, called "Multiplayer"
- created a button called "Chat Timestamping", prepending the chat lines
  with a "H:m:s" timestamp (e.g.:   21:42:23 <majestyk> test line )
- created a slider called "Chat Lines", changing the amount of displayed
  lines from 1 to 20 lines.

To work 100%, a new image is needed for the multiplayer tab. For test
purposes, I used the silver mage because I like the image :-)
# cp images/silver-mage.png images/icons/multiplayer.png

I'd be grateful for almost every kind of feedback :)

Cheers,
        majestyk

Attachment: preferences.cpp.diff
Description: Text document

Attachment: preferences.hpp.diff
Description: Text document

Attachment: display.cpp.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]