Commit Graph

9 Commits

Author SHA1 Message Date
Polonkai Gergely
c054543641 Changed log level of "Connection closed" messages to INFO
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-03-22 18:45:45 +01:00
Gergely Polonkai (W00d5t0ck)
5aa4056633 Made this commit on a wrong branch...
added basic player handling method (no login yet)
2012-03-22 18:34:39 +01:00
Polonkai Gergely
63c37a8791 Minor modifications and code cleaning
* Created a wmud_types.h file to hold all the basic data types used by wMUD
* Redefined wmud_db_init() so error reporting will be possible
2012-03-22 09:49:19 +00:00
Gergely POLONKAI
71ffb83626 Player data processing, minor changes
* Added .anjuta and tags file to .gitignore
* Added new client states
* Moved client connection closing to a separate function
* Added conditional processing of client buffer depending on client state
* Created the basic player structure

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-21 16:07:02 +01:00
Polonkai Gergely
be3e17fd07 Added wmud_client_send() and a client state field.
* The wmudCLient struct now has a state field, which indicates the current
  state of the client (we are waiting her to log in, or to enter a command,
  etc.)
* Created the wmud_client_send() function to send formatted strings to a client
2012-03-14 19:03:54 +00:00
Polonkai Gergely
74fe14660a Added a basic (non-working) command interpreter.
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-03-13 02:22:22 +01:00
Polonkai Gergely
9854290799 Added game client data parsing
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-03-13 00:42:00 +01:00
Polonkai Gergely
21a7603f4c Created the wmudClient struct
Created the wmudClient struct to store data of connected clients.
2012-03-12 22:52:43 +00:00
Polonkai Gergely
73ffc4a8fb Moved networking code to networking.[ch] 2012-03-12 12:55:53 +00:00