Commit Graph

126 Commits

Author SHA1 Message Date
Gergely POLONKAI (W00d5t0ck)
68b472e1f6 Added some future plans to wmud.conf.example.
These settings are NOT implemented yet, but will be implemented in 1.0

Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 23:28:33 +02:00
Gergely POLONKAI
6be776044d Reformatted TODO's command list, and fixed some space mismatches
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 23:07:38 +02:00
Polonkai Gergely
2952502eaa Continued world loading code
Added directions loading and checking, and planes loading.

Signed-off by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-27 20:00:01 +00:00
Polonkai Gergely
63d8d917bf Moved wmudDbERror struct to db.h
Signed-off by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-27 19:47:29 +00:00
Polonkai Gergely
92ff91b989 Made create-world.sh and drop-world.sh a template.
create-world.sh and drop-world.sh are now autogenerated by the configure
script, as they need to hold some paths set by that script.

Signed-off by Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-27 19:42:56 +00:00
Polonkai Gergely
b148141200 Renamed wmud_db_players_load() to wmud_db_load_players() to follow naming conventions. 2012-03-27 19:34:04 +00:00
Polonkai Gergely
df755de02c Fixed data inserting code in world creation SQL.
Signed-off by Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-27 17:49:03 +00:00
Polonkai Gergely
91a0a44e90 Created world-dropping SQL code.
Signed-off by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-27 17:45:18 +00:00
Polonkai Gergely
c6e7d2737e Renamed src to wmud - also in configure.ac 2012-03-27 17:00:45 +00:00
Gergely Polonkai (W00d5t0ck)
ae8ab4542e Renamed directory src to wmud
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 17:14:55 +02:00
Gergely Polonkai (W00d5t0ck)
188ce00473 Now removing all known telnet codes from the string received from the client
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 12:38:57 +02:00
Gergely Polonkai (W00d5t0ck)
419321d9b9 Typo fix in configuration.c that prevented configuration loading.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 12:38:05 +02:00
Polonkai Gergely
d1f761fe49 Completely redesigned the TODO list 2012-03-27 08:39:33 +00:00
Polonkai Gergely
4bdb549e07 Added some text to README 2012-03-26 16:34:12 +00:00
Polonkai Gergely
ac98135221 Merge branch 'new-codebase' of /home/polesz/repos/wmud into new-codebase 2012-03-26 16:08:15 +00:00
Polonkai Gergely
4f3c915ee2 Added some TODO items to game-networking 2012-03-26 16:08:11 +00:00
Gergely Polonkai (W00d5t0ck)
0d427d3f93 Created the skeleton of the world loading routines
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 17:33:58 +02:00
Gergely Polonkai (W00d5t0ck)
027359eb85 Removed main_rand
main_rand was unnecessary, so it is now removed. Using g_random_* instead of g_rand_* now.

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 17:02:11 +02:00
Gergely Polonkai (W00d5t0ck)
f9994aa3ae Moved configuration code to configuration.c
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 16:55:36 +02:00
Gergely Polonkai (W00d5t0ck)
e56e4a2f8f Reorganized comment documentation blocks.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 16:52:39 +02:00
Gergely Polonkai (W00d5t0ck)
eea085dcdc Reorganized documentation
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 16:49:04 +02:00
Gergely Polonkai (W00d5t0ck)
480714fc3c Typo fixes in documentation comment block.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 16:43:09 +02:00
Gergely POLONKAI
46f3d39917 Removed some unnecessary functions from game-networking.c
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-26 10:07:02 +02:00
Gergely POLONKAI
f8b5feb361 Moved the game thread to game.c
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-25 14:32:28 +02:00
Gergely POLONKAI
a391b1e8f6 Added the HACKING file for later fill, with only a very basic description 2012-03-25 11:58:14 +02:00
Gergely POLONKAI
e7b142ea31 Added *.bak to global .gitignore 2012-03-25 11:57:49 +02:00
Gergely POLONKAI
738f9742d5 Added some more SQL files for later use. The world Iminiru already uses this structure. 2012-03-25 11:57:12 +02:00
Gergely POLONKAI
d0d763788d Added the very basic dump of the world Iminiru.
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-25 11:56:40 +02:00
Gergely POLONKAI
fae9f3c23e Started re-creating the TODO list structure.
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-25 11:55:57 +02:00
Gergely POLONKAI
4b61fc505e Renamed wmud_types.h to wmud-types.h
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-25 00:16:14 +01:00
Gergely POLONKAI
2ecf738255 Renamed networking.* to game-networking.*
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-25 00:13:37 +01:00
Gergely POLONKAI
3163ad4783 Finished GtkDoc style code documenting.
Added full GtkDoc support
Fixed code comment blocks

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-24 23:52:36 +01:00
Gergely POLONKAI
d17203f2a3 Moved maintenance thread code into maintenance.c
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-24 20:51:06 +01:00
Polonkai Gergely
74e84919d7 Modified the WMUD_COMMAND macro
The WMUD_COMMAND macro now automatically prefixes command handlers
with gcmd_. It is convenient.
2012-03-24 19:37:37 +00:00
Polonkai Gergely
570d31ad4c Code refactoring in networking.c
Renamed some client to client_socket, and client_data to client. Simply following naming conventions now.
2012-03-24 19:35:47 +00:00
Polonkai Gergely
7e78b2b7de Added GtkDoc style in-code documentation 2012-03-24 19:34:36 +00:00
Polonkai Gergely
604c4c4589 Now setting client->authenticated to TRUE upon successful login
Also reformatted long code lines
2012-03-23 16:10:07 +00:00
Polonkai Gergely
cc8d1868cd Added GtkDoc style comments to main.h and players.c 2012-03-23 16:06:01 +00:00
Gergely POLONKAI
486d5bdba6 Merge branch 'new-codebase' of ssh://w00d5t0ck.info/home/polesz/repos/wmud into new-codebase 2012-03-23 16:47:15 +01:00
Gergely POLONKAI
d80ed1820a Added C file header comments
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-23 16:45:38 +01:00
Polonkai Gergely
4ac5d60adf Merge branch 'new-codebase' of /home/polesz/repos/wmud into new-codebase 2012-03-23 15:43:31 +00:00
Polonkai Gergely
f28667db72 Added GtkDoc comments to wmud_types.h 2012-03-23 15:42:58 +00:00
Polonkai Gergely
0d0300b5da Added GtkDoc comments 2012-03-23 15:42:46 +00:00
Gergely POLONKAI
6ab48b5f7b Created player authentication code
Added code to authenticate the logging in player.

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-23 14:40:10 +01:00
Gergely POLONKAI
e7a5e2976f Added socket_source to wmudClient struct
Added socket_source GSource to the wmudClient struct, so it can be removed
upon connection closing. It sometimes caused a bug.

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-23 14:38:36 +01:00
Gergely POLONKAI
f44b1ac6d8 Renamed client_callback() to wmud_client_callback()
Renamed client_callback() to follow naming conventions.

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-23 14:36:43 +01:00
Gergely POLONKAI
42e0254457 Refactored wmud_client_close()
Removed the error checking TODO comment from wmud_client_close()
as g_socket_close() doesn't necessarily needs to be checked for errors.

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-23 14:34:49 +01:00
Gergely POLONKAI
4f601bb3dd Created the wmud_player_dup() function
This function duplicates a wmudPlayer struct.

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-23 14:33:12 +01:00
Gergely POLONKAI
b91ad8d87f Removed registering field from wmudPlayer 2012-03-23 13:07:27 +01:00
Polonkai Gergely
f92c9f5ade Created wmud_player_auth() 2012-03-23 10:39:18 +00:00