
-----------------------------------------------
GTASC TileMap Maker - Readme
-----------------------------------------------

Programmed by : Olivier SANGALA
Version : 1.0
License : Free under GNU General Public License ( see "gpl.txt" )
Release Date : January 8,2007
Platform : Windows 9x/Me/XP
Website : http://olivier.sangala.free.fr
Email : olivier_sangala@hotmail.com


----------
License
----------

    Copyright (C) 2006-2007 Olivier SANGALA

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-----------
Description
-----------

GTASC is a GTA adaptation for TI Calculators.
See "http://olivier.sangala.free.fr" for details.

This software converts a GTASC city tilemap bitmap into a city tilemap binary file.

Tiles numbers in city tilemap binary file are automatically choosed 
corresponding to the tile patterns bitmap ("tiles89.bmp")
and matching the corresponding pixel color in GTASC city tilemap bitmap.

GTASC city tilemap bitmap must be a 24-bit bitmap.

GTASC city tilemap bitmap may include the following colors, with the following types :

------------------------------------------

COLOR  : RRR GGG BBB : type

------------------------------------------

white  : 255,255,255 : sidewalk

blue   : 000,000,255 : water
green  : 000,255,000 : grass
black  : 000,000,000 : street
gray   : 192,192,192 : crossroads
gray2  : 064,064,064 : paving

red    : 255,000,000 : building
purple : 255,000,255 : wall

green2 : 000,128,000 : tree

orange : 255,128,064 : manhole

cyan   : 000,255,255 : phone box

------------------------------------------

IMPORTANT : any other color will not be translated !


GTASC city tilemap bitmap creation must respect the following rules :

- street and crossroad must be full rectangles, and upon sidewalk
- street width must be between 1 and 4
- building, grass, paving must be full rectangles, and upon sidewalk
- there must be at least one sidewalk pixel around each street border
- water must be surrounded with wall
- tree must be 2*2 pixels square 
- tree must be upon grass or paving, and not on the edge of the rectangle
- water must be upon sidewalk, and must surrounded by wall
- wall must be upon sidewalk
- manhole must be upon sidewalk
- phonebox must be upon sidewalk or grass or paving, and not on the edge of the rectangle


----------
Resource
----------

This project is compiled with Borland C++ Builder 5.

----------
History
----------


Version 1.0 : Initial Release ( January 8,2007 )

