summaryrefslogtreecommitdiff
path: root/src/party.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02Changed server type to "enum class"Thorbjørn Lindeijer1-1/+1
2024-02-13General code cleanupsThorbjørn Lindeijer1-76/+28
* Removing unused includes * Use member initialization * Use range-based for loops * Use nullptr * Removed no longer used aliases * Use override * Don't use else after return * Use '= delete' to remove implicit members * Use std::string::empty instead of comparing to ""
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-14/+14
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2024-01-24Fixed a few coding errors the compiler complained aboutThorbjørn Lindeijer1-1/+1
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-06-19Making party invite functionalStefan Dombrowski1-1/+3
Reviewed-by: Bjorn
2010-07-28Add some null being checks and cleanup some related codeJared Adams1-1/+2
Reviewed-by: Chuck Miller
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams1-2/+2
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller
2010-05-17Remove Monster, Player, and NPC classesJared Adams1-3/+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-03-31Removed some unused members from Party and Guild classesThorbjørn Lindeijer1-48/+8
Reviewed-by: Jared Adams
2010-03-30Fix some memory issuesJared Adams1-0/+12
Reviewed-by: Thorbjørn Lindeijer
2010-03-26Replace most dynamic_casts with static_castsJared Adams1-5/+3
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-25Change const void to voidJared Adams1-1/+1
Reviewed-by: Thorbjørn Lindeijer
2010-02-24Add more to eAthena guild supportJared Adams1-27/+44
It's not complete yet, but it is closer. Also fix up handling of guild/party members. Reviewed-by: Chuck Miller
2010-02-22Change chat autocompletion to be more flexibleJared Adams1-1/+1
Reviewed-by: Chuck Miller
2010-02-22Fix more copyright headersJared Adams1-1/+1
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-08Fix crash when populating parties without BeingManagerJared Adams1-3/+8
2010-02-08Fix some bugs in party handling and add HP to AvatarListBoxJared Adams1-0/+15
2010-02-08Merge PartyWindow and GuildWindow into SocialWindowJared Adams1-0/+233
2009-03-27Clean up some ifdefs and start cleanup of partiesJared Adams1-215/+0
2009-03-27Clean up of most of the Network pointersBjørn Lindeijer1-3/+2
Now that messages can be sent without requiring a pointer to the Network instance, a lot of cleanup was possible.
2009-03-27Made eAthena's Network class statically accessibleBjørn Lindeijer1-8/+4
Now the instance doesn't need to be passed into the MessageOut class anymore. Expect a lot of cleanup in the next commit.
2009-03-26Major clean up of ChatTab handlingJared Adams1-33/+34
ChatTabs now manage their own adding/removal from the chat window, which lost most of it's chat related messages. Whisper handling is stil done by the ChatWindow, but it no longer manages any other tabs. ChannelTab handling is now the sole responsability of the Channels they are attached to. The general tab is handled by Game.
2009-03-23Merge eA's command handling into CommandHandlerJared Adams1-36/+38
Also drop Aethyra's custom magic code
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-1/+1
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-02-15More copyright header fixesBjørn Lindeijer1-1/+1
2009-02-15Merge commit 'aethyra/master'Bjørn Lindeijer1-4/+4
Conflicts: CMakeLists.txt configure.ac data/help/header.txt packaging/windows/setup.nsi po/POTFILES.in src/being.cpp src/being.h src/game.cpp src/gui/color.cpp src/gui/color.h src/gui/equipmentwindow.h src/gui/popupmenu.cpp src/gui/recorder.cpp src/gui/setup_colors.h src/gui/setup_keyboard.cpp src/gui/setup_keyboard.h src/gui/skill.cpp src/gui/speechbubble.cpp src/gui/speechbubble.h src/gui/table.cpp src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/main.cpp src/main.h src/map.cpp src/resources/colordb.cpp src/resources/colordb.h src/resources/emotedb.cpp src/resources/emotedb.h src/text.cpp src/text.h src/tmw.rc src/winver.h
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer1-4/+4
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-6/+6
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer1-4/+4
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-65/+67
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-7/+1
Conflicts: A lot of files...
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-65/+67
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-08Mostly fixed a few field values to behave better in Windows, as well asIra Rice1-1/+1
removed the need for sending graphics to the setSpeech function (since it isn't needed) and started actually using the time variable which it's passed (could be set to show the speech longer if the dialog is longer, for example). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-07Some more include cleanups.Ira Rice1-1/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-29Trimmed out a few help functions from some subclasses, and moved themIra Rice1-5/+0
back to the chat class, where they really belong. Since the party class parses its own suboptions, I left the suboptions within that class. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-19Made the party class use gettext.Ira Rice1-42/+47
Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-5/+2
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-07-18Import of client treeLloyd Bryant1-0/+219