Author: muggenhor
Date: Thu Mar 13 17:21:26 2008
New Revision: 4027

URL: http://svn.gna.org/viewcvs/warzone?rev=4027&view=rev
Log:
Apply patch `weapons-stats-sqlite.diff` from #2 ( 
http://trac.wz2100.net/ticket/2 ):
 * Add a new resource type (for use with .wrf files): DBWEAPON which is similar 
to SWEAPON, with as difference that instead of a CSV file it specifies an 
SQLite database file to load from
 * Add the code to load weapons from the `weapons` table of the given database 
file
  * This code will make sure to load the weapon stats-data in a similar manner 
(i.e. the resulting data in-memory should be the same) to the weapons.txt 
loading code

Added:
    trunk/src/stats-db.c
      - copied, changed from r4026, trunk/src/stats.c
    trunk/src/stats-db.h   (with props)
Modified:
    trunk/src/data.c
    trunk/src/stats.c


_______________________________________________
Warzone-commits mailing list
Warzone-commits@gna.org
https://mail.gna.org/listinfo/warzone-commits

Reply via email to