Commit Graph

81 Commits

Author SHA1 Message Date
Gergely Polonkai c49e9941a7 Remove unnecessary _itit() functions from main() 2013-11-22 19:27:32 +01:00
Gergely Polonkai fbf6e7ca6a Created a yet unused WmudWorld object for later world handling 2013-06-21 13:57:47 +02:00
Gergely Polonkai 419fc3fc7f Documentation fix for WmudPlayer 2013-06-21 13:56:41 +02:00
Gergely Polonkai 054cda3e38 Documentation fix for WmudClient 2013-06-21 13:55:19 +02:00
Gergely Polonkai 894b9bfafd Fixed GTK-DOC related errors 2013-06-18 16:42:42 +02:00
Gergely Polonkai 05baba32c3 Added display handler for log messages with CRITICAL severity 2013-01-06 21:45:03 +01:00
Gergely Polonkai f819df8ad7 Removed unnecessary debug log line 2013-01-06 21:44:37 +01:00
Gergely Polonkai 7e3a908120 Fixed error - WmudPlayer was initialized with g_new0() instead of constructor 2013-01-06 21:44:23 +01:00
Gergely Polonkai 430eacc154 Fixed loader debug messages 2013-01-06 21:43:58 +01:00
Gergely Polonkai bf8d67660a Moved from direct SQLite to GDA
This can provide more flexibility with database backends. The provider
is still hard-coded SQLite!
2013-01-06 21:41:29 +01:00
Gergely Polonkai 55e49ef1a9 Fixed typo in world.c error messages 2013-01-06 19:32:49 +01:00
Gergely Polonkai cdd4be1e59 Refactored WmudClientState to enumtypes.[ch]
enumtypes.[ch] will hold all future enums' GType equivalent
2013-01-06 14:52:12 +01:00
Gergely Polonkai 3ea30a812b Fixed typo
Used g_warn() instead of g_warning()
2013-01-06 14:10:11 +01:00
Gergely Polonkai ce5d5b1a62 Added the state-change signal for WmudClient 2013-01-06 04:31:11 +01:00
Gergely Polonkai 17ed835d09 Removed marshalers from signal definitions
They are actually not needed...
2013-01-06 04:30:01 +01:00
Gergely Polonkai e9067920da Refactored WmudClientState into a separate file
For GType'isation
2013-01-06 04:28:59 +01:00
Gergely Polonkai 2add2d6179 Fixed some header inclusions 2013-01-06 03:08:06 +01:00
Gergely Polonkai 992bfdf0c8 Added timestamp to the logs 2013-01-06 03:07:51 +01:00
Gergely Polonkai 54b5fe00aa Moved network related functions to GLib signal handlers
connect, recv and close events are now handled by GLib signals
(connect, net-recv and net-hup, respectively)
2013-01-05 22:56:42 +01:00
Gergely Polonkai b99f9e1ea2 Consolidated WmudClientState into wmudclient.[ch]
Meanwhile, wmud-types.h became obsolete, so removed it.
2013-01-05 21:17:43 +01:00
Gergely Polonkai 7d3c343f17 Migrated the old wmudPlayer struct to the WmudPlayer GObject 2013-01-05 04:47:04 +01:00
Gergely Polonkai 1489be34bf Migrated struct wmudClient to the WmudClient GObject 2013-01-05 03:43:31 +01:00
Gergely Polonkai 99a4164785 Removed stale TODO line 2013-01-02 10:41:39 +01:00
Gergely Polonkai ca535b9d40 Made menu redisplaying possible 2013-01-02 02:39:45 +01:00
Gergely Polonkai 27a08947c3 Bug fix - freed a wrong menu structure 2013-01-02 02:39:34 +01:00
Gergely Polonkai c2c14d107b Refactored menu sending to a separate function 2013-01-02 02:39:20 +01:00
Gergely Polonkai d87a26dbe1 Now checking if text file loading was successful 2013-01-02 02:18:47 +01:00
Gergely Polonkai cca1c9df83 Finished code restructuring 2013-01-02 02:09:16 +01:00
Gergely Polonkai 8402455a87 Now issuing a warning if we are logging a debug message in non-debug mode 2013-01-02 02:08:06 +01:00
Gergely Polonkai 8cf82c0d8c Added missing g_clear_error() in wmud_load_error() 2013-01-02 02:06:19 +01:00
Gergely Polonkai b2ac190284 Refactored huge switch() in wmud_client_callback() 2013-01-02 02:05:53 +01:00
Gergely Polonkai 78b21fdb1a Restructured code for better readability 2013-01-02 02:04:53 +01: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 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) 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
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