Commit Graph

195 Commits

Author SHA1 Message Date
27a08947c3 Bug fix - freed a wrong menu structure 2013-01-02 02:39:34 +01:00
c2c14d107b Refactored menu sending to a separate function 2013-01-02 02:39:20 +01:00
d87a26dbe1 Now checking if text file loading was successful 2013-01-02 02:18:47 +01:00
cca1c9df83 Finished code restructuring 2013-01-02 02:09:16 +01:00
8402455a87 Now issuing a warning if we are logging a debug message in non-debug mode 2013-01-02 02:08:06 +01:00
8cf82c0d8c Added missing g_clear_error() in wmud_load_error() 2013-01-02 02:06:19 +01:00
b2ac190284 Refactored huge switch() in wmud_client_callback() 2013-01-02 02:05:53 +01:00
78b21fdb1a Restructured code for better readability 2013-01-02 02:04:53 +01:00
f71ff426e5 Made some more cleanup in old-sources 2013-01-02 00:25:48 +01:00
3fe7b6aade Cleaned up old (CircleMUD) stuff 2013-01-01 23:52:14 +01:00
Gergely POLONKAI (W00d5t0ck)
a72075a840 Created a NetBeans project
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-08-25 22:16:08 +02:00
Gergely POLONKAI (W00d5t0ck)
c96a9c13c8 Added LT_INIT to configure.ac
For later module loading support

Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-08-25 22:14:03 +02:00
Gergely POLONKAI (W00d5t0ck)
059ff3b03a Moved some TODO items to GitHub's issue tracker
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-08-25 22:13:16 +02:00
Polonkai Gergely
dceedb11ac Now freeing previous menu list upon menu loading if any
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-21 14:17:34 +00:00
Gergely POLONKAI
8195c7d134 Extended .gitignore files
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-19 14:57:02 +02:00
Gergely POLONKAI
9895a2dc27 Added some hints to libgiosmtp source files
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-19 14:56:02 +02:00
Gergely POLONKAI
ab676b17a0 Added libtool specific files to .gitignore
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-19 12:41:27 +02:00
Gergely POLONKAI
527596d026 Added the libgiosmtp module, and hence libtool support
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-19 12:40:07 +02:00
Gergely POLONKAI
d718cc7405 Maintenance function now starts in every 10 minutes instead of 3 seconds
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-19 11:51:43 +02:00
Gergely POLONKAI
8e02a3526a Added missing #include to game-networking.c
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-19 11:51:14 +02:00
Gergely POLONKAI
e9e78e825c Fixed thread initialization code.
Now it works well for older and newer GLib versions

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-19 11:50:56 +02:00
Gergely Polonkai (W00d5t0ck)
963d78b9e5 Added example code for SMTP connections
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-18 16:58:17 +02:00
Gergely Polonkai (W00d5t0ck)
f3ab981580 Added a static text and template handling bundle skeleton
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-18 15:55:02 +02:00
Gergely Polonkai (W00d5t0ck)
7fa4ffd9fd Fixed spacing of logger skeleton. Added initial comment to main.h
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-18 15:53:48 +02:00
Gergely Polonkai (W00d5t0ck)
136b000d77 Fixed smtp server example and smtp tls comment in config example
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-18 10:33:16 +02:00
Gergely Polonkai (W00d5t0ck)
434a19a1a0 Added libcurl as a configure dependency. We also check for SMTP support
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-18 09:41:30 +02:00
Gergely POLONKAI
ea0f6e8af2 Now reading SMTP related settings from the config file
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-17 23:05:23 +02:00
Gergely POLONKAI
743cb3c5ad Removed unnecessary line from quit menu command
Signed-off-by: Gergely Polonkai (polesz@w00d5t0ck.info)
2012-05-17 22:44:54 +02:00
Gergely POLONKAI
e821a44c71 Refactored WMUD_CLIENT_STATE_NEWCHAR state
WMUD_CLIENT_STATE_NEWCHAR is now removed in favour of
WMUD_CLIENT_STATE_YESNO

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-17 22:30:06 +02:00
Gergely POLONKAI
4e479e0045 Fixed connection closing method, and fixed a logout/login problem
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-17 22:18:04 +02:00
Gergely POLONKAI
e8660f2a31 Added G_LOG_LEVEL_MESSAGE to logger
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-17 22:17:40 +02:00
Gergely POLONKAI
48eb728669 Fixed create-world.sh and drop-world.sh scripts to include menus, too
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-05-17 22:17:21 +02:00
Polonkai Gergely
7fd61053ae Added the menu function quit
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-17 16:54:16 +00:00
Polonkai Gergely
a25364a98c Added a Yes/No question client state, while removing the quitwait state
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-17 16:52:01 +00:00
Gergely Polonkai (W00d5t0ck)
d6f18441c1 Added the skeleton of the future logging mechanism.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-17 16:20:25 +02:00
Gergely Polonkai (W00d5t0ck)
846629de81 Added basic menu functions.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-17 16:19:21 +02:00
Polonkai Gergely
93bf11c446 Now sending prepared menu items to logged in players
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-16 19:54:48 +00:00
Polonkai Gergely
0c725d75ec Fixed menu loading
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-05-16 14:07:18 +00:00
Polonkai Gergely
39d752b8f1 Bugfix: GRegex created many times, but never freed 2012-04-06 19:47:32 +00:00
Polonkai Gergely
ae38341601 Added game_menu variable. Started implementing menu-item sending. 2012-04-06 08:31:08 +00:00
Polonkai Gergely
3a1d9ff266 Re-checked and fixed TODO list
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-04-06 08:30:40 +00:00
Polonkai Gergely
12362038a7 Removed debug log message that outputs the password.
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-04-06 08:25:29 +00:00
Polonkai Gergely
ed53af6ca6 Added new ideas
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-04-05 11:56:12 +00:00
Polonkai Gergely
db4ca68b7e Added the menu loading and checking functions.
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-31 09:19:57 +00:00
Gergely Polonkai (W00d5t0ck)
d60f0a85f1 Added menu table and its contents to the SQL files
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-30 20:36:29 +02:00
Gergely Polonkai (W00d5t0ck)
337dbc4527 Almost finished world loading code
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-30 19:53:47 +02:00
Gergely Polonkai (W00d5t0ck)
4e659a9ef7 Redesigned the WMUD_*_ERROR GQuarks
They are now conform to GLib's method (which is more secure I think)

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-30 17:43:45 +02:00
Polonkai Gergely
8835cb258b Added documentation and planes field to wmudPlanet
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:26:19 +00:00
Polonkai Gergely
fddfb4b594 Fixed variable name mismatch in world.c
A variable name mismatch prevented the code to compile on machines with
GLib < 2.28
2012-03-29 18:14:03 +00:00
Gergely Polonkai (W00d5t0ck)
2d45069c88 Finished room exit sanity checking code
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 19:46:14 +02:00