summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-27Improve OpenGL speed.Andrei Karas3-110/+422
Use batch commands and not selecting already selected texture. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-07-23Added simple sanity checks for missing animation in maps.Yohann Ferreira2-13/+38
Fixes a bunch of crash courses for me. Reviewed-by: Freeyorp
2010-07-22Patches generated by git format-patch added to .gitignoreRenato Alves1-0/+3
2010-07-22Additional temporary cmake files added to .gitignoreRenato Alves1-0/+2
2010-07-22Add two debug map modes and improve slightly map drawing.Andrei Karas3-14/+84
Reviewed-by: Bertram
2010-07-19Finished to add the xmessage support thanks to Kook.kook1-1/+3
Reviewed-by: Bertram
2010-07-19added xmessage for linux case of errorkoom1-0/+4
Reviewed-by: Bertram.
2010-07-19Fix showing xp messagesChuck Miller1-0/+2
Reviewed-by: Bertram
2010-07-19Merge branch '1.0'Yohann Ferreira30-89/+192
Conflicts: src/gui/itempopup.cpp src/item.cpp src/monster.cpp src/net/manaserv/playerhandler.cpp src/net/tmwa/partyhandler.cpp src/npc.cpp src/player.cpp src/resources/itemdb.cpp src/resources/monsterdb.cpp src/resources/monsterinfo.cpp src/resources/npcdb.cpp src/resources/spritedef.cpp
2010-07-18Fix runtime crash from bad event keysChuck Miller1-8/+13
Reviewed-by: Jared Adams
2010-07-18Add event.h to eventmanager.h and listener.h to reduce total number of includesChuck Miller24-25/+4
You'll have to include it anyways 99% of the time
2010-07-18Move the majority of the netcode's server messages to the event systemChuck Miller15-88/+109
There is still a good way to go, but this should get us started Reviewed-by: Jared Adams
2010-07-18Add old values to stat and attribute eventsJared Adams5-14/+45
Reviewed-by: Chuck Miller
2010-07-18Fix crash when withdrawing something from storageChuck Miller1-0/+3
Reviewed-by: Jared Adams
2010-07-18Replace some state-related netcode methods with eventsJared Adams21-149/+144
Also move the virtual destructors of the Net handler base classes to the top of their method lists. Reviewed-by: Chuck Miller
2010-07-18Move more from LocalPlayer to PlayerInfoJared Adams20-220/+432
Also cleanup PlayerInfo a bit. Reviewed-by: Chuck Miller
2010-07-17Move ManaServ defines into the netcodeChuck Miller6-52/+80
Reviewed-by: Jared Adams
2010-07-17Fix handing configuration files that don't exist yetJared Adams1-5/+5
Reviewed-by: trapdoor
2010-07-17Modify how attributes and stats are handledChuck Miller27-666/+617
Handling moved from LocalPlayer to PlayerInfo class Event system used to update windows Reviewed-by: Jared Adams
2010-07-16Fix memory corruption in chat on exit.Andrei Karas3-6/+24
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-07-14Removed unnecessary semicolons after namespacesThorbjørn Lindeijer7-18/+20
Please don't, it causes warnings with my settings, which makes my build fail. ;)
2010-07-13Add the foundation for the event systemChuck Miller10-0/+488
2010-07-11Made the different hard-coded paths and files be now taken from theYohann Ferreira30-73/+177
data/paths.xml configuration file. Also added default gui theme path in branding and default wallpaper path and file searched respectively in the branding and paths.xml files. Hard-coded values are still used as fallbacks. Resolves: Manasource Mantis #148. Reviewed-by: jaxad0127.
2010-07-11Add specialdb.cpp and specialdb.h to automake.Thorbjørn Lindeijer1-0/+2
Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-07-10Add the specialdb.cpp and specialdb.h files to CMakeChuck Miller1-0/+2
2010-07-10Moved parsing of specials.xml from gui/specialswindow.cpp to separate source ↵Philipp Sehmisch10-159/+369
files. Restored functional recharge bars in specials window. Individual specials are only shown after the server informed the client about their status. Made level label, use button and progress bars optional. Their use is controlled through specials.xml. The special window button is again shown even when the player has no specials. This problem needs to be solved differently now for architecture reasons. Reviewed-by: Jaxad0127
2010-07-09Fix tileset gid handling to better match TiledJared Adams1-16/+6
This change allows extending tilesets without causing issues. Reviewed-by: Freeyorp
2010-07-08Fix whispers.Andrei Karas1-1/+1
Fix receiving whisper message if option whisper in tabs disabled. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-07-08Fix crash in picking up an item that no longer existsremoitnane11-8/+110
Adds ActorSpriteListener to manage ActorSprite destruction as recommended by Jaxad0127. This likewise includes the changes made by Bertram. Reviewed-by: Jaxad0127, Bertram. Resolves: Manasource Mantis #160
2010-06-29Make whisper responses from tmwAthena show up in correct tabsJared Adams7-26/+48
Reviewed-by: Bertram
2010-06-29Fixed sell support on tmwAthena while keeping it working for Manaserv.Yohann Ferreira1-2/+6
2010-06-29Fixed the sell support under Manaserv.Yohann Ferreira1-1/+2
Made the sell dialog give the idem id, instead of an internal inventory id when a item is a duplicate. Reviewed-by: Freeyorp, Strikermdd Resolves: Manasource-Mantis #101
2010-06-24Fix a logic error in tmwAthena's PartyHandlerJared Adams1-1/+1
Pre-approved-by: Freeyorp
2010-06-24Fix a logic error in tmwAthena's PartyHandlerJared Adams1-1/+1
Pre-approved-by: Freeyorp
2010-06-22Modified german translations, fix given by Andrej.Andreas Habel1-53/+55
Reviewed-by: Jaxad0127, Thorbjorn and 4144. Resolves: TMW-Mantis #759
2010-06-20Fix ActorSprite double deletionAndrei Karas2-9/+12
Also replaces std::list to std::set in actorspritemanager. Reviewed-by: Chuck Miller <shadowmil@gmail.com>
2010-06-19This fixes the animation for target cursorsChuck Miller1-10/+5
Also it should optimize it a bit since it only updates used target cursors instead of all target cursors. Reviewed-by: Freeyorp
2010-06-13Merge remote branch '1.0/1.0'Jared Adams52-230/+468
Conflicts: data/graphics/CMakeLists.txt data/graphics/Makefile.am src/client.cpp
2010-06-13Fix memory leaks in different windows.Andrei Karas3-0/+8
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-13Handle char-server login errors betterJared Adams3-6/+6
Also fix a small compilation error sometimes reported. Reviewed-by: Chuck Miller
2010-06-12Add error.xml to client repository and move error.pngJared Adams11-4/+35
There is no reason why error.xml shouldn't be in this repository, as it is used when no sprite data is present and is a very small file anyways. Servers can still replace these if they want to. error.png is only used in sprites, so should be in the new sprites folder too. Reviewed-by: 4144
2010-06-12Add missing target cursors to setup.nsiAndrei Karas1-0/+2
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-12Fix memory leak in socialwindow.cpp.Andrei Karas1-1/+17
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-12Prevent removing dead players by timer.Andrei Karas1-1/+4
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-12Fix crash after die.Andrei Karas1-0/+3
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-10Fix a bug with empty update hostsJared Adams1-0/+4
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams36-603/+514
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller
2010-06-09Fix dead Beings not being removed using tmwAthenaJared Adams7-45/+55
Rename mWalkTime to mActionTime in Being and have Being manage death. Reviewed-by: 4144
2010-06-09Remove hard-coded frame counts from Being classJared Adams10-99/+174
Also removes the Monster/Player difference in tmwAthena's Being::logic and moves the particle code from Being::setAttack to Being::Logic for tmwAthena. Reviewed-by: Chuck Miller
2010-06-08Handle not loading target files more gracyfullyChuck Miller1-2/+10
It no longer crashes, but will write to the log file instead Also added checks so it does not crash elsewhere when the target cursors are unloaded The game is still playable without the target cursor because the display name of a being changes when it gets targetted... so no need to be a fatel error. Reviewed-by: Thorbjørn Lindeijer