Author: muggenhor Date: Sun Mar 16 00:56:08 2008 New Revision: 4082 URL: http://svn.gna.org/viewcvs/warzone?rev=4082&view=rev Log: * Add a new resource type (for use with .wrf files): DBBRAIN which is similar to SBRAIN, with as difference that instead of a CSV file it specifies an SQLite database file to load from * Add the code to load brains from the brain table of the given database file (function `loadBrainStatsFromDB`) * This code will make sure to load the brain stats-data in a similar manner (i.e. the resulting data in-memory should be the same) to the brain.txt loading code
This addresses #2 ( http://trac.wz2100.net/ticket/2 ) Modified: trunk/src/data.c trunk/src/stats-db.c trunk/src/stats-db.h _______________________________________________ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits