-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable zstd support By -DWANT_ZSTD=On (Off by default). Uses the exported targets produced by the cmake build script of zstd. Use ZSTD_PREFER_STATIC=Off to link with the shared lib version of zstd.
- Loading branch information
Showing
7 changed files
with
161 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<map version="1.2" tiledversion="1.3.5" orientation="orthogonal" renderorder="right-down" width="28" height="18" tilewidth="32" tileheight="32" infinite="0" backgroundcolor="#ffff7f" nextlayerid="5" nextobjectid="5"> | ||
<properties> | ||
<property name="alt" type="file" value="csv.tmx"/> | ||
<property name="bool_false" type="bool" value="false"/> | ||
<property name="bool_true" type="bool" value="true"/> | ||
<property name="colour" type="color" value="#cc1a1a1a"/> | ||
<property name="multilines">foo | ||
bar | ||
baz</property> | ||
<property name="pi" type="float" value="3.14"/> | ||
<property name="xml" value="libxml2"/> | ||
</properties> | ||
<tileset firstgid="1" name="base" tilewidth="32" tileheight="32" spacing="1" tilecount="9" columns="3"> | ||
<image source="numbers.png" width="100" height="100"/> | ||
<tile id="0"> | ||
<properties> | ||
<property name="number" type="int" value="1"/> | ||
</properties> | ||
<objectgroup draworder="index"> | ||
<object id="0" x="11.75" y="4.75" width="10.25" height="25.25"/> | ||
</objectgroup> | ||
</tile> | ||
<tile id="1"> | ||
<properties> | ||
<property name="number" type="int" value="2"/> | ||
</properties> | ||
</tile> | ||
<tile id="2"> | ||
<properties> | ||
<property name="number" type="int" value="3"/> | ||
</properties> | ||
</tile> | ||
<tile id="4" type="five"/> | ||
<tile id="6"> | ||
<animation> | ||
<frame tileid="0" duration="200"/> | ||
<frame tileid="1" duration="300"/> | ||
<frame tileid="2" duration="400"/> | ||
<frame tileid="3" duration="500"/> | ||
<frame tileid="4" duration="600"/> | ||
<frame tileid="5" duration="700"/> | ||
<frame tileid="6" duration="2000"/> | ||
</animation> | ||
</tile> | ||
</tileset> | ||
<group id="1" name="Group"> | ||
<imagelayer id="2" name="Image"> | ||
<image source="bg.jpg" width="896" height="576"/> | ||
<properties> | ||
<property name="alt" value="rainbow"/> | ||
</properties> | ||
</imagelayer> | ||
<layer id="3" name="Layer" width="28" height="18"> | ||
<data encoding="base64" compression="zstd"> | ||
KLUv/WDgBt0FAHQCBQAAAAMFBgMBAwQDCAYDAQQGCQMCCQcDCQUGCQcIAgUDAwQFAAAAYKBgPQEAgwpmDgI4Afyc+zIh+QH/mAjS3eL3YCA++G4W88cZ7WXdp3Q+buteXb5C+/Bb19DMQ3iBGb1CHFyS3Bn4APOSLyLFnjOyM2LFHxYYPBiciXaDO4yw8f6IIfC8nRWgF/LEHAzOuBr6uIszJIFNgvSemyl6SmpbfgLe7qwNjH+USwh7g6Vl+vJaq0vg9Pw= | ||
</data> | ||
</layer> | ||
</group> | ||
<objectgroup color="#aa0000" id="4" name="Objects"> | ||
<object id="1" name="square" type="spawn" x="128" y="128" width="192" height="192" rotation="22.5"/> | ||
<object id="2" name="polygon" x="492" y="325"> | ||
<polygon points="20,-5 -44,-197 180,-229"/> | ||
</object> | ||
<object id="3" name="polyline" x="174" y="477"> | ||
<polyline points="-14,3 50,-61 114,3 178,-61 242,3 306,-61 370,3"/> | ||
</object> | ||
<object id="4" name="ellipse" x="672" y="352" width="160" height="160"> | ||
<ellipse/> | ||
</object> | ||
<object id="5" name="text" x="4" y="0" width="110" height="20" rotation="10"> | ||
<text wrap="1" color="#ff0000" bold="1" italic="1">Hello World</text> | ||
</object> | ||
</objectgroup> | ||
</map> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
include(CMakeFindDependencyMacro) | ||
find_dependency(LibXml2) | ||
|
||
if(@WANT_ZLIB@ AND NOT @EMSCRIPTEN@) | ||
find_dependency(ZLIB) | ||
endif() | ||
|
||
if(@WANT_ZSTD@) | ||
find_dependency(ZSTD) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/tmxExports.cmake") |