Database connections - DLL needed?

Posted By: deianthropus

Database connections - DLL needed? - 10/17/10 18:00

I'm looking for a better way to archive dialogue, NPC info, et cetera. Structs are good for organizing an object's data, but I would like to be able to store large single and multi-variable arrays as tables - and use structs for single instances, gathering data from the DBs. I did not find "database" anywhere in the manual, but I presume someone has written a DLL for DB connections. Has anyone used databases in their projects? Is this a quixotic idea?

Afterthought: it would be excellent if it were possible to include the database internally within the game's data structure (As opposed to setting up the DB on a webserver and connecting for each play) making it possible to run single-player/offline games.
Posted By: Quad

Re: Database connections - DLL needed? - 10/17/10 20:15

you can use SQLITE which does not require a server or additional software to run and actually pefrect for your need.

You can either convert the sqlite header to lite-c yourself or search for GSTsqlite on the forums.

alternatively you can alsı use xml files.
Posted By: deianthropus

Re: Database connections - DLL needed? - 10/18/10 14:51

Edit: Works great! thanks!
© 2024 lite-C Forums