summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-20Buffer layered sprites under SDLJared Adams10-69/+320
This improves framerate and allows transparent overlay for complex sprites. Two copies of the buffer are kept, one at full opacity, one with variable opactiy, to reduce calls to setAlpha. Reviewed-by: Bertram
2010-05-17Add support for different target cursor sizes for NPCsJared Adams4-24/+28
Moves the parsing logic for the size strings into BeingInfo to share the code. Reviewed-by: Freeyorp
2010-05-17Remove Monster, Player, and NPC classesJared Adams76-1641/+1135
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp
2010-05-13Fix added images to automake.Andrei Karas1-5/+9
2010-05-09Move target cursor management into ActorSpriteJared Adams16-96/+187
This simplifies handling of target cursors, centralizing their logic into a single class, instead of two. Also make them more flexible and move the image files outside of the theme so servers can can control them and give them better names. Reviewed-by: Thorbjørn Lindeijer
2010-05-06Add support for floor item spritesJared Adams46-720/+1158
This commit adds a sprite hierarchy (Sprite->ImageSprite,AnimatedSprite,CompundSprite; CompoundSprite,Actor->ActorSprite;ActorSprite->Being,FloorItem) to collect common functionailty into new base classes which will make other Mantis tickets easier to do. Also allows monsters to use particle effects. Reviewed-by: Bertram
2010-05-01Add chat logging.Andrei Karas20-1/+335
Add option in players setup page. Add command line option. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-04-23Add an Actor class to replace the Sprite classJared Adams17-358/+317
The Actor class manages the Map reference, position vector, and alpha float. These are the common parts from it's children.
2010-04-23Add documentation for the /away command.Bertram1-5/+21
Reviewed by Jaxad0127
2010-04-21Add a clear button to the NPC dialogJared Adams4-16/+73
Reviewed-by: Bertram
2010-04-19Add afk mode for player.Andrei Karas8-1/+115
Add variable cur_time for current time. Add command /away [text] Reviewed by: Bertram
2010-04-19Fix two skill failed constantsJared Adams1-2/+2
See tmwAthena's skill.c lines 7628 and 7633. Reviewed-by: Chuck Miller
2010-04-17Changed an EATHENA remaining reference to TMWATHENA.Bertram1-1/+1
Latest two patches reviewed by Jaxad0127.
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram60-493/+496
accordingly. This makes room for the actual eAthena protocol future inclusion.
2010-04-16Remove an unneeded monster job offset in eAthena netcodeJared Adams2-8/+4
2010-04-16Fix canceling game connectionJared Adams8-14/+46
Reviewed-by: Bertram
2010-04-16Add race support for eAthenaJared Adams15-84/+129
The job/class field is used to select the race. If the given race isn't defined, it falls back on the first race (so servers can use jobs/classes without races). Also rename job to subtype for Being and subclasses, and begin support for changing monster and NPC subtypes on the fly (particle effects still need to be reset when they change). Reviewed-by: Bertram
2010-04-12Fix error in server list download when download has problemsJared Adams1-2/+5
2010-04-12Fix canceling game connect leaving no characters to selectJared Adams1-1/+1
2010-04-12Completely ignore eAthena job 45Jared Adams2-3/+9
These are warps. Reviewed-by: Bertram
2010-04-12Reviewed the LocalPlayer::nextTile() function. The ManaServ movement system ↵Bertram4-135/+356
is functional!! Introduced LocalPlayer::getNextWalkPosition(unsigned char dir) which takes care about the player next position while moving using keyboard. I removed the pixel scaler thing because it couldn't handle all the noticed cases and was rather heavy. There is still a bug in the movement system (nothing's perfect) but it's very rare and this is here in eAthena, too. So, I'll give a try at taking care of it once I'll have polished all of this a bit. Please try and give feedback!!
2010-04-12Added the player collision rectangle and tweaked colorsBertram3-5/+27
2010-04-12Forgot to remove Being::checkNodeOffset() function.Bertram3-82/+15
2010-04-12Added a more trusty path debug view for ManaServ.Bertram2-15/+58
2010-04-12Move path finding related code to the Map class and small fixes.Bertram3-48/+162
It permits two things: 1. It simplifies and demystifies Being::SetDestination() code. 2. It will permit to show the *real* calulated path when using the drawDebugPath feature for ManaServ.
2010-04-12One step closer to the full movement system ready.Bertram2-46/+134
The LocalPlayer::nextTile() function has been sanitized and the movement system has been fine tuned, but yet not optimized. (Optimizations and riddance of 32 hard-coded value will come later.) There is just one case left not handled correctly when the character walked within one tile south-east of a blocking one and then the player click north-west (through the blocking tile) on a walkable location. Quite rare but still here.
2010-04-12Finished Being::checkNodeOffsets function.Bertram1-8/+28
2010-04-12Add support for map-server switching under eAthenaJared Adams15-39/+109
Also do some cleanup that's been needed for a while. Reviewed-by: Bertram
2010-04-11Fix one crash when switching serversJared Adams1-3/+3
Reviewed-by: Freeyorp
2010-04-09Add support for registration disabled for eAthenaJared Adams6-4/+30
Reviewed-by: Chuck Miller`
2010-04-08Fix handling of "../" and fix a bug in TSX handlingJared Adams2-12/+36
2010-04-06Fix a crash when adding new serversJared Adams3-32/+17
Reviewed-by: Chuck Miller
2010-04-04Fix a crash in PlayerRelationsManagerJared Adams1-1/+1
2010-04-03Fix a crash after changing serversJared Adams3-2/+4
Reviewed-by: Chuck Miller
2010-04-01Fix crash when trying to talk to NPCs under ManaServ at a distanceJared Adams1-0/+3
Reviewed-by: Chuck Miller
2010-03-31A hack to prevent NPCs from walking off screen on ManaServChuck Miller1-0/+4
This should really be fixed a different way, but until I find the cause of the issue, this will have to hold.
2010-03-31Don't spam change direction packetsJared Adams1-2/+2
Reviewed-by: Chuck Miller
2010-03-31Removed some unused members from Party and Guild classesThorbjørn Lindeijer4-98/+17
Reviewed-by: Jared Adams
2010-03-31Removed the ability to assign custom skins to windows/popupsThorbjørn Lindeijer8-67/+3
Old settings are causing it to fall back on the wrong combination of files if old data is in the search path. Reviewed-by: Jared Adams
2010-03-31Updated AUTHORS, INSTALL and README filesThorbjørn Lindeijer4-71/+34
Removed content developers since this is no longer part of this project. Added a lot of missing developers that showed up in the git log a few times. Also removed the outdated mentioning of --with-server configure option, some outdated skills related stuff and corrected some contact information.
2010-03-30Rename file manaserv netcode looks from from tmw-skills.xml to mana-skills.xmlChuck Miller1-1/+1
2010-03-30Fix some memory issuesJared Adams6-2/+25
Reviewed-by: Thorbjørn Lindeijer
2010-03-29Add minimum version information to the server listJared Adams6-30/+166
Use it to hilight entries that we don't meet. Also make the entries in that list higher, put server name and location on different lines, and use the description below the list. The dialog is also resizable now. Reviewed-by: Freeyorp
2010-03-29Fix ListBox::draw to work more correctlyJared Adams1-4/+4
Reviewed-by: Thorbjørn Lindeijer
2010-03-27Fix crash with showing BeingPopupJared Adams1-1/+1
Reviewed-by: Freeyorp
2010-03-26Reduce the amount of "Unable to unequip item" when changing outfits.Chuck Miller1-5/+3
It will still do it at times because of lag. But this reduced it for me by about 80% Reviewed-by: Jared Adams
2010-03-26Replace most dynamic_casts with static_castsJared Adams14-85/+62
The remaining instances can't easily or safely be changed as the classes involved don't have type information like Being does. Reviewed-by: Freeyorp
2010-03-25Simplify NPC input when only one dialog is openJared Adams1-0/+3
Reviewed-by: Freeyorp
2010-03-25Fix the close button on the inventory windowChuck Miller1-5/+8
Reviewed-by: Jared Adams
2010-03-25Fix crash in inventory window, adds quick retrieve to the windowChuck Miller1-4/+11
Reviewed-by: Jared Adams