Mapcraft

Database Schema

Initially, support for MySQL.

DatabaseTileSet is the main class we need to implement. Extends AbstractTileSet.

DatabaseTileSet(String name, int width, int height, int scale, String url);

name - the name of the map to use. url - where the database repository is.

Each database has the following tables:

mapcraft : Generic info shared by all maps in this database. Includes shared terrain info etc. All other tables are of the form:

<name>_<table>

mapcraft

See Database Schemas;

create table mapcraft (name char(64), width int, height int, scale int, shape char(16), template char(64), description char(128));

Need to have better support for New Area Functionality.

 
mapcraft/mapcraft.txt · Last modified: 2005/09/20 21:12 (external edit)
 
Recent changes RSS feed BSD License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki