Closed nemerle closed 9 years ago
Hi Artur
Have merged your pull request and really like what you've done.
I have no problems building an executable using -std=c99, so all looks good. It even highlighted where i'd mistakenly used an int16_t datatype. I've got a couple of compiler warnings - passing argument 6 of ‘log_sqlite_error’ discards ‘const’ qualifier from pointer target type on your new database functions, but nothing serious.
Haven't yet tried to compile the client.
On 15 April 2015 at 11:24, Artur K. notifications@github.com wrote:
I've moved all database related files into a 'db' directory to clean up the project dir a bit
I'd welcome some code/project review on the changes ( especially the
'-std=c99' change to compiler settings)
You can view, comment on, or merge this pull request online at:
https://github.com/UnoffLandz/unoff-landz/pull/61 Commit Summary
- move all database related code into separate directory
- Starting work on #59
File Changes
- M CMakeLists.txt https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-0 (1)
- M Server/CMakeLists.txt https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-1 (47)
- M Server/character_creation.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-2 (2)
- M Server/character_movement.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-3 (4)
- M Server/chat.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-4 (2)
- M Server/client_protocol_handler.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-5 (6)
- R Server/db/database_functions.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-6 (107)
- R Server/db/database_functions.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-7 (12)
- R Server/db/db_attribute_tbl.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-8 (8)
- R Server/db/db_attribute_tbl.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-9 (0)
- R Server/db/db_character_inventory_tbl.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-10 (0)
- R Server/db/db_character_race_tbl.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-11 (6)
- R Server/db/db_character_race_tbl.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-12 (0)
- R Server/db/db_character_tbl.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-13 (12)
- R Server/db/db_character_tbl.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-14 (14)
- R Server/db/db_character_type_tbl.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-15 (10)
- R Server/db/db_character_type_tbl.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-16 (0)
- R Server/db/db_chat_channel_tbl.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-17 (6)
- R Server/db/db_chat_channel_tbl.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-18 (0)
- R Server/db/db_game_data_tbl.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-19 (6)
- R Server/db/db_game_data_tbl.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-20 (0)
- R Server/db/db_gender_tbl.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-21 (6)
- R Server/db/db_gender_tbl.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-22 (0)
- R Server/db/db_map_tbl.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-23 (10)
- R Server/db/db_map_tbl.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-24 (0)
- R Server/db/db_season_tbl.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-25 (10)
- R Server/db/db_season_tbl.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-26 (0)
- M Server/hash_commands.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-27 (2)
- M Server/idle_buffer.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-28 (2)
- M Server/idle_buffer.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-29 (2)
- M Server/log_in.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-30 (2)
- M Server/main.c https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-31 (22)
- M Server/server_protocol_functions.h https://github.com/UnoffLandz/unoff-landz/pull/61/files#diff-32 (25)
Patch Links:
- https://github.com/UnoffLandz/unoff-landz/pull/61.patch
- https://github.com/UnoffLandz/unoff-landz/pull/61.diff
— Reply to this email directly or view it on GitHub https://github.com/UnoffLandz/unoff-landz/pull/61.
I've moved all database related files into a 'db' directory to clean up the project dir a bit
I'd welcome some code/project review on the changes ( especially the '-std=c99' change to compiler settings)