summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-12-30Renamed protocol.h to manaserv_protocol.h to follow server's changes.Yohann Ferreira18-17/+17
I'll sync the two files as for the new enums in a separate commit. Trivial fix. Resolves: Mana-mantis #278.
2010-12-29Made the client handle the characters slots properly for Manaserv.Yohann Ferreira4-10/+28
Reviewed-by: Crush.
2010-12-29Fixed potential flaw for the number of characters slots on tAthena.Yohann Ferreira2-6/+19
Was happening when logging to the dev manaserv server and then to TMW-eA. The client is still crashing after selecting the characters after relogging but that's not introduced with this patch anyway. Reviewed-by: Crush.
2010-12-28Revert "Remove the AFK response system"Yohann Ferreira4-1/+104
This reverts commit 3d6a2d9c80a969c3613f567dd7029e75ef59b5cb. I've by that readded the AFK system on master. Please, remove it when we've got a proper replacement.
2010-12-22Merge branch '0.5'Chuck Miller3-166/+0
2010-12-22Remove ambientoverlay class and filesChuck Miller3-166/+0
It was renamed and duplicated to "ambientlayer"
2010-12-17Update the net/manaserv/protocol.h file with latest description.Yohann Ferreira1-2/+2
Trivial fix.
2010-12-16Made the client handle the number of slots given by the server.Yohann Ferreira5-15/+45
I turned the CharacterEntries into a vector. As for now, it's basically working but I discovered bugs about slots handling mainly for Manaserv that were already present before that patch. Hence, there are three remaining issues: - Under ManaServ, the character's slots numbers aren't handled when loading the characters but used when sending selection or deletion attempts. For instance, if you delete the character at slot 1, you won't be able to select or delete characters at slots 2 and 3, since the server believes that the characters are now in slots 1 and 2, even thought the client still displays them at the former slots. - Also under manaserv, you won't be able to create a character at slot 1 and 3, the server will automatically add the new one to the next slot, which is not corresponding to where you clicked to the 'Create' button. I propose to make Manaserv send again the character slots numbers and store them in database since we used them in creation, selection, and deletion attempts. It would make more sense IMHO. - The last remaining issue found is that when switching between different servers, the loginData don't get cleaned up, make the characterSelect dialog look crazy when the number of slots is different between two servers. If this one is accepted, my next patch will make the logindata be cleaned up between each login attempts (as for the slot number, and maybe other sensible data) and the next ones will readd character slot handling server and client side. Reviewed-by: Jaxad0127.
2010-12-15Merge branch '0.5'Thorbjørn Lindeijer4-529/+9
2010-12-15Unlock the char select dialog even if we've got an error.Yohann Ferreira1-1/+1
This permit not to be stuck at character deletion when something goes wrong. Trivial fix.
2010-12-15Small hacking cleanups.Yohann Ferreira2-7/+14
In preparation for resolution of mana-issue: #211. Trivial.
2010-12-06Removed superfluous #includes taken from checkheaders list.Yohann Ferreira40-75/+0
Resolves: Mana-Mantis #265. Trivial fix.
2010-12-06Removed deprecated autotools support.Yohann Ferreira1-513/+0
2010-12-05Add support for tiles with spacingStefan Dombrowski4-7/+10
Now the map from the Mana server's example data is shown properly. Reviewed-by: Jaxad0127
2010-11-29Allow enter OK button key in input field.Andrei Karas3-1/+9
By default OK shortcut is space key. Reviewed-by: Jaxad0127, Kage
2010-11-15Remove the configlistener.h from the file listChuck Miller1-1/+0
Trivial fix
2010-11-13Replace config listeners with the event systemChuck Miller17-165/+92
Reviewed-by: Jared Adams
2010-11-12Change NPC handling in the net codeChuck Miller9-139/+237
Instead of using events to invoke netcode, invoke netcode directly and have it send events Reviewed-by: Freeyorp
2010-11-12Fix item name in floor item popup menu.Andrei Karas1-1/+1
Trivial fix.
2010-11-11Replace Event names with enums instead of stringsChuck Miller34-148/+204
2010-11-11Have the event system channels use enums instead of stringsChuck Miller45-152/+167
Reviewed-by: Freeyorp
2010-11-11Fix unloading of the emote databaseChuck Miller1-0/+3
Trivial fix
2010-11-09These files needed to be added to SRCS, not SRCS_MANAChuck Miller1-2/+2
Trivial fix
2010-11-09Fix client successful unregister behaviour for manaserv.Yohann Ferreira1-1/+1
Resolves: Mana-Mantis #250. Reviewed-by: Freeyorp, thorbjorn.
2010-11-07Convert the emote system to use particlesChuck Miller11-159/+75
Reviewed-by: Jared Adams
2010-11-02Re-Enable the support of manaserv servers.Yohann Ferreira3-59/+0
Reviewed-by: CodyMartin.
2010-11-02Add missing variable initialisation in Being.Andrei Karas1-1/+2
2010-11-02Adding double-click to server dialog and world select dialogStefan Dombrowski6-0/+46
This resolves http://bugs.manasource.org/view.php?id=259 Reviewed-by: Thorbjorn
2010-11-01Fix the client version on Windows.Yohann Ferreira1-3/+3
Trivial fix.
2010-11-01Merge branch '0.5' of gitorious.org:mana/manaYohann Ferreira55-482/+829
Conflicts: src/being.cpp src/client.cpp src/commandhandler.cpp src/gui/setup_video.cpp src/gui/socialwindow.cpp src/gui/viewport.cpp src/gui/widgets/browserbox.cpp src/gui/widgets/itemcontainer.cpp src/imageparticle.cpp src/localplayer.cpp src/localplayer.h src/map.cpp src/net/tmwa/beinghandler.cpp src/particle.cpp src/particle.h src/player.cpp src/player.h
2010-10-31Fix memory leak of localplayer classes in the charserverhandlerChuck Miller2-2/+2
They are initialized else where in the code Reviewed-by: Jared Adams
2010-10-31Using tile coordinates for pick-upStefan Dombrowski2-9/+4
Since the tile coordinates are already avaible the calculation is not needed. Furthermore this avoids the correction of the tile, which was needed because the pixel coordinates are meant as coordinates for drawing the being. This resolves http://bugs.manasource.org/view.php?id=249 Reviewed-by: Thorbjorn
2010-10-22Changed 'Low CPU' options and related gui widgets name to 'Disable ↵Yohann Ferreira3-32/+36
transparency'. That name is more explicit about what it actually does. Reviewed-by: CodyMartin.
2010-10-22Turned the OpenGL and disable transparency options as static members.Yohann Ferreira7-46/+66
- Now OpenGL and the transparency disabling are set at startup and not read again for displaying graphics, preventing graphic errors before startup. - We also agreed long time ago that SDL specific functions should have a SDL prefix. The header has been rearranged a bit to do so. - Also fixed a possible discrepancy in the hasAlphaChannel() function. Reviewed-by: CodyMartin. Resolves: Mana-Mantis: #260.
2010-10-22Removed short forms for --localdata-dir and --chat-log-dirThorbjørn Lindeijer1-3/+3
They are more confusing than helpful. Users of these options would likely set up a shortcut or alias already anyway.
2010-10-22Fixed command line parameter '--localdata-dir'A.R. iceslice1-5/+5
Also changed '--chat-log-dir' to use -T as short form, to avoid conflict with -l option used by ManaPlus.
2010-10-19Heavy GUI fixes related to stats for Manaserv.Yohann Ferreira4-40/+144
Also tested to be compatible with tA. Now the Status window is much more nicer when using Manaserv. HP, max hp, ... are now working fine along with corrections made in the attributes.xml file (in next commit.) Reviewed-by: Thorbjorn.
2010-10-19Fix crash in drawing incorrect strings.Andrei Karas1-11/+11
Reviewed-by: cody
2010-10-18Add portable support for windows version.Andrei Karas2-2/+60
Add portable option to windows installer. Reviewed-by: Thorbjorn
2010-10-18Fixing saving of lowcpu value in configStefan Dombrowski1-7/+3
Trivial fix.
2010-10-17Making the setup for lowcpu robustStefan Dombrowski1-4/+15
Reviewed-by: Bertram, Thorbjorn
2010-10-17Changing client version to 0.5Stefan Dombrowski3-26/+3
Removing mana-ea.rc, because it was the same as mana.rc. Reviewed-by: Aard, Bertram
2010-10-17Added death effects to particle engine.Philipp Sehmisch7-30/+124
Every particle can now have a death effect. This is an effect which is created when the particle dies. Which death reasons (timeout, touching floor, touching sky, reaching target or deleted by external call) trigger the effect can also be specified. This is useful for exploding projectiles and many other effects. Reviewed-by: Bertram
2010-10-17Removed unnecessary condition in net::readCoordinates.Yohann Ferreira1-6/+2
It is used only by tmwa handlers. Trivial fix.
2010-10-17Fixing commandline option for local data directoryStefan Dombrowski1-1/+1
2010-10-17Fixed wrong alpha calculation of text particlesPhilipp Sehmisch4-18/+18
This resolves: http://bugs.manasource.org/view.php?id=51 Reviewed-by: Bertram
2010-10-17Added Low CPU Mode toggle in video setup. Defaults to On.madcamel@gmail.com5-13/+74
This disables the Image::setAlpha() function, which uses 60% of the client's CPU cycles. When enabled, visual quality is slightly decreased, especially with the particle system. Toggling this setting On from an Off state requires a client restart or the graphics look quite funny. Bertram's addition: - Renamed 'Low CPU' to 'Disable transparency (Low CPU)' in the gui for better understanding. - Removed the sprite display with 30% opacity when disabling transparency since it made monsters and drops be drawn above all layers at full opacity. - Made the OpenGL mode disable the 'low CPU mode'. - Fixed the GUI logic as much as possible. Please note that the GUI opacity slider stays enabled when transparency is disabled even if told to be disabled in that case. Reviewed-by: CodyMartin, 4144, MadCamel.
2010-10-17Fixing missing translation of direction for tA-serverStefan Dombrowski1-0/+7
Reviewed-by: Bertram
2010-10-17Add new three colors.Andrei Karas3-4/+34
Add colors: Local Player Hits Monster Local Player Critical Hit Local Player Miss Reviewed-by: cody
2010-10-16Return to color config options prefix Color.Andrei Karas1-15/+15
Reviewed-by: cody