summaryrefslogtreecommitdiff
path: root/src/net
AgeCommit message (Collapse)AuthorFilesLines
2010-07-18Add event.h to eventmanager.h and listener.h to reduce total number of includesChuck Miller14-14/+0
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 Miller12-87/+85
There is still a good way to go, but this should get us started Reviewed-by: Jared Adams
2010-07-18Replace some state-related netcode methods with eventsJared Adams19-136/+128
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 Adams7-25/+27
Also cleanup PlayerInfo a bit. Reviewed-by: Chuck Miller
2010-07-17Move ManaServ defines into the netcodeChuck Miller2-0/+77
Reviewed-by: Jared Adams
2010-07-17Modify how attributes and stats are handledChuck Miller11-192/+158
Handling moved from LocalPlayer to PlayerInfo class Event system used to update windows Reviewed-by: Jared Adams
2010-07-10Moved parsing of specials.xml from gui/specialswindow.cpp to separate source ↵Philipp Sehmisch1-1/+0
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-08Fix crash in picking up an item that no longer existsremoitnane2-7/+13
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 Adams2-6/+23
Reviewed-by: Bertram
2010-06-24Fix a logic error in tmwAthena's PartyHandlerJared Adams1-1/+1
Pre-approved-by: Freeyorp
2010-06-13Merge remote branch '1.0/1.0'Jared Adams8-33/+40
Conflicts: data/graphics/CMakeLists.txt data/graphics/Makefile.am src/client.cpp
2010-06-13Handle char-server login errors betterJared Adams1-6/+4
Also fix a small compilation error sometimes reported. Reviewed-by: Chuck Miller
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams14-63/+63
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller
2010-06-09Fix dead Beings not being removed using tmwAthenaJared Adams1-2/+2
Rename mWalkTime to mActionTime in Being and have Being manage death. Reviewed-by: 4144
2010-06-09Remove hard-coded frame counts from Being classJared Adams2-9/+2
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-06Softcode the stat for character creation for manaservJared Adams4-18/+27
Reviewed-by: Thorbjørn Lindeijer
2010-06-03Cleanup some logging statementsJared Adams1-2/+2
Reviewed-by: Thorbjørn Lindeijer
2010-06-01Made the MP bar be shown only if the protocol is using it.Yohann Ferreira3-1/+13
Reviewed-by: Jaxad0127.
2010-05-22Fix handling of tmwAthena registration disabled bitJared Adams2-7/+7
2010-05-21Merge branch '1.0'Thorbjørn Lindeijer14-74/+386
Conflicts: src/beingmanager.cpp src/beingmanager.h src/client.cpp src/localplayer.cpp
2010-05-21Merge protocol from manaserv about thing types.Yohann Ferreira2-8/+15
Reviewed-by: Jaxad0127 (A few days ago...)
2010-05-17Remove Monster, Player, and NPC classesJared Adams25-130/+104
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-04Clear NPC dialogs when the player diesJared Adams6-0/+24
Reviewed-by: Freeyorp
2010-05-03synchronised protocol.h between manaserv, mana and manamobileMaximilian Philipps3-29/+79
2010-05-01Add chat logging.Andrei Karas4-0/+18
Add option in players setup page. Add command line option. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-04-25Make ManaServ player stats softcodedJared Adams4-37/+268
A new stats.xml file is parsed for player stats for ManaServ. The old hardcoded stats remain as backup. 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 eAthena protocol name to TmwAthena and changed the config files ↵Bertram48-283/+286
accordingly. This makes room for the actual eAthena protocol future inclusion.
2010-04-16Remove an unneeded monster job offset in eAthena netcodeJared Adams1-6/+0
2010-04-16Fix canceling game connectionJared Adams5-10/+38
Reviewed-by: Bertram
2010-04-16Add race support for eAthenaJared Adams2-3/+3
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-12Completely ignore eAthena job 45Jared Adams1-0/+8
These are warps. Reviewed-by: Bertram
2010-04-12Add support for map-server switching under eAthenaJared Adams11-17/+83
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 Adams5-4/+27
Reviewed-by: Chuck Miller`
2010-04-06Fix a crash when adding new serversJared Adams1-4/+8
Reviewed-by: Chuck Miller
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-30Rename file manaserv netcode looks from from tmw-skills.xml to mana-skills.xmlChuck Miller1-1/+1
2010-03-30Fix some memory issuesJared Adams3-1/+7
Reviewed-by: Thorbjørn Lindeijer
2010-03-29Add minimum version information to the server listJared Adams1-0/+9
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-26Replace most dynamic_casts with static_castsJared Adams2-9/+12
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-25Remove the type boolean from InventoryWindowJared Adams5-43/+44
This moves inventory/storage type into the Inventory class, having size default to a call to the netcode to get the sive for the given type. Reviewed-by: Chuck Miller
2010-03-25Merge StorageWindow into InventoryWindowJared Adams3-6/+3
Reviewed-by: Chuck Miller
2010-03-21Fix crash when declining inviteJared Adams1-0/+3
Reviewed-by: Chuck Miller
2010-03-15Fix some branding issuesJared Adams1-0/+10
Reviewed-by: Chuck Miller
2010-03-12Add an optional offset property to monsters.xmlJared Adams1-3/+0
And remove the hardcoded offset from eAthena's BeingHandler. Reviewed-by: Freeyorp
2010-03-12Split Palette into Theme and UserPaletteJared Adams2-4/+4
Themes can now control the colors they use. Colors in the Viewport (being names, particles, etc) can still be changed by the user. Also make ProgressBars more easily colored. DyePalette was made more flexible in the process. Also fixes comparing strings of different lengths insensitively. Reviewed-by: Thorbjørn Lindeijer
2010-03-01Stop processing for next/close with no dialogJared Adams1-0/+2
2010-02-28Add delete button to ServerDialog and only save saved serversJared Adams1-0/+4
Reviewed-by: Thorbjørn Lindeijer