diff options
author | Ian McIntosh <ian_mcintosh@linuxadvocate.org> | 2005-10-05 01:09:35 +0000 |
---|---|---|
committer | Ian McIntosh <ian_mcintosh@linuxadvocate.org> | 2005-10-05 01:09:35 +0000 |
commit | 5f76cb6b989a4c93bfc2b8cbb9b41a3c66dcf13b (patch) | |
tree | 1c3761acd2dc77a8fb858e490a5747377b722e8d /src/db.h | |
parent | 10eb4a1a8c2f6251f758391be0db9018f8535511 (diff) |
Add level of detail concept.
Add zoomtool.
Calculate bounding box on load instead of draw. Update to tile drawing.
Begin splitting this file up more. Add lots more zoom levels.
Remove empty module init.
Don't need to init scenemanager module.
Diffstat (limited to 'src/db.h')
-rw-r--r-- | src/db.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -52,8 +52,6 @@ gboolean db_connect(const gchar* pzHost, const gchar* pzUserName, const gchar* p const gchar* db_get_connection_info(void); // utility -gboolean db_is_empty(void); - gboolean db_insert_roadname(const gchar* pszName, gint nSuffixID, gint* pnReturnID); //~ gboolean db_create_points_db(const gchar* name); @@ -86,12 +84,7 @@ void db_enable_keys(void); void db_disable_keys(void); gboolean db_insert_city(const gchar* pszName, gint nStateID, gint* pnReturnCityID); -gboolean db_insert_road(gint nRoadNameID, gint nLayerType, - gint nAddressLeftStart, gint nAddressLeftEnd, - gint nAddressRightStart, gint nAddressRightEnd, - gint nCityLeftID, gint nCityRightID, - const gchar* pszZIPCodeLeft, const gchar* pszZIPCodeRight, - GPtrArray* pPointsArray, gint* pReturnID); +gboolean db_insert_road(gint nLOD, gint nRoadNameID, gint nLayerType, gint nAddressLeftStart, gint nAddressLeftEnd, gint nAddressRightStart, gint nAddressRightEnd, gint nCityLeftID, gint nCityRightID, const gchar* pszZIPCodeLeft, const gchar* pszZIPCodeRight, GPtrArray* pPointsArray, gint* pReturnID); gboolean db_city_get_id(const gchar* pszName, gint nStateID, gint* pnReturnID); gboolean db_state_get_id(const gchar* pszName, gint* pnReturnID); |