![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Map loading, saving, with objects, animations, ... More...
#include "nilorea/n_iso_engine.h"
Include dependency graph for n_iso_engine.c:Go to the source code of this file.
Functions | |
| int | camera_to_map (MAP **map, int tx, int ty, int x, int y) |
| Center Map on given map coordinate, with x & y offset. | |
| int | camera_to_scr (MAP **map, int x, int y) |
| Center Map on given screen coordinate. | |
| int | create_empty_map (MAP **map, char *name, int XSIZE, int YSIZE, int TILEW, int TILEH, int nbmaxobjects, int nbmaxgroup, int nbmaxanims, int nbtiles, int nbanims) |
| Create an empty map. | |
| int | draw_map (MAP *map, BITMAP *bmp, int destx, int desty, int mode) |
| Draw a MAP *map on the BITMAP *bmp. | |
| int | free_map (MAP **map) |
| Free the map. | |
| int | get_value (MAP *map, int type, int x, int y) |
| Get a the tilenumber of a cell item. | |
| int | load_map (MAP **map, char *filename) |
| Load the map from filename. | |
| int | save_map (MAP *map, char *filename) |
| Save the map to filename. | |
| int | ScreenToMap (int mx, int my, int *Tilex, int *Tiley, BITMAP *mousemap) |
| Convert screen coordinate to map coordinate. | |
| int | set_value (MAP *map, int type, int x, int y, int value) |
| Set the value of a cell in a map. | |
Map loading, saving, with objects, animations, ...
Definition in file n_iso_engine.c.