Author: muggenhor
Date: Sun May 25 17:41:04 2008
New Revision: 5182
URL: http://svn.gna.org/viewcvs/warzone?rev=5182&view=rev
Log:
* Add a new resource type (for use with .wrf files): DBSENSOR which is similar
to SSENSOR, with as difference that instead of a CSV file it specifies an
SQLite database file to load from
* Add the code to load sensors from the sensor table of the given database
file (function `loadSensorStatsFromDB`)
* This code will make sure to load the sensor stats-data in a similar manner
(i.e. the resulting data in-memory should be the same) to the sensor.txt
loading code
* Use this stats loading implementation on single player
Modified:
trunk/data/base/wrf/stats.wrf
trunk/src/data.c
trunk/src/stats-db.c
trunk/src/stats-db.h
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits