Commit Graph

24 Commits

Author SHA1 Message Date
Gergely Polonkai 73b7c3db39 Continue uncrustifying 2016-06-22 18:12:57 +02:00
Gergely Polonkai e820f2308a Uncrustify sources 2016-06-22 17:59:53 +02: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 5871943455 Create DB function to update a player's password 2013-11-26 11:20:46 +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 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 7d3c343f17 Migrated the old wmudPlayer struct to the WmudPlayer GObject 2013-01-05 04:47:04 +01:00
Gergely Polonkai 78b21fdb1a Restructured code for better readability 2013-01-02 02:04:53 +01: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 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) 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
Gergely Polonkai (W00d5t0ck) 6b910d35a6 Created the room_exits loading code.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 19:12:45 +02:00
Gergely Polonkai (W00d5t0ck) 835fdb8048 Added a section description to db.c's comment block.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 19:12:09 +02:00
Gergely Polonkai (W00d5t0ck) 77d6a979f9 Fixed log messages sent by specific db.c load_*() functions.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 19:11:43 +02:00
Gergely Polonkai (W00d5t0ck) 1878225046 Finished game-loading code in db.c
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:11:33 +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 b148141200 Renamed wmud_db_players_load() to wmud_db_load_players() to follow naming conventions. 2012-03-27 19:34:04 +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