summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 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-10Remove some SetupWindow weirdnessJared Adams4-7/+10
2009-03-10Fix some mem leaksJared Adams13-20/+48
2009-03-10Allow null link handlers for browser boxJared Adams1-0/+1
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-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 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-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-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
2009-03-08Fix some NPC-related bugsJared Adams1-15/+25
NPCs are always in range, so show it. Also, don't attack NPCs (causes an infinite talk loop with most).
2009-03-06Add the unit classes to the Code::Blocks fileJared Adams1-0/+2
2009-03-06Fix layout of debug windowJared Adams1-3/+2
2009-03-06Merge branch 'aethyra/master'Bjørn Lindeijer44-282/+324
Conflicts: src/being.cpp src/being.h src/floor_item.cpp src/floor_item.h src/flooritemmanager.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/popupmenu.cpp src/net/beinghandler.cpp src/npc.cpp
2009-03-05Made some optimizations based on some profiling done by Octalot, as wellIra Rice36-265/+248
as some other optimizations that I could see that cut down on some unneeded redraws, which in turn improved frame rates slightly. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-05Removed a check I added in the previous commit which isn't necessary.Ira Rice1-9/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-05Got rid of Sint{8,16,32} and Uint32 for being IDBjørn Lindeijer28-122/+122
Using unsigned rarely makes sense, especially when the server doesn't use it either. Other uses of unsigned should be reviewed. In all other cases, int is the fastest integer type on any architecture. Using 8 or 16 bits can basically only be a memory optimization.
2009-03-06Microoptimization in compile speedBjørn Lindeijer2-4/+5
No need to include localplayer.h from inventorywindow.h
2009-03-06Got rid of Sint{8,16,32} and Uint32 for being IDBjørn Lindeijer25-90/+86
Using unsigned rarely makes sense, especially when the server doesn't use it either. Other uses of unsigned should be reviewed. In all other cases, int is the fastest integer type on any architecture. Using 8 or 16 bits can basically only be a memory optimization.
2009-03-02Cut down on constant streaming of attacks. Attacks from players now onlyIra Rice2-2/+2
occur on each swing action. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-02Added particle attacks back on to the players. However, instead of beingIra Rice5-10/+67
constant, particle attacks are now weapon specific, so that different weapons can have different attacks. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-02Only auto target monstersJared Adams1-6/+3
Also, increase auto target range to 20 tiles
2009-03-01Added a note about some people also needing libtool. This wasIra Rice1-0/+5
encountered when stepping someone through a 64-bit install on Ubuntu. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-01Only talk to NPCs with the keyboard with a targetJared Adams1-6/+0
2009-02-28Allow chatting while talking to NPCsJared Adams3-30/+22
2009-02-28Allow sending attack packets when not in rangeJared Adams1-4/+2
This helps when your target is atually in another location due to synchronization problems.
2009-02-26Don't clear current NPC earlyJared Adams3-5/+0
2009-02-26Merge branch 'aethyra/master'Bjørn Lindeijer42-169/+295
Conflicts: data/graphics/images/login_wallpaper.png src/being.cpp src/beingmanager.cpp src/engine.cpp src/game.cpp src/gui/buysell.cpp src/gui/buysell.h src/gui/gui.h src/gui/npc_text.cpp src/gui/npc_text.h src/gui/npcintegerdialog.cpp src/gui/npclistdialog.cpp src/gui/npclistdialog.h src/gui/npcstringdialog.cpp src/gui/sell.cpp src/gui/shop.cpp src/gui/table.cpp src/net/beinghandler.cpp src/net/npchandler.cpp src/net/playerhandler.cpp src/npc.cpp src/npc.h src/shopitem.cpp src/shopitem.h src/utils/stringutils.cpp src/utils/stringutils.h src/utils/trim.h
2009-02-26Forgot to extend the player or NPC specifying fields as well.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-26Extended job numbers based on what's actually used for Ragnarok'sIra Rice1-3/+3
server. TODO: Make this externally configurable, so that specific servers can specify what they use specific sprite IDs for, as well as specifying good defaults as well, in case that configuration file isn't found. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-26Fixed showing being deaths. I removed the wrong pointless deathIra Rice1-6/+3
animation (case 1 is NOT death, but actually idle in SMSG_PLAYER_UPDATE_1) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-26Fixed an error in shoplistboxes as identified by Octalot.Ira Rice10-27/+14
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Fix NPC handling to not need a handle on the NPCIra Rice19-141/+165
Loosely based on TMW commit f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1 Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Prevent duplicate NPC talking when using keyboardJared Adams3-2/+8
Based on commit a1e483913672e55704e8fbafeff5ea0ccc0c9b07 from Aethyra.
2009-02-25Fix NPC handling to not need a handle on the NPCJared Adams21-148/+142
The Being ID is used instead, as that is all that was ever really needed.
2009-02-25Don't delete the Being in the NPC classJared Adams1-4/+1
The BeingManager will clean it up when it's next cleared. One hanging Being isn't too much. A reference count system like resources use might be a better way to handle Beings.
2009-02-25Added method for resetting npc integer dialogs in the last commit, butIra Rice1-0/+1
forgot to use it. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Make sure that all dialogs are cleared on player death, not just the NPCIra Rice6-3/+15
text dialog. Signed-off-by: Ira Rice <irarice@gmail.com>