summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-03-14Code cleanup in the color/palette codeMajin Sniper3-44/+16
2009-03-14Fix a spelling error in paletteJared Adams1-1/+1
2009-03-14Fix cancel button in color config dialogMajin Sniper1-4/+5
Also save the committed gradient, not the one currently used.
2009-03-12Fix a bug in the units systemJared Adams1-2/+2
2009-03-12Make use of the new available colorsMajin Sniper22-101/+102
This patch lets all being derivatives use the palette to set their name's colors. Text Particle Effects all respect the new settings. Some widgets were updated to use the colors.
2009-03-12Extend color config gui to support the new colorsMajin Sniper7-25/+369
The new color palette supports many more colors that the browserbox can display. So a change to the color config gui was needed.
2009-03-12Added a class for rendering of floating textsniper3-53/+94
This is a header only-class that merges the textrendering of the TextParticle and Text classes. It is done to reduce code duplication and to prepare some color configuration gui.
2009-03-12Extending the internal handling of colorssniper13-381/+700
The internal storage for colors was in the file color.h/color.cpp. It mainly managed the colors in the chat. The Color class was extended to be more generic now and it stores gcn::Color objects instead of integers now. A lot of new colortypes are now available, though not many of them are used for now, that will come in the next patches. The Color class was renamed to Palette and color.{h,cpp} to palette.{h,cpp} to better describe its purpose. The color config gui now lists the new colors, even changes them, but the result is not displayed properly for now.
2009-03-12Fix leaks in status effectsJared Adams3-14/+23
2009-03-12Move emote sprite loading into EmoteDBJared Adams9-49/+31
2009-03-11Remove some duplication in hair loading codeJared Adams2-54/+29
2009-03-11Fix a memory leak in dropdownJared Adams1-0/+3
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 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-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-08Forgot the actual storage windowJared Adams4-7/+328
2009-03-08Add an interface for eAthena's storage systemJared Adams9-24/+92
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-06Fix layout of debug windowJared Adams1-3/+2
2009-03-06Merge branch 'aethyra/master'Bjørn Lindeijer43-282/+319
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-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 Lindeijer36-161/+293
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>