summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-12-28Revert "Remove the AFK response system"Yohann Ferreira1-0/+1
This reverts commit 3d6a2d9c80a969c3613f567dd7029e75ef59b5cb. I've by that readded the AFK system on master. Please, remove it when we've got a proper replacement.
2010-11-11Replace Event names with enums instead of stringsChuck Miller1-6/+6
2010-11-11Have the event system channels use enums instead of stringsChuck Miller1-5/+5
Reviewed-by: Freeyorp
2010-10-04Remove the AFK response systemChuck Miller1-1/+0
This would be if it was handled by a addon later. Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer1-162/+16
Conflicts: src/actorspritemanager.h src/beingmanager.cpp src/game.cpp src/gui/beingpopup.cpp src/gui/chat.cpp src/gui/chat.h src/gui/inventorywindow.h src/gui/itempopup.cpp src/gui/socialwindow.cpp src/gui/statuswindow.cpp src/gui/widgets/chattab.cpp src/gui/widgets/chattab.h src/net/tmwa/inventoryhandler.cpp src/net/tmwa/partyhandler.cpp src/party.cpp src/sound.cpp src/utils/stringutils.cpp src/utils/stringutils.h
2010-08-29Move handling of autocomplete and input history into TextFieldJared Adams1-162/+16
Reviewed-by: Freeyorp
2010-08-05Have Being manage speech creation and add permissions to eventsJared Adams1-1/+3
The Being and Player Chat events now have the precomuted permissions for SPEECH_LOG and SPEECH_FLOAT. The Being class now acts on those events to show speech (if SPEECH_FLOAT is present). ChatWindow now checks for the SPEECH_LOG permission. Reviewed-by: Freeyorp
2010-08-02Convert most of the remaining chat system to use the event systemChuck Miller1-0/+25
Reviewed-by: Jared Adams
2010-08-01Reduce localChatTab presence replacing it with the event systemChuck Miller1-2/+0
Reviewed-By: Jared Adams
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-2/+2
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-07-19Merge branch '1.0'Yohann Ferreira1-5/+20
Conflicts: src/gui/itempopup.cpp src/item.cpp src/monster.cpp src/net/manaserv/playerhandler.cpp src/net/tmwa/partyhandler.cpp src/npc.cpp src/player.cpp src/resources/itemdb.cpp src/resources/monsterdb.cpp src/resources/monsterinfo.cpp src/resources/npcdb.cpp src/resources/spritedef.cpp
2010-07-18Add event.h to eventmanager.h and listener.h to reduce total number of includesChuck Miller1-1/+0
You'll have to include it anyways 99% of the time
2010-07-18Move the majority of the netcode's server messages to the event systemChuck Miller1-0/+14
There is still a good way to go, but this should get us started Reviewed-by: Jared Adams
2010-07-16Fix memory corruption in chat on exit.Andrei Karas1-5/+20
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-07-08Fix whispers.Andrei Karas1-1/+1
Fix receiving whisper message if option whisper in tabs disabled. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-29Make whisper responses from tmwAthena show up in correct tabsJared Adams1-2/+6
Reviewed-by: Bertram
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams1-7/+7
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller
2010-05-17Remove Monster, Player, and NPC classesJared Adams1-1/+1
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp
2010-04-19Add afk mode for player.Andrei Karas1-0/+5
Add variable cur_time for current time. Add command /away [text] Reviewed by: Bertram
2010-03-26Replace most dynamic_casts with static_castsJared Adams1-1/+1
The remaining instances can't easily or safely be changed as the classes involved don't have type information like Being does. Reviewed-by: Freeyorp
2010-02-22Change chat autocompletion to be more flexibleJared Adams1-8/+2
Reviewed-by: Chuck Miller
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-08Merge PartyWindow and GuildWindow into SocialWindowJared Adams1-14/+8
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-24Autocomplete names with quotes if the string begins with a / or @ (commands)Blue Sans Douze1-0/+3
2010-01-11Cleanup GUI classesJared Adams1-5/+5
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2010-01-10Change code styleAndrei Karas1-5/+4
2010-01-08Small refactoring in chat auto completingAndrei Karas1-16/+42
2010-01-08Fix a signed/unsigned comparison in chat autocompleteJared Adams1-1/+1
2010-01-07Chat auto completingAndrei Karas1-1/+91
2009-08-24Change default for whispers in tabsJared Adams1-1/+1
It will now default to showing whispers in tabs.
2009-08-13Fix initial sizing issue with TabbedAreasJared Adams1-2/+0
Also remove some commented code from ChatWindow
2009-08-10Remove layout code from ChatWindowJared Adams1-44/+4
2009-08-10Add SpecialsWindowJared Adams1-0/+3
THis replaces the MagicWindow that the TMWServ build used and will be usable going forward for eAthena.
2009-08-07Gettext fixesKess Vargavind1-0/+1
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
2009-07-31Corrected indentation a bit.Bertram1-17/+19
2009-07-31patch for ticket #767Maximilian Philipps1-0/+34
bigger "hold here to drag" area for the chatbox and a scroll lock for resize
2009-07-26Gettext fixesKess Vargavind1-2/+2
And a Swedish translation of the desktop file.
2009-07-23Clear some more support ifdefsJared Adams1-0/+3
2009-05-24Made some parameters const references like they should beBjørn Lindeijer1-2/+5
2009-05-24Fixed crash on whispering somebody a second time after closing the tabBjørn Lindeijer1-7/+12
The tabs are referred to case-insentively, but the removal of references to deleted tabs was happening case-sensitively. This caused roaming pointers to stay around and get reused later, crashing the client.
2009-05-13Remove Aethyra's custom visible GM systemJared Adams1-8/+0
Very hackish and would require altering eAthena. It also isn't very portable; if you use the same character name on multiple servers and are a GM on one of them, the client will try to make you a GM on the other.
2009-05-12Fix switching to new tabs on /queryJared Adams1-0/+3
2009-05-12Don't automatically switch to new WhisperTabsJared Adams1-2/+0
2009-05-10Marked some strings as not translatableBjørn Lindeijer1-2/+3
NPC dialog requested translation of + and - and the chat dialog tried to translate a semicolon.
2009-05-09Insert player and item names at caret position instead of at the endBjørn Lindeijer1-6/+17
An improvement based on the 0.0.28.Q version.
2009-05-08Keep a little spacing above the tabs in the chat windowBjørn Lindeijer1-1/+1
2009-05-08Remove the title area from ChatWindowJared Adams1-0/+3
2009-05-03Fixed compile warnings and other tweaksBjørn Lindeijer1-1/+1
Warnings were about initialization order and signed variables compared to unsigned variables. Please pay attention to these things. Also made some getters const and turned some std::string parameters into const std::string &.