summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-11Fix order of function calls when loading dataJared Adams1-3/+3
2009-03-11Fix segfault when being count reaches 0 too oftenJared Adams3-30/+34
2009-03-11Don't move stuff from inventory when not visibleJared Adams3-3/+7
2009-03-10Delete local player earlier and fix a rare crashJared Adams2-1/+3
Rare crash is in KeyboardConfig, where the active keys array is accessed before it's initialized. Also remove some debug prints that made it into a previous commit.
2009-03-10Introduced in a Skin holder class, to reduce the amount of needed XMLIra Rice2-41/+91
skin loads. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Delete local player earlier and fix a rare crashJared Adams3-4/+2
Rare crash is in KeyboardConfig, where the active keys array is accessed before it's initialized. Also remove some debug prints that made it into a previous commit.
2009-03-10Set minimum bounds for speech bubbles, based on the skin's minimumIra Rice1-0/+3
dimensions. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Remove some SetupWindow weirdnessJared Adams4-8/+18
2009-03-10Fix some mem leaksJared Adams13-48/+20
2009-03-10Remove some SetupWindow weirdnessJared Adams4-7/+10
2009-03-10Fix some mem leaksJared Adams13-20/+48
2009-03-10Fix some mem leaksJared Adams13-20/+48
2009-03-10Allow for offsets for the enumerated position version ofIra Rice2-17/+17
setLocationRelativeTo as well. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Allow null link handlers for browser boxJared Adams1-0/+1
2009-03-10Extended window layout to take relative positions, as well as offsets toIra Rice23-75/+194
that position. This makes it so that when resolutions are changed, the default locations stay relative to the window's position, and not the 800x600 screen resolution. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Allow null link handlers for browser boxJared Adams1-0/+1
2009-03-10Start NPC dialogs out hiddenJared Adams1-0/+5
2009-03-10Start NPC dialogs out hiddenJared Adams1-0/+5
2009-03-10Allow NPCList dialog to use it's old locationJared Adams3-4/+4
2009-03-10Make sure NPC input dialogs get focusJared Adams3-3/+12
2009-03-10Don't center the NPC interraction dialogsJared Adams9-11/+4
Use the last location the user gave instead. Also, do the same for the inventory dialog.
2009-03-10Extended hit type handlingsniper6-60/+66
The client can now differentiate between the following hit types: - hit (normal) - critical (full attack) - multi (more than one hit at once, currently not used) - reflect (reflected damage, currently not used) - flee (dodging criticals) The Being's showCrit method is now merged into takeDamage. Being's takeDamage and handleAttack now both get the opponent, the amount of damage and the attack type as parameter.
2009-03-10Reverted last commit (since I confused it with something else) as wellIra Rice2-3/+6
as removed a redundant call for sizing in the minimap class. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Fixed setContentSize in the window class to only care about exceedingIra Rice1-6/+2
the maximum width and height. Exceeding the minumum width and height is a desireable case in some situations. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Copyright header fixSteve Cotton1-5/+5
As Bjorn did in 0a106989bd16c48525f01cb8515809e74f37a8d8
2009-03-10Moved enforcement of minimum widths and heights to the Window class.Ira Rice3-40/+53
This was needed in the Minimap class, but not migrated out to the Window class until now. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Made it so that when windows load previous states, they are neverIra Rice7-22/+61
smaller than the minimum width and height (a check that should have been enforced in the first place), as well as modified the NPC list and text dialogs to remember where they were when they were moved or resized last. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Extended hit type handlingsniper6-46/+79
The client can now differentiate between the following hit types: - hit (normal) - critical (full attack) - multi (more than one hit at once, currently not used) - reflect (reflected damage, currently not used) - flee (dodging criticals) The Being's showCrit method is now merged into takeDamage. Being's takeDamage and handleAttack now both get the opponent, the amount of damage and the attack type as parameter.
2009-03-10Fix video config cancel button for "show name".Majin Sniper1-0/+2
The cancel button in Video configuration window doesn't switch back the "show name" setting to the original state. This patch fixes that.
2009-03-10Fix typo in item link parsingJared Adams1-13/+18
2009-03-10Expand the scope where item links workKess Vargavind2-32/+32
This patch makes item links work in any chatLog() message, not only chatSend() as before. I enabled it for the "You picked <nr> <item>" message by explicitly adding [] around the item name in the string.
2009-03-10Fixed an indentation error in the last commit.Ira Rice1-8/+8
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Remove some tabs and trailing whitespaceJared Adams10-23/+23
2009-03-10Fix video config cancel button for "show name".Majin Sniper1-0/+2
The cancel button in Video configuration window doesn't switch back the "show name" setting to the original state. This patch fixes that.
2009-03-10Fix layout issue of NPC list dialogJared Adams1-0/+1
2009-03-10Fix typo in item link parsingJared Adams1-13/+18
2009-03-10Remove some tabs and trailing whitespaceJared Adams10-23/+23
2009-03-10Expand the scope where item links workKess Vargavind2-32/+32
This patch makes item links work in any chatLog() message, not only chatSend() as before. I enabled it for the "You picked <nr> <item>" message by explicitly adding [] around the item name in the string.
2009-03-10Removed section about updating ChangeLog fileBjørn Lindeijer1-17/+0
We're no longer using the ChangeLog file.
2009-03-09Make tmxcopy pair up layers by nameSteve Cotton4-28/+231
2009-03-09Fix tmxcopy off-by-one error translating tilesetsSteve Cotton1-1/+5
The first tiles of each tileset got shuffled.
2009-03-09Added missing header and print newline at end of usage instructionsBjørn Lindeijer2-1/+2
2009-03-09Send the correct packet for the NPC close buttonJared Adams5-10/+23
Both packets do the same, but we should be explicit anyways. Also, seperate out NPC client packets.
2009-03-09Send the correct packet for the NPC close buttonJared Adams4-9/+20
Both packets do the same, but we should be explicit anyways. Also, seperate out NPC client packets.
2009-03-09Ship the Code::Blocks project in the source releaseBjørn Lindeijer1-1/+1
2009-03-09Got rid of an ugly and unified interface breaking cancel button in favorIra Rice5-10/+12
of adding overridable close functionality to the Window class. Now, if you need a close button, but need to do something different, or in addition to the Window close functionality, you can override it and do that action. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-09Add an interface for eAthena's storage systemJared Adams20-69/+437
2009-03-08Forgot the actual storage windowJared Adams4-7/+328
2009-03-08Add an interface for eAthena's storage systemJared Adams10-24/+94
2009-03-08Add units files to CMake listJared Adams1-0/+2