summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-08-03Move Theme and UserPalette to the resources folderJared Adams56-79/+76
Reviewed-by: Yohann Ferreira
2010-08-03Merge remote branch 'origin/1.0'Jared Adams4-16/+66
Conflicts: src/net/tmwa/chathandler.cpp
2010-08-03Improve OpenGL speed.Andrei Karas3-110/+422
Use batch commands and not selecting already selected texture. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-03Fix enet version checkJared Adams2-0/+8
Tested-by: BaseBallBoy
2010-08-03Added double click to equip unequip and use itemsdweems1-4/+36
-Double-click items in invetory to equip/unequip -Double-click items in inventory to use Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-02Fix enet version checkJared Adams2-10/+6
Tested-by: BaseBallBoy
2010-08-02Fix some bugsJared Adams2-2/+7
Trivial fixes.
2010-08-02Add support for enet 1.3Jared Adams2-0/+12
Reviewed-by: Yohann Ferreira
2010-08-02Remove non-GUI references to MiniStatusWindowJared Adams9-93/+106
Reviewed-by: Freeyorp
2010-08-02Convert most of the remaining chat system to use the event systemChuck Miller3-20/+72
Reviewed-by: Jared Adams
2010-08-01Fix events added in last commit to use ints instead of boolsJared Adams1-6/+6
2010-08-01Remove isActive methods from NPC dialogs and InventoryWindowJared Adams10-25/+122
Uses counts in PlayerInfo instead. Reviewed-by: Chuck Miller
2010-08-01Remove isActive methods from buy/sell windowsJared Adams15-65/+140
Uses a state variable in PlayerInfo instead. Moves isTalking from Being to PlayerInfo. Also some small cleanups. Reviewed-by: Chuck Miller
2010-08-01Fix chat spoofing. Remove colors from nicks in public chat.Andrei Karas1-10/+29
Signed-off-by: Chuck Miller <shadowmil@gmail.com>
2010-08-01Reduce localChatTab presence replacing it with the event systemChuck Miller11-70/+58
Reviewed-By: Jared Adams
2010-07-30I forgot to tidy src/resources/spritedef.hYohann Ferreira1-33/+2
(Trivial)
2010-07-30Fixed weapon animations for manaserv.Yohann Ferreira2-1/+2
The beinghandler didn't tell to the being::setSprite() function if the equipment was a weapon or not. Resolves: Manasource-Mantis #157. Reviewed-by: Jaxad0127.
2010-07-30Fixed two more forgotten hard-coded references.Yohann Ferreira2-5/+6
2010-07-30Changed the FloatData class to store double instead of single floats.Yohann Ferreira4-6/+12
Also fixed a few compile warnings.
2010-07-29Changed the items loading to handle a new 'attack-action' parameter.Yohann Ferreira21-213/+128
The old behaviour was to load the weapon-type value and do many unnecessary checks and transformation on it: The weapon-type was transformed using hard-coded values into an integer enum value. The exact same thing was done on the opposite side in the animation files before comparing the two. As both data were string values, I simplified all of it by using the value taken in items.xml to call the corresponding action. This now also permit to set up new attack animation in items.xml and in the playerset.xml without having the need to modify the client code. Last but not least, the weapon-type value was used by both the skills and the actions and avoided the possibility to set up a definite action for a weapon-type. Note: The weapon-type parameter will become deprecated for the server in favor of a 'skill' parameter to reflect more it's actual use. This patch is the first step to fix Manasource issue: #157.
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira61-220/+595
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-07-28Changed mAttackType to mWeaponAttackType were appropriate.Yohann Ferreira4-13/+13
To avoid misunderstanding between the actual attackType and this one. (Trivial fix.)
2010-07-28Add some null being checks and cleanup some related codeJared Adams3-27/+25
Reviewed-by: Chuck Miller
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-23Merge branch '1.0' of gitorious.org:mana/mana into 1.0David Athay1-2/+2
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-23Fixing compatibility with cmake 2.6.0Renato Alves1-2/+2
The syntax IF ((condition) OR (condition)) is not accepted by cmake prior to 2.6.4. The syntax IF (NOT (condition OR condition)) is also not accepted. The patch should address this without affecting newer versions. A newline character was also automatically added to the end of the file.
2010-07-22Add two debug map modes and improve slightly map drawing.Andrei Karas3-14/+84
Reviewed-by: Bertram
2010-07-20Merge branch '1.0' of gitorious.org:mana/mana into 1.0David Athay1-0/+6
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-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 Ferreira29-88/+191
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 Adams19-220/+415
Also cleanup PlayerInfo a bit. Reviewed-by: Chuck Miller
2010-07-17Move ManaServ defines into the netcodeChuck Miller5-52/+79
Reviewed-by: Jared Adams
2010-07-17Fixed config directory, updated project file.David Athay1-2/+2
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 Miller26-666/+615
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 Miller9-0/+481
2010-07-11Made the different hard-coded paths and files be now taken from theYohann Ferreira29-72/+176
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.