summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-03-27Fixed position of dots on minimapBjørn Lindeijer9-85/+50
Also made mPx and mPy private and synchronize with mPos on setPosition(). The side effects of setting destination and clearing the path have been removed from setPosition(). Only the tmwserv PlayerHandler seemed to rely on that feature. Mantis-issue: 672
2009-03-27Fixed copyright notices of skin.{h,cpp} filesBjørn Lindeijer2-17/+23
Also some code prettyfication.
2009-03-27Add a close command to WhisperTabJared Adams7-2/+31
2009-03-27Fix a segfault with empty whisper messagesJared Adams1-2/+4
2009-03-27Fix some problems with NPC dialogsJared Adams4-16/+2
NPCListDialog couldn't be opened because of infinite recursion, and it and NPCTextDialog both had resize bugs.
2009-03-27Merge branch 'aethyra/master'Bjørn Lindeijer28-344/+350
Conflicts: src/beingmanager.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/label.cpp src/gui/label.h src/gui/popup.cpp src/gui/popup.h src/gui/scrollarea.cpp src/gui/skin.cpp src/gui/skin.h src/gui/speechbubble.cpp src/gui/window.cpp src/gui/window.h src/localplayer.h src/main.cpp src/net/ea/playerhandler.cpp src/resources/ambientoverlay.h src/resources/dye.cpp src/resources/imagewriter.cpp src/resources/itemdb.cpp src/shopitem.cpp
2009-03-27Fixed some compiler warningsBjørn Lindeijer5-38/+36
Fixed a faulty == statement that should have been an assignment and a mismatched 'else' block.
2009-03-27Moved choosing of random death message to a functionBjørn Lindeijer3-69/+73
Also dynamically calculated the size of the array, so that you don't have to count the messages manually. :P
2009-03-27Changed the includes for the net/tmwserv/ directoryBjørn Lindeijer49-281/+287
2009-03-27Include statement cleanup for net/ea/ directory.Bjørn Lindeijer38-267/+290
2009-03-26Major clean up of ChatTab handlingJared Adams30-328/+291
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-26Add whisper tabs for TMWServJared Adams1-6/+1
2009-03-26Add WhisperTabsJared Adams8-17/+183
2009-03-26Removed setting and getting parent windows for popup classes, as thisIra Rice2-11/+1
wasn't really useful or used at all. Also removed some unneeded includes in the popup class. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-26Removed getting and setting a parent window from the popup class, sinceIra Rice3-18/+3
this currently does not provide any useful functionality to popups, as well as doing anything for that matter. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-26Fixed popup comment. This got chopped off some time when it was firstIra Rice1-2/+6
created. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-26Some code style commits influenced by TMW commitIra Rice7-37/+53
1715d0afe44a282a356ca88e47c92ec556f094dd Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-27Removed the unused BuddyList classBjørn Lindeijer4-204/+0
This class would store the buddy list in a file on the client, which is really not that useful. It was removed before in d268447e18c6e3edd80658f8f8d4317740c33af9, but apprently had come back with the merge with mainline.
2009-03-27Fixed name of "UpdateSliders" and reduced redundant docsBjørn Lindeijer6-59/+25
2009-03-27Fixed include structure in resource/ directoryBjørn Lindeijer52-309/+314
There is also a new rule that trivial constructors and destructors should no longer be trivially "documented", since this just takes up space with no gain.
2009-03-26Compile warning fixesBjørn Lindeijer6-37/+33
Mostly unsigned/signed mismatches and an unused variable.
2009-03-26Fixed duplicate check for item namesBjørn Lindeijer2-5/+5
2009-03-26Fix the ColorTypes MacroMajin Sniper2-8/+10
2009-03-27Compile warning fixesBjørn Lindeijer6-25/+21
Mostly unsigned/signed mismatches and an unused variable.
2009-03-27Fix the ColorTypes MacroMajin Sniper2-8/+10
2009-03-27Fixed duplicate check for item namesBjørn Lindeijer1-4/+4
2009-03-26Changed includes in utils/ dictory to new guidelinesBjørn Lindeijer9-14/+15
2009-03-26Fix some bugs with whispers under eAthenaJared Adams1-16/+26
2009-03-26Some code cleanups (mostly reducing how many calculations need to beIra Rice13-126/+84
done in certain statements, rearranging arguements to make them look cleaner, or overall making the code slightly more flexible) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-26Fix talking to NPCsJared Adams1-1/+1
2009-03-26Add ChannelTab for chat channelsJared Adams12-41/+216
This fixes TMWServ compilation form the previous commit.
2009-03-26Move ChatWindow over to ChatTabsJared Adams8-416/+520
TMWServ compilation is likely not functional after this, I didn't check. THe next commit will address that.
2009-03-26First batch of include cleanupBjørn Lindeijer13-61/+64
Since the relative includes are getting ugly and somewhat inconvenient, we'll switch to includes relative to the project root. We've done this for a while already with tmwserv. Another rule which we've always had but was never written down, is that each source file first includes its own header. This is common practice and ensures each header compiles without needing other stuff to be included first. Somebody using Code::Blocks might want to fix the project file by adding the 'src' directory to the list of include paths.
2009-03-25Make sure the correct color for the pulse gradient shows up on theIra Rice1-0/+1
slider as well, rather than just in the preview, on startup. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-25Merged relevent changes from TMW commitIra Rice7-69/+62
dfcc6397848d4597b386b688f689352de6c19ae2 Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-26Fixes to file headers and header guardsBjørn Lindeijer90-447/+445
Mostly removal of branding for tmwserv related files, as was done for the eAthena client before.
2009-03-26Remove redundancy, fix variable names and other code cleanupsBjørn Lindeijer22-219/+190
2009-03-25Don't crash cause of deleting a model twiceBjørn Lindeijer1-3/+0
This reverts commit c2e4a7a70971355f1446bb01053af8a1da8c98e1.
2009-03-25A host of code style fixesBjørn Lindeijer59-130/+130
Mostly putting & and * in the right place and making some getters const.
2009-03-25Fixed some headers of recently added filesBjørn Lindeijer4-14/+10
2009-03-25Merge branch 'origin/master'Bjørn Lindeijer6-8/+106
Conflicts: .mailmap
2009-03-25Don't crash cause of deleting a model twiceBjørn Lindeijer1-3/+0
This reverts commit c2e4a7a70971355f1446bb01053af8a1da8c98e1.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer185-2582/+5836
Conflicts: A lot of files.
2009-03-25Fixed a static leak in skin loading.Ira Rice1-0/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-25Relaxed collision and fringe naming slightly so that they just need toIra Rice2-4/+5
start with collision or fringe, instead of being required to be the same case throughout the beginning of the layer name. Also made a default name for popup menus so that their skins can also be changed by users. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-25Modified skin loading to save and load a skin's XML path, as well asIra Rice9-58/+142
modified the skin loading method to take a default value, in case the value in the configuration file fails to load for one reason or another. While this doesn't directly expose skinning on a per window basis to the user at the moment, it does allow people to change what skins get loaded with which windows now without needing to modify the code. TODO: Determine a decent approach to allowing the user to change their window skins in game, as well as moving all widget skin loading to the skin class (for instance, the button skins, progressbar skins, etc.) so that different skin configurations can use different widget skins. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-25Moved the responsibility for skin alpha adjustment to the Skin class.Ira Rice6-113/+63
This fixes a break that occured where skins wouldn't update in real time in the client, due to being passed a reference, rather than getting the skin itself. Signed-off-by: Ira Rice <shogun@odin.(none)>
2009-03-24Remove some unneeded #ifdefs in SpriteDefJared Adams2-4/+0
2009-03-24Forgot to add eAthena's item handlerJared Adams2-0/+102
2009-03-24Updated version to 0.0.29 in all the other placesThorbjørn Lindeijer2-4/+4