MOSAIC (Free background image- and terrain map maker application) v.3.0
-----------------------------------------------------------------------

By: Tamás Ipacs (ITSMprog), 2024.

Using the program:
------------------

Click on the Add an image button to add one or more resource images to the project, from which you can select tiles with sizes Tile width and Tile height by the mouse.
If you press the CTRL key on the keyboard during selection, the selected tile is automatically aligned to the grid coordinates, while without the CTRL key the selection
is freehand.

You can place the selected tile onto the black canvas on the right side of the screen, at which action you can also use the CTRL key, but in this case for the freehand
placing, while without it the tile is aligned to the grid coordinates automatically.
You can set the obstacle cell values onto canvas by pressing the right mouse button.

You can set different Tile width, Tile height and Image width, Image height values; after adding the new value you must press ENTER key on the keyboard.

You can save the completed image in BMP format, while the terrain map in TXT format.
You can utilize this terrain map e.g. in Delphi/FreePascal like this:
obstaclemap: array [0..8,0..8] of byte=(
  (0,0,0,1,0,0,0,0,0),
  (0,1,0,1,0,0,1,0,1),
  (0,0,1,1,1,0,0,0,0),
  (0,1,1,0,1,0,1,0,0),
  (0,1,1,0,1,0,0,1,0),
  (0,0,1,1,1,0,1,0,0),
  (0,1,0,1,1,1,0,1,0),
  (0,0,0,1,0,0,0,0,0),
  (0,0,0,1,0,0,0,0,0)
  );

Changes compared to v.2.0:
--------------------------

- Now you can change the grid size on the canvas, too;
- Local menu when you click with right mouse button on the images of resource images list. Here you can set also transparency for the tile.
- Now you can add different values than 0 or 1 in the obstacle cell values of the canvas.

Changes compared to v.1.0:
--------------------------

- There was a fault at saving terrain map TXT, which now corrected with opening brackets;
- Now you can move the selected tile with the arrow keys;
- Now you can change the background color of the canvas.

