Commit Graph

17 Commits

Author SHA1 Message Date
Polonkai Gergely
cf01fddc15 Moved MAX_RECV_LEN into config.h 2012-03-22 18:57:48 +00:00
Polonkai Gergely
a8c7a04cfe Moved the game loop into a new thread (yet this is the only one)
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-03-22 18:46:15 +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
Gergely Polonkai (W00d5t0ck)
c0a85622be Added basic configuration file parsing
* Created example configuration file
* Added wmud_config_init() to parse configuration file

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-22 12:21:05 +01:00
Gergely Polonkai (W00d5t0ck)
ec5fec631f Removed the wmud_interpreter_init() function 2012-03-22 12:19:42 +01:00
Gergely Polonkai (W00d5t0ck)
d888ed9104 Added function comments in main.c. Removed some debug texts from main.c 2012-03-22 11:00:59 +01:00
Gergely Polonkai (W00d5t0ck)
b29f7c9063 Added a randomized response on unknown commands.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-14 20:19:05 +01: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
84ba83c8ba Fixed %ld to %d to supress warnings during testing.
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-03-13 02:21:59 +01:00
Gergely Polonkai (W00d5t0ck)
4ed9f6bcea Minor code changes
* Fixed GThread init call
* Added elapsed second count

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-12 16:42:13 +01:00
Polonkai Gergely
73ffc4a8fb Moved networking code to networking.[ch] 2012-03-12 12:55:53 +00:00
Polonkai Gergely
12706d7e85 Added GThread support 2012-03-12 12:54:38 +00:00
Polonkai Gergely
9e6780cded Finished basic network stack
Game network stack is now working fine. It still needs error checking to be done.
2012-03-11 22:44:29 +00:00
Gergely Polonkai
6f71c03a8c Finished basic game networking stack (no error handling) 2012-03-11 16:50:45 +01:00
Gergely Polonkai
44a5a07874 Added debugging support
Added --enable-debug flag to configure.ac. It currently only enables the
DebugContext macro in main.c
2012-03-10 18:24:23 +01:00
Gergely Polonkai (W00d5t0ck)
7d93696438 moved from GNet to GLib/GIO
GNet, which was originally chosen to be used as the networking library
is obsolete and upstream is no longer developed. Thus, I moved to GLib/GIO
(which sucks, without proper examples).
2012-03-08 17:39:45 +01:00
Gergely Polonkai (W00d5t0ck)
13d99aa4b0 Extended .gitignore files
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-07 23:00:58 +01:00