summaryrefslogtreecommitdiff
path: root/src/resources/npcdb.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-07-18move shared code for reading being info attributes to separate class.Andrei Karas1-20/+2
Also fix name offsets for pets.
2013-07-18add name offsets for npc and monster names.Andrei Karas1-0/+6
New attributes: nameOffsetX, nameOffsetY Example for monsters.xml: <monster id="0" name="Piou" targetCursor="small" walkType="fly" nameOffsetX="10"> Example for npcs.xml: <npc id="304" nameOffsetX="-10" nameOffsetY="-5">
2013-06-07Fix code style.Andrei Karas1-1/+0
2013-05-28Add support for include in npcs.xmlAndrei Karas1-2/+15
2013-05-26dehardcode client data configuration file names.Andrei Karas1-3/+5
Now names stored in paths.xml
2013-04-16improve npcdb file.Andrei Karas1-5/+3
2013-04-14some more style fixes from cpplint.Andrei Karas1-1/+1
2013-04-07some fixes after auto check.Andrei Karas1-1/+1
2013-02-18Enable some features for tmw like servers.Andrei Karas1-5/+2
Now this features enabled because ManaPlus supported on this servers. Enabled features: race sprites draw npc option for not allow select npc map layer properties.
2013-02-13Fix code style.Andrei Karas1-1/+1
2013-02-01Fix code style.Andrei Karas1-1/+2
2013-01-31Add default avatars support for npcs.Andrei Karas1-0/+10
2013-01-16update copyrights year.Andrei Karas1-1/+1
2012-10-25Add support for different hover/pickup cursors for monsters, npc, items, etc.Andrei Karas1-3/+6
In monsters.xml new monster attribute: hoverCursor - default value "attack". In npcs.xml new npc attribute: hoverCursor - default value "talk". In items.xml new item attribute: pickupCursor - default value "pickup". Warps using "up" cursor for now.
2012-09-23Add to monsters.xml and npcs.xml sort offset parameters.Andrei Karas1-0/+7
sortOffsetY - this value will be substracted from y position while sorting deadSortOffsetY - this value will be substracted from dead bein y position while sorting By default sortOffsetY = 0 and deadSortOffsetY = 31
2012-09-03Add const to more classes.Andrei Karas1-6/+6
2012-08-23Remove useless includes.Andrei Karas1-1/+0
2012-06-08Add to npc option targetSelection to allow/disallow npc selection.Andrei Karas1-0/+8
2012-01-10Replace xmlStrEqual to xmlNameEqual.Andrei Karas1-4/+4
2012-01-10Replace all xmlNodePtr to XmlNodePtr.Andrei Karas1-1/+1
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas1-1/+1
2011-06-04Cleanup part list and beinginfo.Andrei Karas1-1/+1
2011-05-24Add simple memory leak detector.Andrei Karas1-0/+2
Can be enabled by configure option -enable-memdebug=yes. Known issue: not all memory allocations hooked with it.
2011-03-18Fix most old style cast except manaserv and libxml2 defines.Andrei Karas1-4/+4
2011-03-16Add checks and fix some code style.Andrei Karas1-0/+3
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-02Initial commit.Andrei Karas1-0/+127
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.