summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-25Change const void to voidJared Adams4-4/+4
Reviewed-by: Thorbjørn Lindeijer
2010-02-25Add a simple recursive mkdirBernd Wachter2-0/+119
Reviewed-by: Jared Adams
2010-02-24Fix talk request flood.Andrei Karas1-1/+2
Fix talk request flood from keyboard. Fix duplicate lines in NPC dialogs. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-02-24Move StorageWindow to instancing intead of globalJared Adams17-91/+147
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
2010-02-24Removed a bunch of short options from the command line parametersThorbjørn Lindeijer1-16/+15
They don't have to be specified, so we can leave them out for rarely used options or those for which a single character is rather unclear. Also gave them a bit nicer order, since alphabetical doesn't make much sense. Reviewed-by: Jared Adams
2010-02-24Some code cleanupsThorbjørn Lindeijer3-29/+18
Reviewed-by: Jared Adams
2010-02-24Added the possibility to pass a branding file by command line. Reviewed-by: ↵Philipp Sehmisch4-7/+19
Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-02-24Merge branch 'master' of gitorious.org:mana/manaPhilipp Sehmisch32-202/+786
2010-02-24Updated code::blocks project filePhilipp Sehmisch1-4/+18
2010-02-24Add more to eAthena guild supportJared Adams25-127/+689
It's not complete yet, but it is closer. Also fix up handling of guild/party members. Reviewed-by: Chuck Miller
2010-02-23Sanitized ManaServ movement protocol, by mainly moving code from LocalPlayer ↵Bertram3-56/+77
to Being. This fixes some movement glitches under ManaServ and make the code much cleaner even if it's not perfect enough yet. First of all, many checks have been gathered in the Being::setDestination() calls. Also, now all path nodes including destination are checked against surrounding tiles to correct the path when necessary. The LocalPlayer::nextTile() still needs to be reviewed and some checks are missing but it's almost done :)
2010-02-23Merge branch 'master' of gitorious.org:mana/manaBertram3-9/+15
2010-02-23Updated some documentationThorbjørn Lindeijer3-9/+15
Also added generated documentation to the git ignore list. Reviewed-by: Jared Adams
2010-02-23Got rid of superfluous Destination coordinates in LocalPlayer.Bertram3-10/+5
This will help simplifying setDestination() calls. No regression seen in both client.
2010-02-23Add BeingPopup hiding.Andrei Karas1-2/+2
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-02-23The crash handler only works with MinGWThorbjørn Lindeijer1-2/+2
Reviewed-by: Bernd Wachter
2010-02-23Fixed compile on WindowsThorbjørn Lindeijer3-3/+5
Reviewed-by: Bernd Wachter
2010-02-22Change chat autocompletion to be more flexibleJared Adams11-42/+18
Reviewed-by: Chuck Miller
2010-02-22Warn when receiving an empty update hostThorbjørn Lindeijer1-4/+10
Reviewed-by: Jared Adams
2010-02-22Fixed crash on exit when you're part of a guildThorbjørn Lindeijer2-4/+3
When the ChannelTab gets deleted by the Channel, the ChatWindow may have already been removed. So before telling it that the tab got deleted, check whether it's still there. Reviewed-by: Jared Adams
2010-02-22Fix more copyright headersJared Adams4-5/+5
2010-02-22Only give party hilight when the other player is in your partyJared Adams1-1/+1
2010-02-22Cleanup some popup-related code and make sure BeingPopup is includedJared Adams19-87/+61
2010-02-21Restore packet 0x0195 to the correct sizeChuck Miller2-1/+2
2010-02-21Handle packet 0x0195, and shows player's party name in a popupChuck Miller11-5/+230
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer48-1452/+1553
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-21Do some more copyright header cleanupsJared Adams67-67/+55
Fix "(C) 2009-2009" to just "(C) 2009" Fix "(C) 2010 TMW" to "(C) 2010 Mana" Remove TMW compyright on (hopefully all) files added after 0.0.29.1
2010-02-22Modify copyright headersFreeyorp445-445/+890
2010-02-20Just use Mana as the window title by defaultThorbjørn Lindeijer2-3/+2
The fact that it's the client is not interesting to most people.
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer486-1897/+1411
2010-02-20Don't check a pointer for 0 before deleting itThorbjørn Lindeijer2-6/+3
This check is built in already.
2010-02-19Prevent issues when channels are cleared after the ChatWindowJared Adams2-1/+7
2010-02-19Fixed a crash when trying to switch serversThorbjørn Lindeijer32-671/+592
Ownership of the charInfo global variable wasn't well defined. It was being locked, unlocked and generally modified from a lot of places, and somewhere in this mess it ended up crashing when switching servers. Now the CharHandler instances, for eAthena and manaserv respectively, own this list of characters. A new class, Net::Character wraps up the slot index in combination with the player dummy. The list is passed on to the CharSelectDialog each time it changes. Both related and unrelated cleanups were made as well. Reviewed-by: Jared Adams
2010-02-15Revert "Attempt to fix Minimap caption again..."Chuck Miller1-1/+4
This reverts commit 20d2a17c8c0fa9220c257d61641a6459e154de26. Going to try to remove this fix, people have still been reporting crashes with minimap caption. Maybe if more people report it, we can get more information.
2010-02-14Have -v print 'Mana client' instead of 'The Mana World'Thorbjørn Lindeijer1-1/+1
Mantis-issue: 1
2010-02-14Fixed browser links not properly resizing once the font size is changed.Tametomo1-1/+1
They'd be in the correct position, just that the link length would always stay at the length of the original font. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Use setTarget a bit earlierThorbjørn Lindeijer1-3/+1
2010-02-14Removed a redundant SDL_Surface pointerTametomo3-24/+22
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Don't quit the client on invalid decRefThorbjørn Lindeijer1-3/+5
It's not a fatal error.
2010-02-14Give more meaningful error messages when decRef() fails.Tametomo1-2/+5
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Fixed windows appearing below the viewport when opened before getting inTametomo1-0/+1
game. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Remove focus from a window's internal widgets on hiding.Tametomo2-1/+10
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Don't allow tabs to be focusable. Our tab implementations are heavilyTametomo1-0/+1
dependent on a tabbed area, and because of that, shouldn't get double focus. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Added some missing class stubs to guichanfwdTametomo1-0/+26
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Fixed DropDowns not collapsing when an item was clicked on, or enter orTametomo2-21/+28
space was pressed. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Release modal mouse focus in DropDowns when focus is lost. If notTametomo2-0/+10
released, this can cause the user to think that the client has frozen up when dialogs such as the quit dialog take modal focus. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Fixed Viewport from acknowledging clicks from widgets on top of it whenTametomo1-0/+3
they happened within a contained widget. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Initialize dialog variable to avoid compiler warningThorbjørn Lindeijer1-4/+2
Compiler warning seems unjustified, but the code could make this more clear.
2010-02-14Force client to exit on detecting a zero length packet. The currentTametomo1-0/+3
networking code will get stuck in an infinite loop currently if it tries to handle these, and the packet id isn't helpful in identifying what packet it is. Since this specific case creates a rabbit, and will flood logger with unhandled messages until the hard drive is completely filled, it's a lot more friendly to force a client exit on detection than to continue. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Overloaded the tabNext() and tabPrevious() functions in the FocusHandlerTametomo2-0/+50
to move a window to the top when one of its contained widgets is focused. Signed-off-by: Tametomo <irarice@gmail.com>