20251004:
- fix: tiles toolbar wasn't masked if tiles lock on.
- add: clean tiles list for unused tiles in the map.
- fix: "save as..." menu entry always disabled.

20251010:
- add: tiles: grid view instead of list (WIP).

20251011:
- add: tiles: grid view selection, infos in bubble.
- fix: in retreiving fonts names.

20251012:
- mod: panels for metadatas window.

20251013:
- add: templates=group of tiles=sub-maps=blocks (WIP).

20251014:
- add: templates managed in remap, tiles cleaning, change values size functions.
- add: templates managed in map save and load functions.
- add: draw template.

20251015:
- fix: draw map raster part. 
- add: includes templates for map list reorders.
- fix: use Shift key (with mouse rubberbox) for template creation.

20251016:
- add: ARGV support.

20251018:
- add: templates: datafile name can be modified.

20251031:
- fix: avoid memory allocation for palette template (use palette of the map).
- add: hindrance in RSC.

20251106:
- add: hindrance low level functions (enable/disable/load/save/etc).
- fix: metadatas window was available evenif no map.

20251107:
- fix: tests to avoid alerts on hindrance modifications.
- add: hindrance in map contents toolbar.

20251109:
- add: hindrance display (WIP).

20251111:
- fix: hindrance displayed values, hindrance remove/recreate.

20251112:
- add: hindrance shapes<>values customization, hindrance shapes display.

20251113:
- add: hindrance display preferences. 

20251114:
- fix: hindrance debugging.
- fix: menu save entry was disabled while template was modified.

20251115:
- fix: division by zero on template while obtaining coords.
- fix: crash if drawing outside map area (small map/templates).
- fix: creating new template from a template took map datas instead.

20251116:
- fix: under MagiC, shapes images not displayed in map settings window.
- fix: crash when cursor was on void tile, for coords display in the toolbar.
- fix: crash due to un-removed code in pop-up routine (color selectors in P2SM).

20251205:
- add: MAKE_MAP: PNGdec.ldg working, loading a PNG as image source.
- mod: MAKE_MAP: RSC main panel.
- fix: MAKE_MAP: fileselector titles.

20251206:
- mod: changes for GIFdec.ldg and GIFenc.ldg modified API.
- mod: MAKE_MAP: changes for GIFdec.ldg and GIFenc.ldg modified API.
- add: MAKE_MAP: use new PNGdec.ldg & PNGenc.ldg to load PNG image and slice into tiles stored in PNG containor or singletons.  
- add: MAKE_MAP: ARGV and command handling ie can load the image source at launch. 

20251207:
- add: MAKE_MAP: use pre-existing tileset for GIF|PNG slicing.
- fix: more stable under MagiC for GIFdec.ldg! HAAAZAAAAA!!!!
- fix: logfile name could be path only.

20251208:
- fix: MAKE_MAP: need 1 additional row to pngdec_get_frame buffer size.
- add: handles BGEM.NG notifications (for saved files and gxalloc routines).

20251209:
- fix: wrong map pointer (possible crash) when loading tiles.
- fix: crash (visible on MagiC environment) just after loading map.
- add: PNG support in maps.

20251210:
- fix: adding a tile could have wrong ID.
- fix: 16c tiles had wrong colors indexes.
- fix: recalculate grid view and tiles max displayed area after adding new tile.
- fix: could not remove tile ID 1.

20251211:
- fix: missing bottom row & right column in the window map.
- fix: can click and modify tile only is display plain in the window map. 
- fix: could not change tile ID if tile was partly masked by window sliders.
- fix: MAKE_MAP: if values size not enough, abort before generating tiles.
- fix: log disabled at start, was not read correctly from the preferences file.

20251213:
- add: Undo key.
- fix: undo/redo ineffective when reaching limits of the history.

20251214:
- fix: tops window if click on text field and untopped window. 
- fix: MAKE_MAP: tops window if click on text field and untopped window. 
- add: MAKE_MAP: can abort map generation.
- fix: changed alert message, can't save automaticaly the converted \tiles.set\ folder into tiles.gif|png containor.
- fix: Undo key flag was unsettled by Ctrl+Z/Y.

TODO:
- tst: offset for tiles (background/transparent top-left -> x,y stored in each frame of gif|png tileset).
- add: paths functions.
- add? MAKE_MAP: what about transparency & masks for PNG tileset?
- add: multi maps/layers in map contents display. 
- add? triggers functions?
