Commit Graph

260 Commits

Author SHA1 Message Date
Gergely Polonkai af219eefdf Fix config filename to open 2016-07-07 15:29:16 +00:00
Gergely Polonkai b0d79bd576 Add default values for config values 2016-07-07 15:29:16 +00:00
Gergely Polonkai 72c54113e7 Add generated enumtypes files to .gitignore 2016-07-06 16:31:07 +02:00
Gergely Polonkai 471c7f5f87 Add some default values for the configuration 2016-07-06 12:21:18 +02:00
Gergely Polonkai 3ddf85f38b Remove generated enumtypes files 2016-07-06 10:17:42 +00:00
Gergely Polonkai ee4050c5f6 Change behaviour of WmudConfiguration.update_from_file()
filename can be NULL now, in which case it will use the already set config file.
2016-07-06 10:17:21 +00:00
Gergely Polonkai 6eb1e09cc3 Start parsing options in the new way 2016-07-04 17:18:58 +02:00
Gergely Polonkai 3059bde5f0 Add GNU Globals files to .gitignore 2016-07-04 15:26:50 +02:00
Gergely Polonkai 5a2be3d143 Remove unnecessary function wmud_type_init() 2016-07-04 15:26:06 +02:00
Gergely Polonkai 12a51a2cc5 Fix configure.ac and toplevel Makefile.am 2016-07-04 15:21:42 +02:00
Gergely Polonkai 9bded1b722 Finish uncrustifying 2016-06-22 18:26:02 +02:00
Gergely Polonkai bdf518f37f Create new configuration object 2016-06-22 18:13:14 +02:00
Gergely Polonkai 73b7c3db39 Continue uncrustifying 2016-06-22 18:12:57 +02:00
Gergely Polonkai c68b577fb3 Fix whitespaces in configuration.h 2016-06-22 18:10:47 +02:00
Gergely Polonkai e820f2308a Uncrustify sources 2016-06-22 17:59:53 +02:00
Gergely Polonkai 1c88c88b63 Fix pointer problem in main() 2016-06-21 12:44:51 +02:00
Gergely Polonkai 58ac7023cc Add IP address logging 2016-06-21 12:44:26 +02:00
Gergely Polonkai 5abbcdfe57 Add detailed info about elapsed_cycle 2013-11-26 12:35:45 +01:00
Gergely Polonkai 370d30a88c Generating cscope database with make 2013-11-26 12:35:10 +01:00
Gergely Polonkai 744fa02efa Change Heartbeat log message
Now includes elapsed ticks
2013-11-26 12:34:43 +01:00
Gergely Polonkai e6e7cffb68 Save generated password in database 2013-11-26 12:34:10 +01:00
Gergely Polonkai 0fba492904 Fix wmud_db_update_player_password() SEGFAULT
A missing NULL at the end of gda_connection_update_row_in_table()
param list caused it
2013-11-26 12:33:38 +01:00
Gergely Polonkai cf31d903ab Add var/ to ignored directories
I use this directory to store run-time files while testing.
I don't want to accidentally add them to the repo...
2013-11-26 11:24:07 +01:00
Gergely Polonkai 3629734cc3 Add config.h macros for timing parameters 2013-11-26 11:22:19 +01:00
Gergely Polonkai 5871943455 Create DB function to update a player's password 2013-11-26 11:20:46 +01:00
Gergely Polonkai 003b56f6a0 Change variable name elapsed_seconds to elapsed_ticks
This new name makes more sense, as later commits will introduce
config.h variables that can change tick length.
2013-11-25 12:10:43 +01:00
Gergely Polonkai 79c0562abc Add log domain to console log messages 2013-11-25 00:22:33 +01:00
Gergely Polonkai 149048f825 Add an extra line break before post-register message 2013-11-25 00:19:02 +01:00
Gergely Polonkai 89cca3fd17 Redesign wmud_db_player_save() for GDA 2013-11-24 20:17:55 +01:00
Gergely Polonkai fde8a9555f Fix return value of a successful wmud_db_load_players() call 2013-11-22 19:33:22 +01:00
Gergely Polonkai f45d893b47 Add error checking to some DB functions 2013-11-22 19:32:54 +01:00
Gergely Polonkai 6c3ee3efda Add some more debugging messages 2013-11-22 19:32:25 +01:00
Gergely Polonkai 2f73630a38 Fix DB connection call
* "sqlite" is changed to NULL, so theoretically it is now possible to use any SQL backend GDA supports
* GDA_CONNECTION_OPTIONS_THREAD_SAFE is added as a connection option, just for safety
2013-11-22 19:31:50 +01:00
Gergely Polonkai 511054d621 Add warning about auto-appended DB file extension to example config 2013-11-22 19:28:27 +01:00
Gergely Polonkai 8bcc6366b3 Fix AM_INIT_AUTOMAKE invocation in configure.ac 2013-11-22 19:27:59 +01:00
Gergely Polonkai c49e9941a7 Remove unnecessary _itit() functions from main() 2013-11-22 19:27:32 +01:00
Gergely Polonkai 7e7beda20b Changed e-mail address in example config file 2013-11-22 19:26:39 +01:00
Gergely Polonkai 95f352523b Documentation fixes 2013-06-21 13:58:04 +02: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 07aadad43f Updated sources to use GDA 5.0 instead of 4.0 2013-06-18 16:42:14 +02:00
Gergely Polonkai 6b3d2c870e Changed my e-mail address 2013-06-10 21:38:15 +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