summaryrefslogtreecommitdiff
path: root/src/net
AgeCommit message (Collapse)AuthorFilesLines
2006-08-27Got rid of no longer used protocol.cppBjørn Lindeijer4-96/+1
2006-08-27Changed to pixel-based coordinates for beings.Guillaume Melquiond2-8/+6
2006-08-27Send movements.Guillaume Melquiond2-4/+13
2006-08-26Applied patch by AHarrison that adds item pickup messages to the chat window.Bjørn Lindeijer1-0/+9
2006-08-26Got rid of the default MessageOut constructor, since all messages should haveBjørn Lindeijer2-12/+0
an ID.
2006-08-26Handle "beings move" messages.Guillaume Melquiond3-2/+27
2006-08-26Made the Network class a purely static interface, as there is only one instance.Guillaume Melquiond6-98/+55
2006-08-26Fixed player sprite not showing up.Bjørn Lindeijer1-1/+1
2006-08-26Got rid of numerous additions and substractions to the hair style and color.Bjørn Lindeijer1-2/+2
Hair style 0 was added and defined as being bald (so bald is no longer a hardcoded style).
2006-08-26Implemented "say around" chat.Guillaume Melquiond3-12/+34
2006-08-20GPMSG_PLAYER_MAP_CHANGE is now partly handled.Bjørn Lindeijer3-36/+54
2006-08-20Changed MessageHandler::handleMessage to take a reference instead of a pointer.Bjørn Lindeijer32-414/+355
Removed unused Packet class. Added stub for handling GPMSG_BEING_ENTER.
2006-08-20Fixed selection of player character and implemented sending of game and chatBjørn Lindeijer2-4/+13
server tokens. It gets you in the game (or what's left of it), but not on any map yet.
2006-08-20Added documentation and did a bit of cleanup.Bjørn Lindeijer2-72/+72
2006-08-20The Network can now connect to the three servers and affected methods now takeBjørn Lindeijer7-90/+169
the server type as a parameter. The MessageOut gained a convenience constructor (same as was added server side). The game states during login sequence have been renamed and redone in order to ensure no communication is attempted to unconnected servers. This allowed the removal of the outgoing message queue. Connecting to the account server has been moved before the login/register phase (dialogs will still need to be updated). Quite a few things are expected to be broken since I'm rather tired at the moment. I've left many TODO entries in the code.
2006-08-19Removed incoming packets queue. Messages are now processed as they come in.Bjørn Lindeijer2-27/+18
2006-08-15Fixed typo and forgetting to add APMSG_CHAR_SELECT_RESPONSE to the list ofBjørn Lindeijer1-1/+2
handled messages.
2006-08-14Some preparations towards supporting character select and response handling.Bjørn Lindeijer2-5/+28
2006-08-14Fix warning about jump to case label crossing an initialization.Bjørn Lindeijer2-55/+73
2006-08-14Completed porting of character creation/deletion, fixed some issues with ↵Eugenio Favalli10-157/+120
network code.
2006-08-13Verify the gender to prevent crashing when something is wrong with the ↵Bjørn Lindeijer2-7/+10
communication.
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer2-3/+3
from the 0.1.0 branch.
2006-08-02Some cleanups, fixes and a small start on a solution for the animated spriteBjørn Lindeijer1-2/+2
synchronization problem (resetting all animations).
2006-08-02Ported account registration to tmwserv. There's still a ↵Eugenio Favalli3-2/+41
disconnection/reconnection between registration and login.
2006-08-01Fixed several compiler warnings and a linker error when compiling withoutBjørn Lindeijer3-13/+13
OpenGL support.
2006-08-01Moved some basic checks above the checks on the libraries we depend on, inBjørn Lindeijer1-2/+2
order to get rid of the confusing rpl_realloc error.
2006-07-31Corrected an off by one error in packet size.Bjørn Lindeijer1-4/+5
2006-07-30Updated TMW to be compatible with Guichan 0.5.0 (merged from guichan-0.5.0Bjørn Lindeijer3-5/+12
branch).
2006-07-26Removed char server selection dialog, and added character visualization in ↵Eugenio Favalli2-6/+20
character selection dialog.
2006-07-25Fixed Linux compiling issues and merged update system fix for Windows.Bjørn Lindeijer2-5/+5
2006-07-25Switched client to use enet and modified login sequence to work with the new ↵Eugenio Favalli20-886/+626
protocol from tmwserv.
2006-07-24Equipments now use real slot positions.Eugenio Favalli1-6/+6
2006-07-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli3-24/+24
2006-07-03Fixed visible equipment initialization and hack to see 2 kinds of visible ↵Eugenio Favalli1-3/+3
equipments.
2006-06-29GCC 4 fix.Eugenio Favalli1-0/+2
2006-06-29Clients get notified of equipping visible items.Eugenio Favalli1-10/+23
2006-06-26Fixed the readString method (synchronized with the server version by GuillaumeBjørn Lindeijer1-16/+12
Melquiond).
2006-06-21Added female players.Eugenio Favalli2-2/+3
2006-03-19Unreverted latest change by Doener due to my lack of proper communication ↵Eugenio Favalli1-4/+4
abilities.
2006-03-19Reverted changeset r2269 (toString) as requested by ElvenProgrammer.Björn Steinbrink1-4/+4
2006-03-18Added a toString conversion function.Björn Steinbrink1-4/+4
2006-03-15Fixed connection not being shut down completely in case of an error.Björn Steinbrink1-4/+7
2006-03-09Made all local action listeners structs and moved them into anonymous ↵Björn Steinbrink2-22/+22
namespaces.
2006-03-09Made all class members named like mClassMember.Björn Steinbrink5-100/+124
2006-03-05Merged new_playerset branch into trunk.Eugenio Favalli1-1/+8
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink2-14/+7
2006-02-23A bunch of mostly cosmetic cleanups.Björn Steinbrink1-1/+1
2006-02-07Made the being directions being stored in a bitfield.Björn Steinbrink2-0/+64
2006-02-06Undone last changes because Bertram already fixed the compiler issue.Eugenio Favalli1-2/+0
2006-02-06Updated Dev-Cpp project file, fixed a gcc 3.4 issue.Eugenio Favalli1-17/+19