summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-02-24Fixed compile warningsBjørn Lindeijer3-7/+7
Order of initialization and suggested parenthesis.
2009-02-24Fix update handlingJared Adams1-11/+11
THis will prevent loading updates when -u is used, and prevent error messages in the log when -u is used.
2009-02-23Allow to sell non-stackable items like stackablesMajin Sniper5-33/+260
Make it possible to sell non-stackable items all at once by introducing "Duplicate Items" and a Shop that can handle them. Also fix a trivial bug to correctly preview you money while selling.
2009-02-23Hide the buy/sell dialogs when there is no NPCJared Adams6-0/+36
2009-02-23End NPC interraction when canceling list inpuJared Adams1-0/+1
2009-02-23Fix Job EXP bar codeJared Adams1-1/+1
2009-02-23Clear text from NpcTextDialog when character diesJared Adams2-1/+13
Also hid the integer and string dialogs
2009-02-22Highlight unbuyable items in redJared Adams1-8/+7
2009-02-22Make progressbars more readableJared Adams1-2/+2
2009-02-22Allow percentage for exp displaysJared Adams2-9/+25
2009-02-22Fixed another Particle/Paricle mismatch in a commentPhilipp Sehmisch1-1/+1
2009-02-22Renamed InfoParicleFont to InfoParticleFont (typo?)Philipp Sehmisch2-3/+3
2009-02-21Fix bug when maximum level is reachedJared Adams3-62/+77
Also centralize code for updating the various progress bars for player status.
2009-02-20Fix debug window to show correct mouse coordinatesJared Adams1-2/+2
2009-02-20Restore old attack behaviorJared Adams1-2/+1
2009-02-20Restore old middle click behaviorJared Adams1-1/+2
2009-02-19Added a pickup notification as particle effect. Also make a ui option to ↵Majin Sniper13-21/+118
enable/disable this effect (default is off) and another option to disable the pickup notification in the chat log (default is on).
2009-02-19Prevent target toggling when the button is heldJared Adams2-27/+27
2009-02-18Move check to a more appropriate placeJared Adams1-2/+2
It shouldn't have been moved to where it was in the first place, as it doesn't have any effecxt on that code, but was originally on the other code (where it is now).
2009-02-18Merge commit 'aethyra/master'Bjørn Lindeijer2-25/+21
Conflicts: src/net/npchandler.cpp
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer48-136/+147
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-18Centralize current_npc cleanupJared Adams9-21/+38
2009-02-17Fix small bug in character select dialogJared Adams1-1/+1
That check can probably be removed entirely, as it's inappropriate.
2009-02-17Fix segfault when canceling new character dialogJared Adams1-1/+1
2009-02-17Fixed an error reported by m0t1k4 which caused a segmentation fault onIra Rice2-25/+21
closing when displaying your own name is turned on. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-17Fixed closing for NPC dialogs.Ira Rice1-1/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-17Show money for initial character in char selectJared Adams1-0/+1
2009-02-17Fix small bug in character select dialogJared Adams1-1/+1
That check can probably be removed entirely, as it's inappropriate.
2009-02-17Fix segfault when canceling new character dialogJared Adams1-1/+1
2009-02-17Reduce NpcTextDialog to one actionJared Adams2-14/+29
This allows external classes (like game.cpp) to send actions to it without them having to know about it's internal state.
2009-02-17Got rid of const where it does not make much senseBjørn Lindeijer10-22/+22
It's not that useful to make variables that are passed by value const. In the declaration it is even completely ignored.
2009-02-17Merge branch 'aethyra/master'Bjørn Lindeijer7-27/+37
Conflicts: src/gui/npc_text.cpp src/gui/npc_text.h src/gui/npcintegerdialog.cpp src/gui/npclistdialog.cpp src/gui/npcstringdialog.cpp src/net/npchandler.cpp src/npc.cpp
2009-02-16Moved location of trim checking, since it really should be done afterIra Rice1-6/+3
the recipient nickname is parsed out. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Trim whitespace from the beginning and end of whispers, as well asIra Rice1-0/+21
disallowing empty whispers and whispers to yourself, since both of those cases cause the server to report back stating that the player wasn't found (even if they are there, like yourself). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Moved target unsetting on NPCs and monsters to the being class. This isIra Rice3-9/+5
done to ensure that the client doesn't crash if the target dies and is removed from the map (since target drawing is based off of the specific target reporting its x and y coordinates). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Don't arbitrarily unset player target on NPC deletionBjørn Lindeijer3-16/+16
When an NPC got deleted it would reset the player target. I'm assuming what was meant was to reset the target when the deleted NPC was the target.
2009-02-16Fixed a nasty crash that was only visible from the @help command. If theIra Rice1-1/+3
line's string was empty after trimming, the client would crash when trying to get a substring. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Fixed up NPC dialogs to behave more like eAthena expects.Jared Adams7-18/+21
2009-02-16Fixed GUI opacity in SDL modeBjørn Lindeijer2-15/+10
By using indexed instead of alpha-layered images, the GUI opacity can also be supported in software mode.
2009-02-16Allow setting default values for NPC dialogsJared Adams5-1/+16
2009-02-16Allow default value for IntTextField to be changedJared Adams2-3/+28
Also check value and default value when range is changed
2009-02-16Don't arbitrarily unset player target on NPC deletionBjørn Lindeijer3-16/+16
When an NPC got deleted it would reset the player target. I'm assuming what was meant was to reset the target when the deleted NPC was the target.
2009-02-16Fix some compilation issuesJared Adams2-2/+2
2009-02-16Add next/close buttons for NPCsJared Adams7-14/+62
And keep the text dialog open for the whole transaction, logging user input and keep a full record of text from the NPC (for the current transaction only).
2009-02-15Allow pressing enter with focus in port fieldBjørn Lindeijer3-4/+5
Added action event id to port field of login dialog.
2009-02-15Fixed compiler warningsBjørn Lindeijer1-1/+1
Comparison between signed and unsigned integer expressions.
2009-02-15Merge branch 'aethyra/master'Bjørn Lindeijer9-69/+0
2009-02-15Don't make window name translatableBjørn Lindeijer11-11/+11
The window name is used in the configuration file, in contrast to the window title.
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer39-88/+88
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-15Fixes some variable names to conform to naming conventionBjørn Lindeijer17-59/+48
Please do remember that member variables are prefixes with 'm', so that they are easily distinguishable.