summaryrefslogtreecommitdiffstats
path: root/src/resources/map.c
Commit message (Collapse)AuthorAgeFilesLines
* map: Fix shift overflow warningHEADmasterP. J. McDermott2023-02-251-4/+4
| | | | | | | src/resources/map.c: In function ‘tmx_data_end’: src/resources/map.c:541:35: warning: result of ‘255 << 24’ requires 33 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=] 541 | (decomp_buf[i * 4 + 3] & 0xFF << 030); | ^~
* Split up src/resources/map.c.P. J. McDermott2013-11-181-344/+2
| | | | | | | | | src/resources/map.c defines map parsing functions. src/resources/tileset.c defines tileset (internal or external) parsing functions. src/resources/tmx.c defines common parsing functions. Also, tileset_get() is now non-static.
* Add copyright and license headers.P. J. McDermott2013-11-011-0/+18
|
* Add a default map palette.P. J. McDermott2013-03-031-2/+17
|
* Support palette properties in maps.P. J. McDermott2013-03-031-2/+74
|
* Improve build system.P. J. McDermott2013-02-201-1/+1
|
* Disable TMX parser debugging noise by default.P. J. McDermott2013-02-191-0/+63
|
* Limit surfaces to 8 bpp. Set keys and palettes.P. J. McDermott2013-02-191-0/+4
| | | | Also clean up main() a bit more.
* Make the tileset firstgid a Uint32.P. J. McDermott2013-02-181-2/+3
|
* Clean up map layers.P. J. McDermott2013-02-181-11/+5
|
* Fix unsafe (char *)->(int *). Ensure byte order.P. J. McDermott2013-02-181-1/+11
|
* Support collision and unknown map layers.P. J. McDermott2013-02-171-2/+10
|
* Support unused tileset properties.P. J. McDermott2013-02-171-0/+3
|
* Handle tiles and properties in tilesets.P. J. McDermott2013-02-171-13/+113
|
* Add map exits to a collisions array.P. J. McDermott2013-02-171-0/+16
|
* Divide map exit dimensions by map tile dimensions.P. J. McDermott2013-02-171-0/+4
|
* Support objectgroups and map exits.P. J. McDermott2013-02-171-3/+229
|
* Support layers in maps.P. J. McDermott2013-02-171-15/+186
|
* Give each use of a tileset a unique firstgid.P. J. McDermott2013-02-171-14/+29
|
* Fix base paths for resources referenced in maps.P. J. McDermott2013-02-171-5/+24
|
* Allocate maps & tilesets before their start elems.P. J. McDermott2013-02-171-28/+33
|
* TMX parser rewrite number two.P. J. McDermott2013-02-171-310/+283
|
* TMX parser rewrite number one.P. J. McDermott2013-02-161-0/+423