Author: muggenhor
Date: Sun May 25 21:38:53 2008
New Revision: 5188
URL: http://svn.gna.org/viewcvs/warzone?rev=5188&view=rev
Log:
* Add a new resource loading function type: RES_TABLELOAD
* Add two new keywords to the .wrf files: "database" and "table"
* "database" will cause the given filename to be opened as a database file
(using SQLite3)
* "table" will attempt to load the given resource type from the currently
opened database
* Don't open the database in the file loading functions (src/data.c) anymore;
turn them in table loading functions instead (which get the current database
passed as a paramter)
Modified:
trunk/data/base/wrf/stats.wrf
trunk/lib/framework/frameresource.c
trunk/lib/framework/frameresource.h
trunk/lib/framework/resource_lexer.l
trunk/lib/framework/resource_parser.y
trunk/src/data.c
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits