From 8ac4fe6d5ba5091923c7fdf1fa88724d827706fa Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 26 May 2017 19:11:17 +0500 Subject: 2017-05-26 --- CMakeLists.txt | 18 +- cmake/FindSFML.cmake | 368 ++ cmake/cotire.cmake | 4017 +++++++++++++++ cmake_modules/FindSFML.cmake | 368 -- cwd/items.json | 4298 ++++++++++++++++ cwd/shaders/block.fs | 16 + cwd/shaders/block.vs | 15 + cwd/shaders/simple.fs | 15 + cwd/shaders/simple.vs | 16 + cwd/textures.json | 10011 ++++++++++++++++++++++++++++++++++++ cwd/textures.png | Bin 0 -> 2587967 bytes cwd/textures.tps | 1581 ++++++ depedencies/include/GL/glxew.h | 1772 +++++++ depedencies/include/GL/wglew.h | 1453 ++++++ shaders/simple.fs | 15 - shaders/simple.vs | 16 - src/core/AssetManager.cpp | 70 + src/core/AssetManager.hpp | 33 + src/core/Core.cpp | 9 +- src/core/Core.hpp | 3 +- src/gamestate/GameState.cpp | 2 +- src/graphics/AssetManager.cpp | 146 - src/graphics/AssetManager.hpp | 52 - src/graphics/AssetManager_old.cpp | 146 + src/graphics/AssetManager_old.hpp | 53 + src/graphics/Display.cpp | 6 +- src/graphics/Shader.cpp | 11 +- src/graphics/Shader.hpp | 1 - src/graphics/Texture.cpp | 10 +- src/main.cpp | 15 +- src/nbt/Nbt.hpp | 1 - src/network/Network.cpp | 1 - src/world/Block.cpp | 17 +- src/world/Block.hpp | 10 +- src/world/Section.cpp | 1 - src/world/World.cpp | 17 +- 36 files changed, 23930 insertions(+), 653 deletions(-) create mode 100644 cmake/FindSFML.cmake create mode 100644 cmake/cotire.cmake delete mode 100644 cmake_modules/FindSFML.cmake create mode 100644 cwd/items.json create mode 100644 cwd/shaders/block.fs create mode 100644 cwd/shaders/block.vs create mode 100644 cwd/shaders/simple.fs create mode 100644 cwd/shaders/simple.vs create mode 100644 cwd/textures.json create mode 100644 cwd/textures.png create mode 100644 cwd/textures.tps create mode 100644 depedencies/include/GL/glxew.h create mode 100644 depedencies/include/GL/wglew.h delete mode 100644 shaders/simple.fs delete mode 100644 shaders/simple.vs create mode 100644 src/core/AssetManager.cpp create mode 100644 src/core/AssetManager.hpp delete mode 100644 src/graphics/AssetManager.cpp delete mode 100644 src/graphics/AssetManager.hpp create mode 100644 src/graphics/AssetManager_old.cpp create mode 100644 src/graphics/AssetManager_old.hpp diff --git a/CMakeLists.txt b/CMakeLists.txt index baeabf1..7838670 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,16 +1,16 @@ cmake_minimum_required(VERSION 3.0) project(AltCraft) set(CMAKE_CXX_STANDARD 14) -set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules) +set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) if (CMAKE_COMPILER_IS_GNUCXX) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -w -Werror") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -w -Werror -Wall -Wextra") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0") - #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3") + #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3") #set(CMAKE_CXX_FLASG "${CMAKE_CXX_FLAGS} -g -O0") #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address") #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -pg") - set(PLATFORM_LIBRARIES "pthread") + set(PLATFORM_LIBRARIES "pthread" "stdc++fs") endif () set(SOURCE_FILES src/main.cpp src/packet/Field.hpp src/utility/utility.cpp src/packet/Packet.hpp @@ -18,16 +18,17 @@ set(SOURCE_FILES src/main.cpp src/packet/Field.hpp src/utility/utility.cpp src/p src/network/NetworkClient.hpp src/packet/PacketBuilder.cpp src/packet/PacketBuilder.hpp src/packet/Packet.cpp src/packet/FieldParser.cpp src/packet/Field.cpp src/packet/PacketParser.cpp src/packet/PacketParser.hpp src/gamestate/Game.cpp src/gamestate/Game.hpp src/world/World.cpp src/world/World.hpp src/world/Block.cpp - src/world/Block.hpp src/world/Section.cpp src/world/Section.hpp src/nbt/Nbt.hpp src/graphics/AssetManager.cpp - src/graphics/AssetManager.hpp src/graphics/Display.cpp src/graphics/Display.hpp src/graphics/Camera3D.hpp + src/world/Block.hpp src/world/Section.cpp src/world/Section.hpp src/nbt/Nbt.hpp src/graphics/AssetManager_old.cpp + src/graphics/AssetManager_old.hpp src/graphics/Display.cpp src/graphics/Display.hpp src/graphics/Camera3D.hpp src/graphics/Camera3D.cpp src/graphics/Shader.hpp src/graphics/Shader.cpp src/graphics/Texture.hpp src/graphics/Texture.cpp src/core/Core.cpp src/core/Core.hpp src/gamestate/GameState.cpp src/gamestate/GameState.hpp src/utility/Vector.hpp src/gui/Gui.cpp src/gui/Gui.hpp src/gui/Widget.cpp - src/gui/Widget.hpp) + src/gui/Widget.hpp src/core/AssetManager.cpp src/core/AssetManager.hpp) add_executable(AltCraft ${SOURCE_FILES}) target_link_libraries(AltCraft ${PLATFORM_LIBRARIES}) +#Setup dependencies (GLEW, glm, nlohmann/json, easylogging++) add_subdirectory(depedencies) target_include_directories(AltCraft PUBLIC ./depedencies/include) target_link_libraries(AltCraft deps) @@ -58,3 +59,6 @@ if (ZLIB_FOUND) else () message(FATAL_ERROR "Zlib not found!") endif () + +include(cotire) +cotire(AltCraft) \ No newline at end of file diff --git a/cmake/FindSFML.cmake b/cmake/FindSFML.cmake new file mode 100644 index 0000000..ba1217d --- /dev/null +++ b/cmake/FindSFML.cmake @@ -0,0 +1,368 @@ +# This script locates the SFML library +# ------------------------------------ +# +# Usage +# ----- +# +# When you try to locate the SFML libraries, you must specify which modules you want to use (system, window, graphics, network, audio, main). +# If none is given, the SFML_LIBRARIES variable will be empty and you'll end up linking to nothing. +# example: +# find_package(SFML COMPONENTS graphics window system) // find the graphics, window and system modules +# +# You can enforce a specific version, either MAJOR.MINOR or only MAJOR. +# If nothing is specified, the version won't be checked (i.e. any version will be accepted). +# example: +# find_package(SFML COMPONENTS ...) // no specific version required +# find_package(SFML 2 COMPONENTS ...) // any 2.x version +# find_package(SFML 2.4 COMPONENTS ...) // version 2.4 or greater +# +# By default, the dynamic libraries of SFML will be found. To find the static ones instead, +# you must set the SFML_STATIC_LIBRARIES variable to TRUE before calling find_package(SFML ...). +# Since you have to link yourself all the SFML dependencies when you link it statically, the following +# additional variables are defined: SFML_XXX_DEPENDENCIES and SFML_DEPENDENCIES (see their detailed +# description below). +# In case of static linking, the SFML_STATIC macro will also be defined by this script. +# example: +# set(SFML_STATIC_LIBRARIES TRUE) +# find_package(SFML 2 COMPONENTS network system) +# +# On Mac OS X if SFML_STATIC_LIBRARIES is not set to TRUE then by default CMake will search for frameworks unless +# CMAKE_FIND_FRAMEWORK is set to "NEVER" for example. Please refer to CMake documentation for more details. +# Moreover, keep in mind that SFML frameworks are only available as release libraries unlike dylibs which +# are available for both release and debug modes. +# +# If SFML is not installed in a standard path, you can use the SFML_ROOT CMake (or environment) variable +# to tell CMake where SFML is. +# +# Output +# ------ +# +# This script defines the following variables: +# - For each specified module XXX (system, window, graphics, network, audio, main): +# - SFML_XXX_LIBRARY_DEBUG: the name of the debug library of the xxx module (set to SFML_XXX_LIBRARY_RELEASE is no debug version is found) +# - SFML_XXX_LIBRARY_RELEASE: the name of the release library of the xxx module (set to SFML_XXX_LIBRARY_DEBUG is no release version is found) +# - SFML_XXX_LIBRARY: the name of the library to link to for the xxx module (includes both debug and optimized names if necessary) +# - SFML_XXX_FOUND: true if either the debug or release library of the xxx module is found +# - SFML_XXX_DEPENDENCIES: the list of libraries the module depends on, in case of static linking +# - SFML_LIBRARIES: the list of all libraries corresponding to the required modules +# - SFML_FOUND: true if all the required modules are found +# - SFML_INCLUDE_DIR: the path where SFML headers are located (the directory containing the SFML/Config.hpp file) +# - SFML_DEPENDENCIES: the list of libraries SFML depends on, in case of static linking +# +# example: +# find_package(SFML 2 COMPONENTS system window graphics audio REQUIRED) +# include_directories(${SFML_INCLUDE_DIR}) +# add_executable(myapp ...) +# target_link_libraries(myapp ${SFML_LIBRARIES}) + +# define the SFML_STATIC macro if static build was chosen +if (SFML_STATIC_LIBRARIES) + add_definitions(-DSFML_STATIC) +endif () + +# define the list of search paths for headers and libraries +set(FIND_SFML_PATHS + ${SFML_ROOT} + $ENV{SFML_ROOT} + ~/Library/Frameworks + /Library/Frameworks + /usr/local + /usr + /sw + /opt/local + /opt/csw + /opt) + +# find the SFML include directory +find_path(SFML_INCLUDE_DIR SFML/Config.hpp + PATH_SUFFIXES include + PATHS ${FIND_SFML_PATHS}) + +# check the version number +set(SFML_VERSION_OK TRUE) +if (SFML_FIND_VERSION AND SFML_INCLUDE_DIR) + # extract the major and minor version numbers from SFML/Config.hpp + # we have to handle gtest a little bit differently: + if ("${SFML_INCLUDE_DIR}" MATCHES "SFML.framework") + set(SFML_CONFIG_HPP_INPUT "${SFML_INCLUDE_DIR}/Headers/Config.hpp") + else () + set(SFML_CONFIG_HPP_INPUT "${SFML_INCLUDE_DIR}/SFML/Config.hpp") + endif () + FILE(READ "${SFML_CONFIG_HPP_INPUT}" SFML_CONFIG_HPP_CONTENTS) + STRING(REGEX REPLACE ".*#define SFML_VERSION_MAJOR ([0-9]+).*" "\\1" SFML_VERSION_MAJOR "${SFML_CONFIG_HPP_CONTENTS}") + STRING(REGEX REPLACE ".*#define SFML_VERSION_MINOR ([0-9]+).*" "\\1" SFML_VERSION_MINOR "${SFML_CONFIG_HPP_CONTENTS}") + STRING(REGEX REPLACE ".*#define SFML_VERSION_PATCH ([0-9]+).*" "\\1" SFML_VERSION_PATCH "${SFML_CONFIG_HPP_CONTENTS}") + if (NOT "${SFML_VERSION_PATCH}" MATCHES "^[0-9]+$") + set(SFML_VERSION_PATCH 0) + endif () + math(EXPR SFML_REQUESTED_VERSION "${SFML_FIND_VERSION_MAJOR} * 10000 + ${SFML_FIND_VERSION_MINOR} * 100 + ${SFML_FIND_VERSION_PATCH}") + + # if we could extract them, compare with the requested version number + if (SFML_VERSION_MAJOR) + # transform version numbers to an integer + math(EXPR SFML_VERSION "${SFML_VERSION_MAJOR} * 10000 + ${SFML_VERSION_MINOR} * 100 + ${SFML_VERSION_PATCH}") + + # compare them + if (SFML_VERSION LESS SFML_REQUESTED_VERSION) + set(SFML_VERSION_OK FALSE) + endif () + else () + # SFML version is < 2.0 + if (SFML_REQUESTED_VERSION GREATER 10900) + set(SFML_VERSION_OK FALSE) + set(SFML_VERSION_MAJOR 1) + set(SFML_VERSION_MINOR x) + set(SFML_VERSION_PATCH x) + endif () + endif () +endif () + +# find the requested modules +set(SFML_FOUND TRUE) # will be set to false if one of the required modules is not found +foreach (FIND_SFML_COMPONENT ${SFML_FIND_COMPONENTS}) + string(TOLOWER ${FIND_SFML_COMPONENT} FIND_SFML_COMPONENT_LOWER) + string(TOUPPER ${FIND_SFML_COMPONENT} FIND_SFML_COMPONENT_UPPER) + set(FIND_SFML_COMPONENT_NAME sfml-${FIND_SFML_COMPONENT_LOWER}) + + # no suffix for sfml-main, it is always a static library + if (FIND_SFML_COMPONENT_LOWER STREQUAL "main") + # release library + find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE + NAMES ${FIND_SFML_COMPONENT_NAME} + PATH_SUFFIXES lib64 lib + PATHS ${FIND_SFML_PATHS}) + + # debug library + find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG + NAMES ${FIND_SFML_COMPONENT_NAME}-d + PATH_SUFFIXES lib64 lib + PATHS ${FIND_SFML_PATHS}) + else () + # static release library + find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_RELEASE + NAMES ${FIND_SFML_COMPONENT_NAME}-s + PATH_SUFFIXES lib64 lib + PATHS ${FIND_SFML_PATHS}) + + # static debug library + find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_DEBUG + NAMES ${FIND_SFML_COMPONENT_NAME}-s-d + PATH_SUFFIXES lib64 lib + PATHS ${FIND_SFML_PATHS}) + + # dynamic release library + find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_RELEASE + NAMES ${FIND_SFML_COMPONENT_NAME} + PATH_SUFFIXES lib64 lib + PATHS ${FIND_SFML_PATHS}) + + # dynamic debug library + find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_DEBUG + NAMES ${FIND_SFML_COMPONENT_NAME}-d + PATH_SUFFIXES lib64 lib + PATHS ${FIND_SFML_PATHS}) + + # choose the entries that fit the requested link m_type + if (SFML_STATIC_LIBRARIES) + if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_RELEASE) + set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_RELEASE}) + endif () + if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_DEBUG) + set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_DEBUG}) + endif () + else () + if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_RELEASE) + set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_RELEASE}) + endif () + if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_DEBUG) + set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_DEBUG}) + endif () + endif () + endif () + + if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG OR SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE) + # library found + set(SFML_${FIND_SFML_COMPONENT_UPPER}_FOUND TRUE) + + # if both are found, set SFML_XXX_LIBRARY to contain both + if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG AND SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE) + set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY debug ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG} + optimized ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE}) + endif () + + # if only one debug/release variant is found, set the other to be equal to the found one + if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG AND NOT SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE) + # debug and not release + set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG}) + set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG}) + endif () + if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE AND NOT SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG) + # release and not debug + set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE}) + set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE}) + endif () + else () + # library not found + set(SFML_FOUND FALSE) + set(SFML_${FIND_SFML_COMPONENT_UPPER}_FOUND FALSE) + set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY "") + set(FIND_SFML_MISSING "${FIND_SFML_MISSING} SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY") + endif () + + # mark as advanced + MARK_AS_ADVANCED(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY + SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE + SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG + SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_RELEASE + SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_DEBUG + SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_RELEASE + SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_DEBUG) + + # add to the global list of libraries + set(SFML_LIBRARIES ${SFML_LIBRARIES} "${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY}") +endforeach () + +# in case of static linking, we must also define the list of all the dependencies of SFML libraries +if (SFML_STATIC_LIBRARIES) + + # detect the OS + if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") + set(FIND_SFML_OS_WINDOWS 1) + elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") + set(FIND_SFML_OS_LINUX 1) + elseif (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") + set(FIND_SFML_OS_FREEBSD 1) + elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + set(FIND_SFML_OS_MACOSX 1) + endif () + + # start with an empty list + set(SFML_DEPENDENCIES) + set(FIND_SFML_DEPENDENCIES_NOTFOUND) + + # macro that searches for a 3rd-party library + macro(find_sfml_dependency output friendlyname) + # No lookup in environment variables (PATH on Windows), as they may contain wrong library versions + find_library(${output} NAMES ${ARGN} PATHS ${FIND_SFML_PATHS} PATH_SUFFIXES lib NO_SYSTEM_ENVIRONMENT_PATH) + if (${${output}} STREQUAL "${output}-NOTFOUND") + unset(output) + set(FIND_SFML_DEPENDENCIES_NOTFOUND "${FIND_SFML_DEPENDENCIES_NOTFOUND} ${friendlyname}") + endif () + endmacro() + + # sfml-system + list(FIND SFML_FIND_COMPONENTS "system" FIND_SFML_SYSTEM_COMPONENT) + if (NOT ${FIND_SFML_SYSTEM_COMPONENT} EQUAL -1) + + # Update the list -- these are only system libraries, no need to find them + if (FIND_SFML_OS_LINUX OR FIND_SFML_OS_FREEBSD OR FIND_SFML_OS_MACOSX) + set(SFML_SYSTEM_DEPENDENCIES "pthread") + endif () + if (FIND_SFML_OS_LINUX) + set(SFML_SYSTEM_DEPENDENCIES ${SFML_SYSTEM_DEPENDENCIES} "rt") + endif () + if (FIND_SFML_OS_WINDOWS) + set(SFML_SYSTEM_DEPENDENCIES "winmm") + endif () + set(SFML_DEPENDENCIES ${SFML_SYSTEM_DEPENDENCIES} ${SFML_DEPENDENCIES}) + endif () + + # sfml-network + list(FIND SFML_FIND_COMPONENTS "network" FIND_SFML_NETWORK_COMPONENT) + if (NOT ${FIND_SFML_NETWORK_COMPONENT} EQUAL -1) + + # Update the list -- these are only system libraries, no need to find them + if (FIND_SFML_OS_WINDOWS) + set(SFML_NETWORK_DEPENDENCIES "ws2_32") + endif () + set(SFML_DEPENDENCIES ${SFML_NETWORK_DEPENDENCIES} ${SFML_DEPENDENCIES}) + endif () + + # sfml-window + list(FIND SFML_FIND_COMPONENTS "window" FIND_SFML_WINDOW_COMPONENT) + if (NOT ${FIND_SFML_WINDOW_COMPONENT} EQUAL -1) + + # find libraries + if (FIND_SFML_OS_LINUX OR FIND_SFML_OS_FREEBSD) + find_sfml_dependency(X11_LIBRARY "X11" X11) + find_sfml_dependency(LIBXCB_LIBRARIES "XCB" xcb libxcb) + find_sfml_dependency(X11_XCB_LIBRARY "X11-xcb" X11-xcb libX11-xcb) + find_sfml_dependency(XCB_RANDR_LIBRARY "xcb-randr" xcb-randr libxcb-randr) + find_sfml_dependency(XCB_IMAGE_LIBRARY "xcb-image" xcb-image libxcb-image) + endif () + + if (FIND_SFML_OS_LINUX) + find_sfml_dependency(UDEV_LIBRARIES "UDev" udev libudev) + endif () + + # Update the list + if (FIND_SFML_OS_WINDOWS) + set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "opengl32" "winmm" "gdi32") + elseif (FIND_SFML_OS_LINUX) + set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "GL" ${X11_LIBRARY} ${LIBXCB_LIBRARIES} ${X11_XCB_LIBRARY} ${XCB_RANDR_LIBRARY} ${XCB_IMAGE_LIBRARY} ${UDEV_LIBRARIES}) + elseif (FIND_SFML_OS_FREEBSD) + set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "GL" ${X11_LIBRARY} ${LIBXCB_LIBRARIES} ${X11_XCB_LIBRARY} ${XCB_RANDR_LIBRARY} ${XCB_IMAGE_LIBRARY} "usbhid") + elseif (FIND_SFML_OS_MACOSX) + set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "-framework OpenGL -framework Foundation -framework AppKit -framework IOKit -framework Carbon") + endif () + set(SFML_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} ${SFML_DEPENDENCIES}) + endif () + + # sfml-graphics + list(FIND SFML_FIND_COMPONENTS "graphics" FIND_SFML_GRAPHICS_COMPONENT) + if (NOT ${FIND_SFML_GRAPHICS_COMPONENT} EQUAL -1) + + # find libraries + find_sfml_dependency(FREETYPE_LIBRARY "FreeType" freetype) + find_sfml_dependency(JPEG_LIBRARY "libjpeg" jpeg) + + # Update the list + set(SFML_GRAPHICS_DEPENDENCIES ${FREETYPE_LIBRARY} ${JPEG_LIBRARY}) + set(SFML_DEPENDENCIES ${SFML_GRAPHICS_DEPENDENCIES} ${SFML_DEPENDENCIES}) + endif () + + # sfml-audio + list(FIND SFML_FIND_COMPONENTS "audio" FIND_SFML_AUDIO_COMPONENT) + if (NOT ${FIND_SFML_AUDIO_COMPONENT} EQUAL -1) + + # find libraries + find_sfml_dependency(OPENAL_LIBRARY "OpenAL" openal openal32) + find_sfml_dependency(OGG_LIBRARY "Ogg" ogg) + find_sfml_dependency(VORBIS_LIBRARY "Vorbis" vorbis) + find_sfml_dependency(VORBISFILE_LIBRARY "VorbisFile" vorbisfile) + find_sfml_dependency(VORBISENC_LIBRARY "VorbisEnc" vorbisenc) + find_sfml_dependency(FLAC_LIBRARY "FLAC" FLAC) + + # Update the list + set(SFML_AUDIO_DEPENDENCIES ${OPENAL_LIBRARY} ${FLAC_LIBRARY} ${VORBISENC_LIBRARY} ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} ${OGG_LIBRARY}) + set(SFML_DEPENDENCIES ${SFML_DEPENDENCIES} ${SFML_AUDIO_DEPENDENCIES}) + endif () + +endif () + +# handle errors +if (NOT SFML_VERSION_OK) + # SFML version not ok + set(FIND_SFML_ERROR "SFML found but version too low (requested: ${SFML_FIND_VERSION}, found: ${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH})") + set(SFML_FOUND FALSE) +elseif (SFML_STATIC_LIBRARIES AND FIND_SFML_DEPENDENCIES_NOTFOUND) + set(FIND_SFML_ERROR "SFML found but some of its dependencies are missing (${FIND_SFML_DEPENDENCIES_NOTFOUND})") + set(SFML_FOUND FALSE) +elseif (NOT SFML_FOUND) + # include directory or library not found + set(FIND_SFML_ERROR "Could NOT find SFML (missing: ${FIND_SFML_MISSING})") +endif () +if (NOT SFML_FOUND) + if (SFML_FIND_REQUIRED) + # fatal error + message(FATAL_ERROR ${FIND_SFML_ERROR}) + elseif (NOT SFML_FIND_QUIETLY) + # error but continue + message("${FIND_SFML_ERROR}") + endif () +endif () + +# handle success +if (SFML_FOUND AND NOT SFML_FIND_QUIETLY) + message(STATUS "Found SFML ${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH} in ${SFML_INCLUDE_DIR}") +endif () diff --git a/cmake/cotire.cmake b/cmake/cotire.cmake new file mode 100644 index 0000000..6cf0cb6 --- /dev/null +++ b/cmake/cotire.cmake @@ -0,0 +1,4017 @@ +# - cotire (compile time reducer) +# +# See the cotire manual for usage hints. +# +#============================================================================= +# Copyright 2012-2016 Sascha Kratky +# +# Permission is hereby granted, free of charge, to any person +# obtaining a copy of this software and associated documentation +# files (the "Software"), to deal in the Software without +# restriction, including without limitation the rights to use, +# copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following +# conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. +#============================================================================= + +if(__COTIRE_INCLUDED) + return() +endif() +set(__COTIRE_INCLUDED TRUE) + +# call cmake_minimum_required, but prevent modification of the CMake policy stack in include mode +# cmake_minimum_required also sets the policy version as a side effect, which we have to avoid +if (NOT CMAKE_SCRIPT_MODE_FILE) + cmake_policy(PUSH) +endif() +cmake_minimum_required(VERSION 2.8.12) +if (NOT CMAKE_SCRIPT_MODE_FILE) + cmake_policy(POP) +endif() + +set (COTIRE_CMAKE_MODULE_FILE "${CMAKE_CURRENT_LIST_FILE}") +set (COTIRE_CMAKE_MODULE_VERSION "1.7.9") + +# activate select policies +if (POLICY CMP0025) + # Compiler id for Apple Clang is now AppleClang + cmake_policy(SET CMP0025 NEW) +endif() + +if (POLICY CMP0026) + # disallow use of the LOCATION target property + cmake_policy(SET CMP0026 NEW) +endif() + +if (POLICY CMP0038) + # targets may not link directly to themselves + cmake_policy(SET CMP0038 NEW) +endif() + +if (POLICY CMP0039) + # utility targets may not have link dependencies + cmake_policy(SET CMP0039 NEW) +endif() + +if (POLICY CMP0040) + # target in the TARGET signature of add_custom_command() must exist + cmake_policy(SET CMP0040 NEW) +endif() + +if (POLICY CMP0045) + # error on non-existent target in get_target_property + cmake_policy(SET CMP0045 NEW) +endif() + +if (POLICY CMP0046) + # error on non-existent dependency in add_dependencies + cmake_policy(SET CMP0046 NEW) +endif() + +if (POLICY CMP0049) + # do not expand variables in target source entries + cmake_policy(SET CMP0049 NEW) +endif() + +if (POLICY CMP0050) + # disallow add_custom_command SOURCE signatures + cmake_policy(SET CMP0050 NEW) +endif() + +if (POLICY CMP0051) + # include TARGET_OBJECTS expressions in a target's SOURCES property + cmake_policy(SET CMP0051 NEW) +endif() + +if (POLICY CMP0053) + # simplify variable reference and escape sequence evaluation + cmake_policy(SET CMP0053 NEW) +endif() + +if (POLICY CMP0054) + # only interpret if() arguments as variables or keywords when unquoted + cmake_policy(SET CMP0054 NEW) +endif() + +include(CMakeParseArguments) +include(ProcessorCount) + +function (cotire_get_configuration_types _configsVar) + set (_configs "") + if (CMAKE_CONFIGURATION_TYPES) + list (APPEND _configs ${CMAKE_CONFIGURATION_TYPES}) + endif() + if (CMAKE_BUILD_TYPE) + list (APPEND _configs "${CMAKE_BUILD_TYPE}") + endif() + if (_configs) + list (REMOVE_DUPLICATES _configs) + set (${_configsVar} ${_configs} PARENT_SCOPE) + else() + set (${_configsVar} "None" PARENT_SCOPE) + endif() +endfunction() + +function (cotire_get_source_file_extension _sourceFile _extVar) + # get_filename_component returns extension from first occurrence of . in file name + # this function computes the extension from last occurrence of . in file name + string (FIND "${_sourceFile}" "." _index REVERSE) + if (_index GREATER -1) + math (EXPR _index "${_index} + 1") + string (SUBSTRING "${_sourceFile}" ${_index} -1 _sourceExt) + else() + set (_sourceExt "") + endif() + set (${_extVar} "${_sourceExt}" PARENT_SCOPE) +endfunction() + +macro (cotire_check_is_path_relative_to _path _isRelativeVar) + set (${_isRelativeVar} FALSE) + if (IS_ABSOLUTE "${_path}") + foreach (_dir ${ARGN}) + file (RELATIVE_PATH _relPath "${_dir}" "${_path}") + if (NOT _relPath OR (NOT IS_ABSOLUTE "${_relPath}" AND NOT "${_relPath}" MATCHES "^\\.\\.")) + set (${_isRelativeVar} TRUE) + break() + endif() + endforeach() + endif() +endmacro() + +function (cotire_filter_language_source_files _language _target _sourceFilesVar _excludedSourceFilesVar _cotiredSourceFilesVar) + if (CMAKE_${_language}_SOURCE_FILE_EXTENSIONS) + set (_languageExtensions "${CMAKE_${_language}_SOURCE_FILE_EXTENSIONS}") + else() + set (_languageExtensions "") + endif() + if (CMAKE_${_language}_IGNORE_EXTENSIONS) + set (_ignoreExtensions "${CMAKE_${_language}_IGNORE_EXTENSIONS}") + else() + set (_ignoreExtensions "") + endif() + if (COTIRE_UNITY_SOURCE_EXCLUDE_EXTENSIONS) + set (_excludeExtensions "${COTIRE_UNITY_SOURCE_EXCLUDE_EXTENSIONS}") + else() + set (_excludeExtensions "") + endif() + if (COTIRE_DEBUG AND _languageExtensions) + message (STATUS "${_language} source file extensions: ${_languageExtensions}") + endif() + if (COTIRE_DEBUG AND _ignoreExtensions) + message (STATUS "${_language} ignore extensions: ${_ignoreExtensions}") + endif() + if (COTIRE_DEBUG AND _excludeExtensions) + message (STATUS "${_language} exclude extensions: ${_excludeExtensions}") + endif() + if (CMAKE_VERSION VERSION_LESS "3.1.0") + set (_allSourceFiles ${ARGN}) + else() + # as of CMake 3.1 target sources may contain generator expressions + # since we cannot obtain required property information about source files added + # through generator expressions at configure time, we filter them out + string (GENEX_STRIP "${ARGN}" _allSourceFiles) + endif() + set (_filteredSourceFiles "") + set (_excludedSourceFiles "") + foreach (_sourceFile ${_allSourceFiles}) + get_source_file_property(_sourceIsHeaderOnly "${_sourceFile}" HEADER_FILE_ONLY) + get_source_file_property(_sourceIsExternal "${_sourceFile}" EXTERNAL_OBJECT) + get_source_file_property(_sourceIsSymbolic "${_sourceFile}" SYMBOLIC) + if (NOT _sourceIsHeaderOnly AND NOT _sourceIsExternal AND NOT _sourceIsSymbolic) + cotire_get_source_file_extension("${_sourceFile}" _sourceExt) + if (_sourceExt) + list (FIND _ignoreExtensions "${_sourceExt}" _ignoreIndex) + if (_ignoreIndex LESS 0) + list (FIND _excludeExtensions "${_sourceExt}" _excludeIndex) + if (_excludeIndex GREATER -1) + list (APPEND _excludedSourceFiles "${_sourceFile}") + else() + list (FIND _languageExtensions "${_sourceExt}" _sourceIndex) + if (_sourceIndex GREATER -1) + # consider source file unless it is excluded explicitly + get_source_file_property(_sourceIsExcluded "${_sourceFile}" COTIRE_EXCLUDED) + if (_sourceIsExcluded) + list (APPEND _excludedSourceFiles "${_sourceFile}") + else() + list (APPEND _filteredSourceFiles "${_sourceFile}") + endif() + else() + get_source_file_property(_sourceLanguage "${_sourceFile}" LANGUAGE) + if ("${_sourceLanguage}" STREQUAL "${_language}") + # add to excluded sources, if file is not ignored and has correct language without having the correct extension + list (APPEND _excludedSourceFiles "${_sourceFile}") + endif() + endif() + endif() + endif() + endif() + endif() + endforeach() + # separate filtered source files from already cotired ones + # the COTIRE_TARGET property of a source file may be set while a target is being processed by cotire + set (_sourceFiles "") + set (_cotiredSourceFiles "") + foreach (_sourceFile ${_filteredSourceFiles}) + get_source_file_property(_sourceIsCotired "${_sourceFile}" COTIRE_TARGET) + if (_sourceIsCotired) + list (APPEND _cotiredSourceFiles "${_sourceFile}") + else() + get_source_file_property(_sourceCompileFlags "${_sourceFile}" COMPILE_FLAGS) + if (_sourceCompileFlags) + # add to excluded sources, if file has custom compile flags + list (APPEND _excludedSourceFiles "${_sourceFile}") + else() + list (APPEND _sourceFiles "${_sourceFile}") + endif() + endif() + endforeach() + if (COTIRE_DEBUG) + if (_sourceFiles) + message (STATUS "Filtered ${_target} ${_language} sources: ${_sourceFiles}") + endif() + if (_excludedSourceFiles) + message (STATUS "Excluded ${_target} ${_language} sources: ${_excludedSourceFiles}") + endif() + if (_cotiredSourceFiles) + message (STATUS "Cotired ${_target} ${_language} sources: ${_cotiredSourceFiles}") + endif() + endif() + set (${_sourceFilesVar} ${_sourceFiles} PARENT_SCOPE) + set (${_excludedSourceFilesVar} ${_excludedSourceFiles} PARENT_SCOPE) + set (${_cotiredSourceFilesVar} ${_cotiredSourceFiles} PARENT_SCOPE) +endfunction() + +function (cotire_get_objects_with_property_on _filteredObjectsVar _property _type) + set (_filteredObjects "") + foreach (_object ${ARGN}) + get_property(_isSet ${_type} "${_object}" PROPERTY ${_property} SET) + if (_isSet) + get_property(_propertyValue ${_type} "${_object}" PROPERTY ${_property}) + if (_propertyValue) + list (APPEND _filteredObjects "${_object}") + endif() + endif() + endforeach() + set (${_filteredObjectsVar} ${_filteredObjects} PARENT_SCOPE) +endfunction() + +function (cotire_get_objects_with_property_off _filteredObjectsVar _property _type) + set (_filteredObjects "") + foreach (_object ${ARGN}) + get_property(_isSet ${_type} "${_object}" PROPERTY ${_property} SET) + if (_isSet) + get_property(_propertyValue ${_type} "${_object}" PROPERTY ${_property}) + if (NOT _propertyValue) + list (APPEND _filteredObjects "${_object}") + endif() + endif() + endforeach() + set (${_filteredObjectsVar} ${_filteredObjects} PARENT_SCOPE) +endfunction() + +function (cotire_get_source_file_property_values _valuesVar _property) + set (_values "") + foreach (_sourceFile ${ARGN}) + get_source_file_property(_propertyValue "${_sourceFile}" ${_property}) + if (_propertyValue) + list (APPEND _values "${_propertyValue}") + endif() + endforeach() + set (${_valuesVar} ${_values} PARENT_SCOPE) +endfunction() + +function (cotire_resolve_config_properites _configurations _propertiesVar) + set (_properties "") + foreach (_property ${ARGN}) + if ("${_property}" MATCHES "") + foreach (_config ${_configurations}) + string (TOUPPER "${_config}" _upperConfig) + string (REPLACE "" "${_upperConfig}" _configProperty "${_property}") + list (APPEND _properties ${_configProperty}) + endforeach() + else() + list (APPEND _properties ${_property}) + endif() + endforeach() + set (${_propertiesVar} ${_properties} PARENT_SCOPE) +endfunction() + +function (cotire_copy_set_properites _configurations _type _source _target) + cotire_resolve_config_properites("${_configurations}" _properties ${ARGN}) + foreach (_property ${_properties}) + get_property(_isSet ${_type} ${_source} PROPERTY ${_property} SET) + if (_isSet) + get_property(_propertyValue ${_type} ${_source} PROPERTY ${_property}) + set_property(${_type} ${_target} PROPERTY ${_property} "${_propertyValue}") + endif() + endforeach() +endfunction() + +function (cotire_get_target_usage_requirements _target _targetRequirementsVar) + set (_targetRequirements "") + get_target_property(_librariesToProcess ${_target} LINK_LIBRARIES) + while (_librariesToProcess) + # remove from head + list (GET _librariesToProcess 0 _library) + list (REMOVE_AT _librariesToProcess 0) + if (TARGET ${_library}) + list (FIND _targetRequirements ${_library} _index) + if (_index LESS 0) + list (APPEND _targetRequirements ${_library}) + # BFS traversal of transitive libraries + get_target_property(_libraries ${_library} INTERFACE_LINK_LIBRARIES) + if (_libraries) + list (APPEND _librariesToProcess ${_libraries}) + list (REMOVE_DUPLICATES _librariesToProcess) + endif() + endif() + endif() + endwhile() + set (${_targetRequirementsVar} ${_targetRequirements} PARENT_SCOPE) +endfunction() + +function (cotire_filter_compile_flags _language _flagFilter _matchedOptionsVar _unmatchedOptionsVar) + if (WIN32 AND CMAKE_${_language}_COMPILER_ID MATCHES "MSVC|Intel") + set (_flagPrefix "[/-]") + else() + set (_flagPrefix "--?") + endif() + set (_optionFlag "") + set (_matchedOptions "") + set (_unmatchedOptions "") + foreach (_compileFlag ${ARGN}) + if (_compileFlag) + if (_optionFlag AND NOT "${_compileFlag}" MATCHES "^${_flagPrefix}") + # option with separate argument + list (APPEND _matchedOptions "${_compileFlag}") + set (_optionFlag "") + elseif ("${_compileFlag}" MATCHES "^(${_flagPrefix})(${_flagFilter})$") + # remember option + set (_optionFlag "${CMAKE_MATCH_2}") + elseif ("${_compileFlag}" MATCHES "^(${_flagPrefix})(${_flagFilter})(.+)$") + # option with joined argument + list (APPEND _matchedOptions "${CMAKE_MATCH_3}") + set (_optionFlag "") + else() + # flush remembered option + if (_optionFlag) + list (APPEND _matchedOptions "${_optionFlag}") + set (_optionFlag "") + endif() + # add to unfiltered options + list (APPEND _unmatchedOptions "${_compileFlag}") + endif() + endif() + endforeach() + if (_optionFlag) + list (APPEND _matchedOptions "${_optionFlag}") + endif() + if (COTIRE_DEBUG AND _matchedOptions) + message (STATUS "Filter ${_flagFilter} matched: ${_matchedOptions}") + endif() + if (COTIRE_DEBUG AND _unmatchedOptions) + message (STATUS "Filter ${_flagFilter} unmatched: ${_unmatchedOptions}") + endif() + set (${_matchedOptionsVar} ${_matchedOptions} PARENT_SCOPE) + set (${_unmatchedOptionsVar} ${_unmatchedOptions} PARENT_SCOPE) +endfunction() + +function (cotire_is_target_supported _target _isSupportedVar) + if (NOT TARGET "${_target}") + set (${_isSupportedVar} FALSE PARENT_SCOPE) + return() + endif() + get_target_property(_imported ${_target} IMPORTED) + if (_imported) + set (${_isSupportedVar} FALSE PARENT_SCOPE) + return() + endif() + get_target_property(_targetType ${_target} TYPE) + if (NOT _targetType MATCHES "EXECUTABLE|(STATIC|SHARED|MODULE|OBJECT)_LIBRARY") + set (${_isSupportedVar} FALSE PARENT_SCOPE) + return() + endif() + set (${_isSupportedVar} TRUE PARENT_SCOPE) +endfunction() + +function (cotire_get_target_compile_flags _config _language _target _flagsVar) + string (TOUPPER "${_config}" _upperConfig) + # collect options from CMake language variables + set (_compileFlags "") + if (CMAKE_${_language}_FLAGS) + set (_compileFlags "${_compileFlags} ${CMAKE_${_language}_FLAGS}") + endif() + if (CMAKE_${_language}_FLAGS_${_upperConfig}) + set (_compileFlags "${_compileFlags} ${CMAKE_${_language}_FLAGS_${_upperConfig}}") + endif() + if (_target) + # add target compile flags + get_target_property(_targetflags ${_target} COMPILE_FLAGS) + if (_targetflags) + set (_compileFlags "${_compileFlags} ${_targetflags}") + endif() + endif() + if (UNIX) + separate_arguments(_compileFlags UNIX_COMMAND "${_compileFlags}") + elseif(WIN32) + separate_arguments(_compileFlags WINDOWS_COMMAND "${_compileFlags}") + else() + separate_arguments(_compileFlags) + endif() + # target compile options + if (_target) + get_target_property(_targetOptions ${_target} COMPILE_OPTIONS) + if (_targetOptions) + list (APPEND _compileFlags ${_targetOptions}) + endif() + endif() + # interface compile options from linked library targets + if (_target) + set (_linkedTargets "") + cotire_get_target_usage_requirements(${_target} _linkedTargets) + foreach (_linkedTarget ${_linkedTargets}) + get_target_property(_targetOptions ${_linkedTarget} INTERFACE_COMPILE_OPTIONS) + if (_targetOptions) + list (APPEND _compileFlags ${_targetOptions}) + endif() + endforeach() + endif() + # handle language standard properties + if (CMAKE_${_language}_STANDARD_DEFAULT) + # used compiler supports language standard levels + if (_target) + get_target_property(_targetLanguageStandard ${_target} ${_language}_STANDARD) + if (_targetLanguageStandard) + set (_type "EXTENSION") + get_property(_isSet TARGET ${_target} PROPERTY ${_language}_EXTENSIONS SET) + if (_isSet) + get_target_property(_targetUseLanguageExtensions ${_target} ${_language}_EXTENSIONS) + if (NOT _targetUseLanguageExtensions) + set (_type "STANDARD") + endif() + endif() + if (CMAKE_${_language}${_targetLanguageStandard}_${_type}_COMPILE_OPTION) + list (APPEND _compileFlags "${CMAKE_${_language}${_targetLanguageStandard}_${_type}_COMPILE_OPTION}") + endif() + endif() + endif() + endif() + # handle the POSITION_INDEPENDENT_CODE target property + if (_target) + get_target_property(_targetPIC ${_target} POSITION_INDEPENDENT_CODE) + if (_targetPIC) + get_target_property(_targetType ${_target} TYPE) + if (_targetType STREQUAL "EXECUTABLE" AND CMAKE_${_language}_COMPILE_OPTIONS_PIE) + list (APPEND _compileFlags "${CMAKE_${_language}_COMPILE_OPTIONS_PIE}") + elseif (CMAKE_${_language}_COMPILE_OPTIONS_PIC) + list (APPEND _compileFlags "${CMAKE_${_language}_COMPILE_OPTIONS_PIC}") + endif() + endif() + endif() + # handle visibility target properties + if (_target) + get_target_property(_targetVisibility ${_target} ${_language}_VISIBILITY_PRESET) + if (_targetVisibility AND CMAKE_${_language}_COMPILE_OPTIONS_VISIBILITY) + list (APPEND _compileFlags "${CMAKE_${_language}_COMPILE_OPTIONS_VISIBILITY}${_targetVisibility}") + endif() + get_target_property(_targetVisibilityInlines ${_target} VISIBILITY_INLINES_HIDDEN) + if (_targetVisibilityInlines AND CMAKE_${_language}_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN) + list (APPEND _compileFlags "${CMAKE_${_language}_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN}") + endif() + endif() + # platform specific flags + if (APPLE) + get_target_property(_architectures ${_target} OSX_ARCHITECTURES_${_upperConfig}) + if (NOT _architectures) + get_target_property(_architectures ${_target} OSX_ARCHITECTURES) + endif() + if (_architectures) + foreach (_arch ${_architectures}) + list (APPEND _compileFlags "-arch" "${_arch}") + endforeach() + endif() + if (CMAKE_OSX_SYSROOT) + if (CMAKE_${_language}_SYSROOT_FLAG) + list (APPEND _compileFlags "${CMAKE_${_language}_SYSROOT_FLAG}" "${CMAKE_OSX_SYSROOT}") + else() + list (APPEND _compileFlags "-isysroot" "${CMAKE_OSX_SYSROOT}") + endif() + endif() + if (CMAKE_OSX_DEPLOYMENT_TARGET) + if (CMAKE_${_language}_OSX_DEPLOYMENT_TARGET_FLAG) + list (APPEND _compileFlags "${CMAKE_${_language}_OSX_DEPLOYMENT_TARGET_FLAG}${CMAKE_OSX_DEPLOYMENT_TARGET}") + else() + list (APPEND _compileFlags "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}") + endif() + endif() + endif() + if (COTIRE_DEBUG AND _compileFlags) + message (STATUS "Target ${_target} compile flags: ${_compileFlags}") + endif() + set (${_flagsVar} ${_compileFlags} PARENT_SCOPE) +endfunction() + +function (cotire_get_target_include_directories _config _language _target _includeDirsVar _systemIncludeDirsVar) + set (_includeDirs "") + set (_systemIncludeDirs "") + # default include dirs + if (CMAKE_INCLUDE_CURRENT_DIR) + list (APPEND _includeDirs "${CMAKE_CURRENT_BINARY_DIR}") + list (APPEND _includeDirs "${CMAKE_CURRENT_SOURCE_DIR}") + endif() + set (_targetFlags "") + cotire_get_target_compile_flags("${_config}" "${_language}" "${_target}" _targetFlags) + # parse additional include directories from target compile flags + if (CMAKE_INCLUDE_FLAG_${_language}) + string (STRIP "${CMAKE_INCLUDE_FLAG_${_language}}" _includeFlag) + string (REGEX REPLACE "^[-/]+" "" _includeFlag "${_includeFlag}") + if (_includeFlag) + set (_dirs "") + cotire_filter_compile_flags("${_language}" "${_includeFlag}" _dirs _ignore ${_targetFlags}) + if (_dirs) + list (APPEND _includeDirs ${_dirs}) + endif() + endif() + endif() + # parse additional system include directories from target compile flags + if (CMAKE_INCLUDE_SYSTEM_FLAG_${_language}) + string (STRIP "${CMAKE_INCLUDE_SYSTEM_FLAG_${_language}}" _includeFlag) + string (REGEX REPLACE "^[-/]+" "" _includeFlag "${_includeFlag}") + if (_includeFlag) + set (_dirs "") + cotire_filter_compile_flags("${_language}" "${_includeFlag}" _dirs _ignore ${_targetFlags}) + if (_dirs) + list (APPEND _systemIncludeDirs ${_dirs}) + endif() + endif() + endif() + # target include directories + get_directory_property(_dirs DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" INCLUDE_DIRECTORIES) + if (_target) + get_target_property(_targetDirs ${_target} INCLUDE_DIRECTORIES) + if (_targetDirs) + list (APPEND _dirs ${_targetDirs}) + endif() + get_target_property(_targetDirs ${_target} INTERFACE_SYSTEM_INCLUDE_DIRECTORIES) + if (_targetDirs) + list (APPEND _systemIncludeDirs ${_targetDirs}) + endif() + endif() + # interface include directories from linked library targets + if (_target) + set (_linkedTargets "") + cotire_get_target_usage_requirements(${_target} _linkedTargets) + foreach (_linkedTarget ${_linkedTargets}) + get_target_property(_linkedTargetType ${_linkedTarget} TYPE) + if (CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE AND NOT CMAKE_VERSION VERSION_LESS "3.4.0" AND + _linkedTargetType MATCHES "(STATIC|SHARED|MODULE|OBJECT)_LIBRARY") + # CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE refers to CMAKE_CURRENT_BINARY_DIR and CMAKE_CURRENT_SOURCE_DIR + # at the time, when the target was created. These correspond to the target properties BINARY_DIR and SOURCE_DIR + # which are only available with CMake 3.4 or later. + get_target_property(_targetDirs ${_linkedTarget} BINARY_DIR) + if (_targetDirs) + list (APPEND _dirs ${_targetDirs}) + endif() + get_target_property(_targetDirs ${_linkedTarget} SOURCE_DIR) + if (_targetDirs) + list (APPEND _dirs ${_targetDirs}) + endif() + endif() + get_target_property(_targetDirs ${_linkedTarget} INTERFACE_INCLUDE_DIRECTORIES) + if (_targetDirs) + list (APPEND _dirs ${_targetDirs}) + endif() + get_target_property(_targetDirs ${_linkedTarget} INTERFACE_SYSTEM_INCLUDE_DIRECTORIES) + if (_targetDirs) + list (APPEND _systemIncludeDirs ${_targetDirs}) + endif() + endforeach() + endif() + if (dirs) + list (REMOVE_DUPLICATES _dirs) + endif() + list (LENGTH _includeDirs _projectInsertIndex) + foreach (_dir ${_dirs}) + if (CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE) + cotire_check_is_path_relative_to("${_dir}" _isRelative "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}") + if (_isRelative) + list (LENGTH _includeDirs _len) + if (_len EQUAL _projectInsertIndex) + list (APPEND _includeDirs "${_dir}") + else() + list (INSERT _includeDirs _projectInsertIndex "${_dir}") + endif() + math (EXPR _projectInsertIndex "${_projectInsertIndex} + 1") + else() + list (APPEND _includeDirs "${_dir}") + endif() + else() + list (APPEND _includeDirs "${_dir}") + endif() + endforeach() + list (REMOVE_DUPLICATES _includeDirs) + list (REMOVE_DUPLICATES _systemIncludeDirs) + if (CMAKE_${_language}_IMPLICIT_INCLUDE_DIRECTORIES) + list (REMOVE_ITEM _includeDirs ${CMAKE_${_language}_IMPLICIT_INCLUDE_DIRECTORIES}) + endif() + if (WIN32) + # convert Windows paths in include directories to CMake paths + if (_includeDirs) + set (_paths "") + foreach (_dir ${_includeDirs}) + file (TO_CMAKE_PATH "${_dir}" _path) + list (APPEND _paths "${_path}") + endforeach() + set (_includeDirs ${_paths}) + endif() + if (_systemIncludeDirs) + set (_paths "") + foreach (_dir ${_systemIncludeDirs}) + file (TO_CMAKE_PATH "${_dir}" _path) + list (APPEND _paths "${_path}") + endforeach() + set (_systemIncludeDirs ${_paths}) + endif() + endif() + if (COTIRE_DEBUG AND _includeDirs) + message (STATUS "Target ${_target} include dirs: ${_includeDirs}") + endif() + set (${_includeDirsVar} ${_includeDirs} PARENT_SCOPE) + if (COTIRE_DEBUG AND _systemIncludeDirs) + message (STATUS "Target ${_target} system include dirs: ${_systemIncludeDirs}") + endif() + set (${_systemIncludeDirsVar} ${_systemIncludeDirs} PARENT_SCOPE) +endfunction() + +function (cotire_get_target_export_symbol _target _exportSymbolVar) + set (_exportSymbol "") + get_target_property(_targetType ${_target} TYPE) + get_target_property(_enableExports ${_target} ENABLE_EXPORTS) + if (_targetType MATCHES "(SHARED|MODULE)_LIBRARY" OR + (_targetType STREQUAL "EXECUTABLE" AND _enableExports)) + get_target_property(_exportSymbol ${_target} DEFINE_SYMBOL) + if (NOT _exportSymbol) + set (_exportSymbol "${_target}_EXPORTS") + endif() + string (MAKE_C_IDENTIFIER "${_exportSymbol}" _exportSymbol) + endif() + set (${_exportSymbolVar} ${_exportSymbol} PARENT_SCOPE) +endfunction() + +function (cotire_get_target_compile_definitions _config _language _target _definitionsVar) + string (TOUPPER "${_config}" _upperConfig) + set (_configDefinitions "") + # CMAKE_INTDIR for multi-configuration build systems + if (NOT "${CMAKE_CFG_INTDIR}" STREQUAL ".") + list (APPEND _configDefinitions "CMAKE_INTDIR=\"${_config}\"") + endif() + # target export define symbol + cotire_get_target_export_symbol("${_target}" _defineSymbol) + if (_defineSymbol) + list (APPEND _configDefinitions "${_defineSymbol}") + endif() + # directory compile definitions + get_directory_property(_definitions DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" COMPILE_DEFINITIONS) + if (_definitions) + list (APPEND _configDefinitions ${_definitions}) + endif() + get_directory_property(_definitions DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" COMPILE_DEFINITIONS_${_upperConfig}) + if (_definitions) + list (APPEND _configDefinitions ${_definitions}) + endif() + # target compile definitions + get_target_property(_definitions ${_target} COMPILE_DEFINITIONS) + if (_definitions) + list (APPEND _configDefinitions ${_definitions}) + endif() + get_target_property(_definitions ${_target} COMPILE_DEFINITIONS_${_upperConfig}) + if (_definitions) + list (APPEND _configDefinitions ${_definitions}) + endif() + # interface compile definitions from linked library targets + set (_linkedTargets "") + cotire_get_target_usage_requirements(${_target} _linkedTargets) + foreach (_linkedTarget ${_linkedTargets}) + get_target_property(_definitions ${_linkedTarget} INTERFACE_COMPILE_DEFINITIONS) + if (_definitions) + list (APPEND _configDefinitions ${_definitions}) + endif() + endforeach() + # parse additional compile definitions from target compile flags + # and don't look at directory compile definitions, which we already handled + set (_targetFlags "") + cotire_get_target_compile_flags("${_config}" "${_language}" "${_target}" _targetFlags) + cotire_filter_compile_flags("${_language}" "D" _definitions _ignore ${_targetFlags}) + if (_definitions) + list (APPEND _configDefinitions ${_definitions}) + endif() + list (REMOVE_DUPLICATES _configDefinitions) + if (COTIRE_DEBUG AND _configDefinitions) + message (STATUS "Target ${_target} compile definitions: ${_configDefinitions}") + endif() + set (${_definitionsVar} ${_configDefinitions} PARENT_SCOPE) +endfunction() + +function (cotire_get_target_compiler_flags _config _language _target _compilerFlagsVar) + # parse target compile flags omitting compile definitions and include directives + set (_targetFlags "") + cotire_get_target_compile_flags("${_config}" "${_language}" "${_target}" _targetFlags) + set (_flagFilter "D") + if (CMAKE_INCLUDE_FLAG_${_language}) + string (STRIP "${CMAKE_INCLUDE_FLAG_${_language}}" _includeFlag) + string (REGEX REPLACE "^[-/]+" "" _includeFlag "${_includeFlag}") + if (_includeFlag) + set (_flagFilter "${_flagFilter}|${_includeFlag}") + endif() + endif() + if (CMAKE_INCLUDE_SYSTEM_FLAG_${_language}) + string (STRIP "${CMAKE_INCLUDE_SYSTEM_FLAG_${_language}}" _includeFlag) + string (REGEX REPLACE "^[-/]+" "" _includeFlag "${_includeFlag}") + if (_includeFlag) + set (_flagFilter "${_flagFilter}|${_includeFlag}") + endif() + endif() + set (_compilerFlags "") + cotire_filter_compile_flags("${_language}" "${_flagFilter}" _ignore _compilerFlags ${_targetFlags}) + if (COTIRE_DEBUG AND _compilerFlags) + message (STATUS "Target ${_target} compiler flags: ${_compilerFlags}") + endif() + set (${_compilerFlagsVar} ${_compilerFlags} PARENT_SCOPE) +endfunction() + +function (cotire_add_sys_root_paths _pathsVar) + if (APPLE) + if (CMAKE_OSX_SYSROOT AND CMAKE_${_language}_HAS_ISYSROOT) + foreach (_path IN LISTS ${_pathsVar}) + if (IS_ABSOLUTE "${_path}") + get_filename_component(_path "${CMAKE_OSX_SYSROOT}/${_path}" ABSOLUTE) + if (EXISTS "${_path}") + list (APPEND ${_pathsVar} "${_path}") + endif() + endif() + endforeach() + endif() + endif() + set (${_pathsVar} ${${_pathsVar}} PARENT_SCOPE) +endfunction() + +function (cotire_get_source_extra_properties _sourceFile _pattern _resultVar) + set (_extraProperties ${ARGN}) + set (_result "") + if (_extraProperties) + list (FIND _extraProperties "${_sourceFile}" _index) + if (_index GREATER -1) + math (EXPR _index "${_index} + 1") + list (LENGTH _extraProperties _len) + math (EXPR _len "${_len} - 1") + foreach (_index RANGE ${_index} ${_len}) + list (GET _extraProperties ${_index} _value) + if (_value MATCHES "${_pattern}") + list (APPEND _result "${_value}") + else() + break() + endif() + endforeach() + endif() + endif() + set (${_resultVar} ${_result} PARENT_SCOPE) +endfunction() + +function (cotire_get_source_compile_definitions _config _language _sourceFile _definitionsVar) + set (_compileDefinitions "") + if (NOT CMAKE_SCRIPT_MODE_FILE) + string (TOUPPER "${_config}" _upperConfig) + get_source_file_property(_definitions "${_sourceFile}" COMPILE_DEFINITIONS) + if (_definitions) + list (APPEND _compileDefinitions ${_definitions}) + endif() + get_source_file_property(_definitions "${_sourceFile}" COMPILE_DEFINITIONS_${_upperConfig}) + if (_definitions) + list (APPEND _compileDefinitions ${_definitions}) + endif() + endif() + cotire_get_source_extra_properties("${_sourceFile}" "^[a-zA-Z0-9_]+(=.*)?$" _definitions ${ARGN}) + if (_definitions) + list (APPEND _compileDefinitions ${_definitions}) + endif() + if (COTIRE_DEBUG AND _compileDefinitions) + message (STATUS "Source ${_sourceFile} compile definitions: ${_compileDefinitions}") + endif() + set (${_definitionsVar} ${_compileDefinitions} PARENT_SCOPE) +endfunction() + +function (cotire_get_source_files_compile_definitions _config _language _definitionsVar) + set (_configDefinitions "") + foreach (_sourceFile ${ARGN}) + cotire_get_source_compile_definitions("${_config}" "${_language}" "${_sourceFile}" _sourceDefinitions) + if (_sourceDefinitions) + list (APPEND _configDefinitions "${_sourceFile}" ${_sourceDefinitions} "-") + endif() + endforeach() + set (${_definitionsVar} ${_configDefinitions} PARENT_SCOPE) +endfunction() + +function (cotire_get_source_undefs _sourceFile _property _sourceUndefsVar) + set (_sourceUndefs "") + if (NOT CMAKE_SCRIPT_MODE_FILE) + get_source_file_property(_undefs "${_sourceFile}" ${_property}) + if (_undefs) + list (APPEND _sourceUndefs ${_undefs}) + endif() + endif() + cotire_get_source_extra_properties("${_sourceFile}" "^[a-zA-Z0-9_]+$" _undefs ${ARGN}) + if (_undefs) + list (APPEND _sourceUndefs ${_undefs}) + endif() + if (COTIRE_DEBUG AND _sourceUndefs) + message (STATUS "Source ${_sourceFile} ${_property} undefs: ${_sourceUndefs}") + endif() + set (${_sourceUndefsVar} ${_sourceUndefs} PARENT_SCOPE) +endfunction() + +function (cotire_get_source_files_undefs _property _sourceUndefsVar) + set (_sourceUndefs "") + foreach (_sourceFile ${ARGN}) + cotire_get_source_undefs("${_sourceFile}" ${_property} _undefs) + if (_undefs) + list (APPEND _sourceUndefs "${_sourceFile}" ${_undefs} "-") + endif() + endforeach() + set (${_sourceUndefsVar} ${_sourceUndefs} PARENT_SCOPE) +endfunction() + +macro (cotire_set_cmd_to_prologue _cmdVar) + set (${_cmdVar} "${CMAKE_COMMAND}") + if (COTIRE_DEBUG) + list (APPEND ${_cmdVar} "--warn-uninitialized") + endif() + list (APPEND ${_cmdVar} "-DCOTIRE_BUILD_TYPE:STRING=$") + if (COTIRE_VERBOSE) + list (APPEND ${_cmdVar} "-DCOTIRE_VERBOSE:BOOL=ON") + elseif("${CMAKE_GENERATOR}" MATCHES "Makefiles") + list (APPEND ${_cmdVar} "-DCOTIRE_VERBOSE:BOOL=$(VERBOSE)") + endif() +endmacro() + +function (cotire_init_compile_cmd _cmdVar _language _compilerLauncher _compilerExe _compilerArg1) + if (NOT _compilerLauncher) + set (_compilerLauncher ${CMAKE_${_language}_COMPILER_LAUNCHER}) + endif() + if (NOT _compilerExe) + set (_compilerExe "${CMAKE_${_language}_COMPILER}") + endif() + if (NOT _compilerArg1) + set (_compilerArg1 ${CMAKE_${_language}_COMPILER_ARG1}) + endif() + string (STRIP "${_compilerArg1}" _compilerArg1) + if ("${CMAKE_GENERATOR}" MATCHES "Make|Ninja") + # compiler launcher is only supported for Makefile and Ninja + set (${_cmdVar} ${_compilerLauncher} "${_compilerExe}" ${_compilerArg1} PARENT_SCOPE) + else() + set (${_cmdVar} "${_compilerExe}" ${_compilerArg1} PARENT_SCOPE) + endif() +endfunction() + +macro (cotire_add_definitions_to_cmd _cmdVar _language) + foreach (_definition ${ARGN}) + if (WIN32 AND CMAKE_${_language}_COMPILER_ID MATCHES "MSVC|Intel") + list (APPEND ${_cmdVar} "/D${_definition}") + else() + list (APPEND ${_cmdVar} "-D${_definition}") + endif() + endforeach() +endmacro() + +function (cotire_add_includes_to_cmd _cmdVar _language _includesVar _systemIncludesVar) + set (_includeDirs ${${_includesVar}} ${${_systemIncludesVar}}) + if (_includeDirs) + list (REMOVE_DUPLICATES _includeDirs) + foreach (_include ${_includeDirs}) + if (WIN32 AND CMAKE_${_language}_COMPILER_ID MATCHES "MSVC|Intel") + file (TO_NATIVE_PATH "${_include}" _include) + list (APPEND ${_cmdVar} "${CMAKE_INCLUDE_FLAG_${_language}}${CMAKE_INCLUDE_FLAG_${_language}_SEP}${_include}") + else() + set (_index -1) + if ("${CMAKE_INCLUDE_SYSTEM_FLAG_${_language}}" MATCHES ".+") + list (FIND ${_systemIncludesVar} "${_include}" _index) + endif() + if (_index GREATER -1) + list (APPEND ${_cmdVar} "${CMAKE_INCLUDE_SYSTEM_FLAG_${_language}}${_include}") + else() + list (APPEND ${_cmdVar} "${CMAKE_INCLUDE_FLAG_${_language}}${CMAKE_INCLUDE_FLAG_${_language}_SEP}${_include}") + endif() + endif() + endforeach() + endif() + set (${_cmdVar} ${${_cmdVar}} PARENT_SCOPE) +endfunction() + +function (cotire_add_frameworks_to_cmd _cmdVar _language _includesVar _systemIncludesVar) + if (APPLE) + set (_frameworkDirs "") + foreach (_include ${${_includesVar}}) + if (IS_ABSOLUTE "${_include}" AND _include MATCHES "\\.framework$") + get_filename_component(_frameworkDir "${_include}" DIRECTORY) + list (APPEND _frameworkDirs "${_frameworkDir}") + endif() + endforeach() + set (_systemFrameworkDirs "") + foreach (_include ${${_systemIncludesVar}}) + if (IS_ABSOLUTE "${_include}" AND _include MATCHES "\\.framework$") + get_filename_component(_frameworkDir "${_include}" DIRECTORY) + list (APPEND _systemFrameworkDirs "${_frameworkDir}") + endif() + endforeach() + if (_systemFrameworkDirs) + list (APPEND _frameworkDirs ${_systemFrameworkDirs}) + endif() + if (_frameworkDirs) + list (REMOVE_DUPLICATES _frameworkDirs) + foreach (_frameworkDir ${_frameworkDirs}) + set (_index -1) + if ("${CMAKE_${_language}_SYSTEM_FRAMEWORK_SEARCH_FLAG}" MATCHES ".+") + list (FIND _systemFrameworkDirs "${_frameworkDir}" _index) + endif() + if (_index GREATER -1) + list (APPEND ${_cmdVar} "${CMAKE_${_language}_SYSTEM_FRAMEWORK_SEARCH_FLAG}${_frameworkDir}") + else() + list (APPEND ${_cmdVar} "${CMAKE_${_language}_FRAMEWORK_SEARCH_FLAG}${_frameworkDir}") + endif() + endforeach() + endif() + endif() + set (${_cmdVar} ${${_cmdVar}} PARENT_SCOPE) +endfunction() + +macro (cotire_add_compile_flags_to_cmd _cmdVar) + foreach (_flag ${ARGN}) + list (APPEND ${_cmdVar} "${_flag}") + endforeach() +endmacro() + +function (cotire_check_file_up_to_date _fileIsUpToDateVar _file) + if (EXISTS "${_file}") + set (_triggerFile "") + foreach (_dependencyFile ${ARGN}) + if (EXISTS "${_dependencyFile}") + # IS_NEWER_THAN returns TRUE if both files have the same timestamp + # thus we do the comparison in both directions to exclude ties + if ("${_dependencyFile}" IS_NEWER_THAN "${_file}" AND + NOT "${_file}" IS_NEWER_THAN "${_dependencyFile}") + set (_triggerFile "${_dependencyFile}") + break() + endif() + endif() + endforeach() + if (_triggerFile) + if (COTIRE_VERBOSE) + get_filename_component(_fileName "${_file}" NAME) + message (STATUS "${_fileName} update triggered by ${_triggerFile} change.") + endif() + set (${_fileIsUpToDateVar} FALSE PARENT_SCOPE) + else() + if (COTIRE_VERBOSE) + get_filename_component(_fileName "${_file}" NAME) + message (STATUS "${_fileName} is up-to-date.") + endif() + set (${_fileIsUpToDateVar} TRUE PARENT_SCOPE) + endif() + else() + if (COTIRE_VERBOSE) + get_filename_component(_fileName "${_file}" NAME) + message (STATUS "${_fileName} does not exist yet.") + endif() + set (${_fileIsUpToDateVar} FALSE PARENT_SCOPE) + endif() +endfunction() + +macro (cotire_find_closest_relative_path _headerFile _includeDirs _relPathVar) + set (${_relPathVar} "") + foreach (_includeDir ${_includeDirs}) + if (IS_DIRECTORY "${_includeDir}") + file (RELATIVE_PATH _relPath "${_includeDir}" "${_headerFile}") + if (NOT IS_ABSOLUTE "${_relPath}" AND NOT "${_relPath}" MATCHES "^\\.\\.") + string (LENGTH "${${_relPathVar}}" _closestLen) + string (LENGTH "${_relPath}" _relLen) + if (_closestLen EQUAL 0 OR _relLen LESS _closestLen) + set (${_relPathVar} "${_relPath}") + endif() + endif() + elseif ("${_includeDir}" STREQUAL "${_headerFile}") + # if path matches exactly, return short non-empty string + set (${_relPathVar} "1") + break() + endif() + endforeach() +endmacro() + +macro (cotire_check_header_file_location _headerFile _insideIncludeDirs _outsideIncludeDirs _headerIsInside) + # check header path against ignored and honored include directories + cotire_find_closest_relative_path("${_headerFile}" "${_insideIncludeDirs}" _insideRelPath) + if (_insideRelPath) + # header is inside, but could be become outside if there is a shorter outside match + cotire_find_closest_relative_path("${_headerFile}" "${_outsideIncludeDirs}" _outsideRelPath) + if (_outsideRelPath) + string (LENGTH "${_insideRelPath}" _insideRelPathLen) + string (LENGTH "${_outsideRelPath}" _outsideRelPathLen) + if (_outsideRelPathLen LESS _insideRelPathLen) + set (${_headerIsInside} FALSE) + else() + set (${_headerIsInside} TRUE) + endif() + else() + set (${_headerIsInside} TRUE) + endif() + else() + # header is outside + set (${_headerIsInside} FALSE) + endif() +endmacro() + +macro (cotire_check_ignore_header_file_path _headerFile _headerIsIgnoredVar) + if (NOT EXISTS "${_headerFile}") + set (${_headerIsIgnoredVar} TRUE) + elseif (IS_DIRECTORY "${_headerFile}") + set (${_headerIsIgnoredVar} TRUE) + elseif ("${_headerFile}" MATCHES "\\.\\.|[_-]fixed" AND "${_headerFile}" MATCHES "\\.h$") + # heuristic: ignore C headers with embedded parent directory references or "-fixed" or "_fixed" in path + # these often stem from using GCC #include_next tricks, which may break the precompiled header compilation + # with the error message "error: no include path in which to search for header.h" + set (${_headerIsIgnoredVar} TRUE) + else() + set (${_headerIsIgnoredVar} FALSE) + endif() +endmacro() + +macro (cotire_check_ignore_header_file_ext _headerFile _ignoreExtensionsVar _headerIsIgnoredVar) + # check header file extension + cotire_get_source_file_extension("${_headerFile}" _headerFileExt) + set (${_headerIsIgnoredVar} FALSE) + if (_headerFileExt) + list (FIND ${_ignoreExtensionsVar} "${_headerFileExt}" _index) + if (_index GREATER -1) + set (${_headerIsIgnoredVar} TRUE) + endif() + endif() +endmacro() + +macro (cotire_parse_line _line _headerFileVar _headerDepthVar) + if (MSVC) + # cl.exe /showIncludes output looks different depending on the language pack used, e.g.: + # English: "Note: including file: C:\directory\file" + # German: "Hinweis: Einlesen der Datei: C:\directory\file" + # We use a very general regular expression, relying on the presence of the : characters + if (_line MATCHES "( +)([a-zA-Z]:[^:]+)$") + # Visual Studio compiler output + string (LENGTH "${CMAKE_MATCH_1}" ${_headerDepthVar}) + get_filename_component(${_headerFileVar} "${CMAKE_MATCH_2}" ABSOLUTE) + else() + set (${_headerFileVar} "") + set (${_headerDepthVar} 0) + endif() + else() + if (_line MATCHES "^(\\.+) (.*)$") + # GCC like output + string (LENGTH "${CMAKE_MATCH_1}" ${_headerDepthVar}) + if (IS_ABSOLUTE "${CMAKE_MATCH_2}") + set (${_headerFileVar} "${CMAKE_MATCH_2}") + else() + get_filename_component(${_headerFileVar} "${CMAKE_MATCH_2}" REALPATH) + endif() + else() + set (${_headerFileVar} "") + set (${_headerDepthVar} 0) + endif() + endif() +endmacro() + +function (cotire_parse_includes _language _scanOutput _ignoredIncludeDirs _honoredIncludeDirs _ignoredExtensions _selectedIncludesVar _unparsedLinesVar) + if (WIN32) + # prevent CMake macro invocation errors due to backslash characters in Windows paths + string (REPLACE "\\" "/" _scanOutput "${_scanOutput}") + endif() + # canonize slashes + string (REPLACE "//" "/" _scanOutput "${_scanOutput}") + # prevent semicolon from being interpreted as a line separator + string (REPLACE ";" "\\;" _scanOutput "${_scanOutput}") + # then separate lines + string (REGEX REPLACE "\n" ";" _scanOutput "${_scanOutput}") + list (LENGTH _scanOutput _len) + # remove duplicate lines to speed up parsing + list (REMOVE_DUPLICATES _scanOutput) + list (LENGTH _scanOutput _uniqueLen) + if (COTIRE_VERBOSE OR COTIRE_DEBUG) + message (STATUS "Scanning ${_uniqueLen} unique lines of ${_len} for includes") + if (_ignoredExtensions) + message (STATUS "Ignored extensions: ${_ignoredExtensions}") + endif() + if (_ignoredIncludeDirs) + message (STATUS "Ignored paths: ${_ignoredIncludeDirs}") + endif() + if (_honoredIncludeDirs) + message (STATUS "Included paths: ${_honoredIncludeDirs}") + endif() + endif() + set (_sourceFiles ${ARGN}) + set (_selectedIncludes "") + set (_unparsedLines "") + # stack keeps track of inside/outside project status of processed header files + set (_headerIsInsideStack "") + foreach (_line IN LISTS _scanOutput) + if (_line) + cotire_parse_line("${_line}" _headerFile _headerDepth) + if (_headerFile) + cotire_check_header_file_location("${_headerFile}" "${_ignoredIncludeDirs}" "${_honoredIncludeDirs}" _headerIsInside) + if (COTIRE_DEBUG) + message (STATUS "${_headerDepth}: ${_headerFile} ${_headerIsInside}") + endif() + # update stack + list (LENGTH _headerIsInsideStack _stackLen) + if (_headerDepth GREATER _stackLen) + math (EXPR _stackLen "${_stackLen} + 1") + foreach (_index RANGE ${_stackLen} ${_headerDepth}) + list (APPEND _headerIsInsideStack ${_headerIsInside}) + endforeach() + else() + foreach (_index RANGE ${_headerDepth} ${_stackLen}) + list (REMOVE_AT _headerIsInsideStack -1) + endforeach() + list (APPEND _headerIsInsideStack ${_headerIsInside}) + endif() + if (COTIRE_DEBUG) + message (STATUS "${_headerIsInsideStack}") + endif() + # header is a candidate if it is outside project + if (NOT _headerIsInside) + # get parent header file's inside/outside status + if (_headerDepth GREATER 1) + math (EXPR _index "${_headerDepth} - 2") + list (GET _headerIsInsideStack ${_index} _parentHeaderIsInside) + else() + set (_parentHeaderIsInside TRUE) + endif() + # select header file if parent header file is inside project + # (e.g., a project header file that includes a standard header file) + if (_parentHeaderIsInside) + cotire_check_ignore_header_file_path("${_headerFile}" _headerIsIgnored) + if (NOT _headerIsIgnored) + cotire_check_ignore_header_file_ext("${_headerFile}" _ignoredExtensions _headerIsIgnored) + if (NOT _headerIsIgnored) + list (APPEND _selectedIncludes "${_headerFile}") + else() + # fix header's inside status on stack, it is ignored by extension now + list (REMOVE_AT _headerIsInsideStack -1) + list (APPEND _headerIsInsideStack TRUE) + endif() + endif() + if (COTIRE_DEBUG) + message (STATUS "${_headerFile} ${_ignoredExtensions} ${_headerIsIgnored}") + endif() + endif() + endif() + else() + if (MSVC) + # for cl.exe do not keep unparsed lines which solely consist of a source file name + string (FIND "${_sourceFiles}" "${_line}" _index) + if (_index LESS 0) + list (APPEND _unparsedLines "${_line}") + endif() + else() + list (APPEND _unparsedLines "${_line}") + endif() + endif() + endif() + endforeach() + list (REMOVE_DUPLICATES _selectedIncludes) + set (${_selectedIncludesVar} ${_selectedIncludes} PARENT_SCOPE) + set (${_unparsedLinesVar} ${_unparsedLines} PARENT_SCOPE) +endfunction() + +function (cotire_scan_includes _includesVar) + set(_options "") + set(_oneValueArgs COMPILER_ID COMPILER_EXECUTABLE COMPILER_ARG1 COMPILER_VERSION LANGUAGE UNPARSED_LINES SCAN_RESULT) + set(_multiValueArgs COMPILE_DEFINITIONS COMPILE_FLAGS INCLUDE_DIRECTORIES SYSTEM_INCLUDE_DIRECTORIES + IGNORE_PATH INCLUDE_PATH IGNORE_EXTENSIONS INCLUDE_PRIORITY_PATH COMPILER_LAUNCHER) + cmake_parse_arguments(_option "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN}) + set (_sourceFiles ${_option_UNPARSED_ARGUMENTS}) + if (NOT _option_LANGUAGE) + set (_option_LANGUAGE "CXX") + endif() + if (NOT _option_COMPILER_ID) + set (_option_COMPILER_ID "${CMAKE_${_option_LANGUAGE}_ID}") + endif() + if (NOT _option_COMPILER_VERSION) + set (_option_COMPILER_VERSION "${CMAKE_${_option_LANGUAGE}_COMPILER_VERSION}") + endif() + cotire_init_compile_cmd(_cmd "${_option_LANGUAGE}" "${_option_COMPILER_LAUNCHER}" "${_option_COMPILER_EXECUTABLE}" "${_option_COMPILER_ARG1}") + cotire_add_definitions_to_cmd(_cmd "${_option_LANGUAGE}" ${_option_COMPILE_DEFINITIONS}) + cotire_add_compile_flags_to_cmd(_cmd ${_option_COMPILE_FLAGS}) + cotire_add_includes_to_cmd(_cmd "${_option_LANGUAGE}" _option_INCLUDE_DIRECTORIES _option_SYSTEM_INCLUDE_DIRECTORIES) + cotire_add_frameworks_to_cmd(_cmd "${_option_LANGUAGE}" _option_INCLUDE_DIRECTORIES _option_SYSTEM_INCLUDE_DIRECTORIES) + cotire_add_makedep_flags("${_option_LANGUAGE}" "${_option_COMPILER_ID}" "${_option_COMPILER_VERSION}" _cmd) + # only consider existing source files for scanning + set (_existingSourceFiles "") + foreach (_sourceFile ${_sourceFiles}) + if (EXISTS "${_sourceFile}") + list (APPEND _existingSourceFiles "${_sourceFile}") + endif() + endforeach() + if (NOT _existingSourceFiles) + set (${_includesVar} "" PARENT_SCOPE) + return() + endif() + list (APPEND _cmd ${_existingSourceFiles}) + if (COTIRE_VERBOSE) + message (STATUS "execute_process: ${_cmd}") + endif() + if (_option_COMPILER_ID MATCHES "MSVC") + # cl.exe messes with the output streams unless the environment variable VS_UNICODE_OUTPUT is cleared + unset (ENV{VS_UNICODE_OUTPUT}) + endif() + execute_process( + COMMAND ${_cmd} + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" + RESULT_VARIABLE _result + OUTPUT_QUIET + ERROR_VARIABLE _output) + if (_result) + message (STATUS "Result ${_result} scanning includes of ${_existingSourceFiles}.") + endif() + cotire_parse_includes( + "${_option_LANGUAGE}" "${_output}" + "${_option_IGNORE_PATH}" "${_option_INCLUDE_PATH}" + "${_option_IGNORE_EXTENSIONS}" + _includes _unparsedLines + ${_sourceFiles}) + if (_option_INCLUDE_PRIORITY_PATH) + set (_sortedIncludes "") + foreach (_priorityPath ${_option_INCLUDE_PRIORITY_PATH}) + foreach (_include ${_includes}) + string (FIND ${_include} ${_priorityPath} _position) + if (_position GREATER -1) + list (APPEND _sortedIncludes ${_include}) + endif() + endforeach() + endforeach() + if (_sortedIncludes) + list (INSERT _includes 0 ${_sortedIncludes}) + list (REMOVE_DUPLICATES _includes) + endif() + endif() + set (${_includesVar} ${_includes} PARENT_SCOPE) + if (_option_UNPARSED_LINES) + set (${_option_UNPARSED_LINES} ${_unparsedLines} PARENT_SCOPE) + endif() + if (_option_SCAN_RESULT) + set (${_option_SCAN_RESULT} ${_result} PARENT_SCOPE) + endif() +endfunction() + +macro (cotire_append_undefs _contentsVar) + set (_undefs ${ARGN}) + if (_undefs) + list (REMOVE_DUPLICATES _undefs) + foreach (_definition ${_undefs}) + list (APPEND ${_contentsVar} "#undef ${_definition}") + endforeach() + endif() +endmacro() + +macro (cotire_comment_str _language _commentText _commentVar) + if ("${_language}" STREQUAL "CMAKE") + set (${_commentVar} "# ${_commentText}") + else() + set (${_commentVar} "/* ${_commentText} */") + endif() +endmacro() + +function (cotire_write_file _language _file _contents _force) + get_filename_component(_moduleName "${COTIRE_CMAKE_MODULE_FILE}" NAME) + cotire_comment_str("${_language}" "${_moduleName} ${COTIRE_CMAKE_MODULE_VERSION} generated file" _header1) + cotire_comment_str("${_language}" "${_file}" _header2) + set (_contents "${_header1}\n${_header2}\n${_contents}") + if (COTIRE_DEBUG) + message (STATUS "${_contents}") + endif() + if (_force OR NOT EXISTS "${_file}") + file (WRITE "${_file}" "${_contents}") + else() + file (READ "${_file}" _oldContents) + if (NOT "${_oldContents}" STREQUAL "${_contents}") + file (WRITE "${_file}" "${_contents}") + else() + if (COTIRE_DEBUG) + message (STATUS "${_file} unchanged") + endif() + endif() + endif() +endfunction() + +function (cotire_generate_unity_source _unityFile) + set(_options "") + set(_oneValueArgs LANGUAGE) + set(_multiValueArgs + DEPENDS SOURCES_COMPILE_DEFINITIONS + PRE_UNDEFS SOURCES_PRE_UNDEFS POST_UNDEFS SOURCES_POST_UNDEFS PROLOGUE EPILOGUE) + cmake_parse_arguments(_option "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN}) + if (_option_DEPENDS) + cotire_check_file_up_to_date(_unityFileIsUpToDate "${_unityFile}" ${_option_DEPENDS}) + if (_unityFileIsUpToDate) + return() + endif() + endif() + set (_sourceFiles ${_option_UNPARSED_ARGUMENTS}) + if (NOT _option_PRE_UNDEFS) + set (_option_PRE_UNDEFS "") + endif() + if (NOT _option_SOURCES_PRE_UNDEFS) + set (_option_SOURCES_PRE_UNDEFS "") + endif() + if (NOT _option_POST_UNDEFS) + set (_option_POST_UNDEFS "") + endif() + if (NOT _option_SOURCES_POST_UNDEFS) + set (_option_SOURCES_POST_UNDEFS "") + endif() + set (_contents "") + if (_option_PROLOGUE) + list (APPEND _contents ${_option_PROLOGUE}) + endif() + if (_option_LANGUAGE AND _sourceFiles) + if ("${_option_LANGUAGE}" STREQUAL "CXX") + list (APPEND _contents "#ifdef __cplusplus") + elseif ("${_option_LANGUAGE}" STREQUAL "C") + list (APPEND _contents "#ifndef __cplusplus") + endif() + endif() + set (_compileUndefinitions "") + foreach (_sourceFile ${_sourceFiles}) + cotire_get_source_compile_definitions( + "${_option_CONFIGURATION}" "${_option_LANGUAGE}" "${_sourceFile}" _compileDefinitions + ${_option_SOURCES_COMPILE_DEFINITIONS}) + cotire_get_source_undefs("${_sourceFile}" COTIRE_UNITY_SOURCE_PRE_UNDEFS _sourcePreUndefs ${_option_SOURCES_PRE_UNDEFS}) + cotire_get_source_undefs("${_sourceFile}" COTIRE_UNITY_SOURCE_POST_UNDEFS _sourcePostUndefs ${_option_SOURCES_POST_UNDEFS}) + if (_option_PRE_UNDEFS) + list (APPEND _compileUndefinitions ${_option_PRE_UNDEFS}) + endif() + if (_sourcePreUndefs) + list (APPEND _compileUndefinitions ${_sourcePreUndefs}) + endif() + if (_compileUndefinitions) + cotire_append_undefs(_contents ${_compileUndefinitions}) + set (_compileUndefinitions "") + endif() + if (_sourcePostUndefs) + list (APPEND _compileUndefinitions ${_sourcePostUndefs}) + endif() + if (_option_POST_UNDEFS) + list (APPEND _compileUndefinitions ${_option_POST_UNDEFS}) + endif() + foreach (_definition ${_compileDefinitions}) + if (_definition MATCHES "^([a-zA-Z0-9_]+)=(.+)$") + list (APPEND _contents "#define ${CMAKE_MATCH_1} ${CMAKE_MATCH_2}") + list (INSERT _compileUndefinitions 0 "${CMAKE_MATCH_1}") + else() + list (APPEND _contents "#define ${_definition}") + list (INSERT _compileUndefinitions 0 "${_definition}") + endif() + endforeach() + # use absolute path as source file location + get_filename_component(_sourceFileLocation "${_sourceFile}" ABSOLUTE) + if (WIN32) + file (TO_NATIVE_PATH "${_sourceFileLocation}" _sourceFileLocation) + endif() + list (APPEND _contents "#include \"${_sourceFileLocation}\"") + endforeach() + if (_compileUndefinitions) + cotire_append_undefs(_contents ${_compileUndefinitions}) + set (_compileUndefinitions "") + endif() + if (_option_LANGUAGE AND _sourceFiles) + list (APPEND _contents "#endif") + endif() + if (_option_EPILOGUE) + list (APPEND _contents ${_option_EPILOGUE}) + endif() + list (APPEND _contents "") + string (REPLACE ";" "\n" _contents "${_contents}") + if (COTIRE_VERBOSE) + message ("${_contents}") + endif() + cotire_write_file("${_option_LANGUAGE}" "${_unityFile}" "${_contents}" TRUE) +endfunction() + +function (cotire_generate_prefix_header _prefixFile) + set(_options "") + set(_oneValueArgs LANGUAGE COMPILER_EXECUTABLE COMPILER_ARG1 COMPILER_ID COMPILER_VERSION) + set(_multiValueArgs DEPENDS COMPILE_DEFINITIONS COMPILE_FLAGS + INCLUDE_DIRECTORIES SYSTEM_INCLUDE_DIRECTORIES IGNORE_PATH INCLUDE_PATH + IGNORE_EXTENSIONS INCLUDE_PRIORITY_PATH COMPILER_LAUNCHER) + cmake_parse_arguments(_option "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN}) + if (NOT _option_COMPILER_ID) + set (_option_COMPILER_ID "${CMAKE_${_option_LANGUAGE}_ID}") + endif() + if (NOT _option_COMPILER_VERSION) + set (_option_COMPILER_VERSION "${CMAKE_${_option_LANGUAGE}_COMPILER_VERSION}") + endif() + if (_option_DEPENDS) + cotire_check_file_up_to_date(_prefixFileIsUpToDate "${_prefixFile}" ${_option_DEPENDS}) + if (_prefixFileIsUpToDate) + # create empty log file + set (_unparsedLinesFile "${_prefixFile}.log") + file (WRITE "${_unparsedLinesFile}" "") + return() + endif() + endif() + set (_prologue "") + set (_epilogue "") + if (_option_COMPILER_ID MATCHES "Clang") + set (_prologue "#pragma clang system_header") + elseif (_option_COMPILER_ID MATCHES "GNU") + set (_prologue "#pragma GCC system_header") + elseif (_option_COMPILER_ID MATCHES "MSVC") + set (_prologue "#pragma warning(push, 0)") + set (_epilogue "#pragma warning(pop)") + elseif (_option_COMPILER_ID MATCHES "Intel") + # Intel compiler requires hdrstop pragma to stop generating PCH file + set (_epilogue "#pragma hdrstop") + endif() + set (_sourceFiles ${_option_UNPARSED_ARGUMENTS}) + cotire_scan_includes(_selectedHeaders ${_sourceFiles} + LANGUAGE "${_option_LANGUAGE}" + COMPILER_LAUNCHER "${_option_COMPILER_LAUNCHER}" + COMPILER_EXECUTABLE "${_option_COMPILER_EXECUTABLE}" + COMPILER_ARG1 "${_option_COMPILER_ARG1}" + COMPILER_ID "${_option_COMPILER_ID}" + COMPILER_VERSION "${_option_COMPILER_VERSION}" + COMPILE_DEFINITIONS ${_option_COMPILE_DEFINITIONS} + COMPILE_FLAGS ${_option_COMPILE_FLAGS} + INCLUDE_DIRECTORIES ${_option_INCLUDE_DIRECTORIES} + SYSTEM_INCLUDE_DIRECTORIES ${_option_SYSTEM_INCLUDE_DIRECTORIES} + IGNORE_PATH ${_option_IGNORE_PATH} + INCLUDE_PATH ${_option_INCLUDE_PATH} + IGNORE_EXTENSIONS ${_option_IGNORE_EXTENSIONS} + INCLUDE_PRIORITY_PATH ${_option_INCLUDE_PRIORITY_PATH} + UNPARSED_LINES _unparsedLines + SCAN_RESULT _scanResult) + cotire_generate_unity_source("${_prefixFile}" + PROLOGUE ${_prologue} EPILOGUE ${_epilogue} LANGUAGE "${_option_LANGUAGE}" ${_selectedHeaders}) + set (_unparsedLinesFile "${_prefixFile}.log") + if (_unparsedLines) + if (COTIRE_VERBOSE OR _scanResult OR NOT _selectedHeaders) + list (LENGTH _unparsedLines _skippedLineCount) + message (STATUS "${_skippedLineCount} line(s) skipped, see ${_unparsedLinesFile}") + endif() + string (REPLACE ";" "\n" _unparsedLines "${_unparsedLines}") + endif() + file (WRITE "${_unparsedLinesFile}" "${_unparsedLines}") +endfunction() + +function (cotire_add_makedep_flags _language _compilerID _compilerVersion _flagsVar) + set (_flags ${${_flagsVar}}) + if (_compilerID MATCHES "MSVC") + # cl.exe options used + # /nologo suppresses display of sign-on banner + # /TC treat all files named on the command line as C source files + # /TP treat all files named on the command line as C++ source files + # /EP preprocess to stdout without #line directives + # /showIncludes list include files + set (_sourceFileTypeC "/TC") + set (_sourceFileTypeCXX "/TP") + if (_flags) + # append to list + list (APPEND _flags /nologo "${_sourceFileType${_language}}" /EP /showIncludes) + else() + # return as a flag string + set (_flags "${_sourceFileType${_language}} /EP /showIncludes") + endif() + elseif (_compilerID MATCHES "GNU") + # GCC options used + # -H print the name of each header file used + # -E invoke preprocessor + # -fdirectives-only do not expand macros, requires GCC >= 4.3 + if (_flags) + # append to list + list (APPEND _flags -H -E) + if (NOT "${_compilerVersion}" VERSION_LESS "4.3.0") + list (APPEND _flags "-fdirectives-only") + endif() + else() + # return as a flag string + set (_flags "-H -E") + if (NOT "${_compilerVersion}" VERSION_LESS "4.3.0") + set (_flags "${_flags} -fdirectives-only") + endif() + endif() + elseif (_compilerID MATCHES "Clang") + # Clang options used + # -H print the name of each header file used + # -E invoke preprocessor + # -fno-color-diagnostics don't prints diagnostics in color + if (_flags) + # append to list + list (APPEND _flags -H -E -fno-color-diagnostics) + else() + # return as a flag string + set (_flags "-H -E -fno-color-diagnostics") + endif() + elseif (_compilerID MATCHES "Intel") + if (WIN32) + # Windows Intel options used + # /nologo do not display compiler version information + # /QH display the include file order + # /EP preprocess to stdout, omitting #line directives + # /TC process all source or unrecognized file types as C source files + # /TP process all source or unrecognized file types as C++ source files + set (_sourceFileTypeC "/TC") + set (_sourceFileTypeCXX "/TP") + if (_flags) + # append to list + list (APPEND _flags /nologo "${_sourceFileType${_language}}" /EP /QH) + else() + # return as a flag string + set (_flags "${_sourceFileType${_language}} /EP /QH") + endif() + else() + # Linux / Mac OS X Intel options used + # -H print the name of each header file used + # -EP preprocess to stdout, omitting #line directives + # -Kc++ process all source or unrecognized file types as C++ source files + if (_flags) + # append to list + if ("${_language}" STREQUAL "CXX") + list (APPEND _flags -Kc++) + endif() + list (APPEND _flags -H -EP) + else() + # return as a flag string + if ("${_language}" STREQUAL "CXX") + set (_flags "-Kc++ ") + endif() + set (_flags "${_flags}-H -EP") + endif() + endif() + else() + message (FATAL_ERROR "cotire: unsupported ${_language} compiler ${_compilerID} version ${_compilerVersion}.") + endif() + set (${_flagsVar} ${_flags} PARENT_SCOPE) +endfunction() + +function (cotire_add_pch_compilation_flags _language _compilerID _compilerVersion _prefixFile _pchFile _hostFile _flagsVar) + set (_flags ${${_flagsVar}}) + if (_compilerID MATCHES "MSVC") + file (TO_NATIVE_PATH "${_prefixFile}" _prefixFileNative) + file (TO_NATIVE_PATH "${_pchFile}" _pchFileNative) + file (TO_NATIVE_PATH "${_hostFile}" _hostFileNative) + # cl.exe options used + # /Yc creates a precompiled header file + # /Fp specifies precompiled header binary file name + # /FI forces inclusion of file + # /TC treat all files named on the command line as C source files + # /TP treat all files named on the command line as C++ source files + # /Zs syntax check only + # /Zm precompiled header memory allocation scaling factor + set (_sourceFileTypeC "/TC") + set (_sourceFileTypeCXX "/TP") + if (_flags) + # append to list + list (APPEND _flags /nologo "${_sourceFileType${_language}}" + "/Yc${_prefixFileNative}" "/Fp${_pchFileNative}" "/FI${_prefixFileNative}" /Zs "${_hostFileNative}") + if (COTIRE_PCH_MEMORY_SCALING_FACTOR) + list (APPEND _flags "/Zm${COTIRE_PCH_MEMORY_SCALING_FACTOR}") + endif() + else() + # return as a flag string + set (_flags "/Yc\"${_prefixFileNative}\" /Fp\"${_pchFileNative}\" /FI\"${_prefixFileNative}\"") + if (COTIRE_PCH_MEMORY_SCALING_FACTOR) + set (_flags "${_flags} /Zm${COTIRE_PCH_MEMORY_SCALING_FACTOR}") + endif() + endif() + elseif (_compilerID MATCHES "GNU|Clang") + # GCC / Clang options used + # -x specify the source language + # -c compile but do not link + # -o place output in file + # note that we cannot use -w to suppress all warnings upon pre-compiling, because turning off a warning may + # alter compile flags as a side effect (e.g., -Wwrite-string implies -fconst-strings) + set (_xLanguage_C "c-header") + set (_xLanguage_CXX "c++-header") + if (_flags) + # append to list + list (APPEND _flags "-x" "${_xLanguage_${_language}}" "-c" "${_prefixFile}" -o "${_pchFile}") + else() + # return as a flag string + set (_flags "-x ${_xLanguage_${_language}} -c \"${_prefixFile}\" -o \"${_pchFile}\"") + endif() + elseif (_compilerID MATCHES "Intel") + if (WIN32) + file (TO_NATIVE_PATH "${_prefixFile}" _prefixFileNative) + file (TO_NATIVE_PATH "${_pchFile}" _pchFileNative) + file (TO_NATIVE_PATH "${_hostFile}" _hostFileNative) + # Windows Intel options used + # /nologo do not display compiler version information + # /Yc create a precompiled header (PCH) file + # /Fp specify a path or file name for precompiled header files + # /FI tells the preprocessor to include a specified file name as the header file + # /TC process all source or unrecognized file types as C source files + # /TP process all source or unrecognized file types as C++ source files + # /Zs syntax check only + # /Wpch-messages enable diagnostics related to pre-compiled headers (requires Intel XE 2013 Update 2) + set (_sourceFileTypeC "/TC") + set (_sourceFileTypeCXX "/TP") + if (_flags) + # append to list + list (APPEND _flags /nologo "${_sourceFileType${_language}}" + "/Yc" "/Fp${_pchFileNative}" "/FI${_prefixFileNative}" /Zs "${_hostFileNative}") + if (NOT "${_compilerVersion}" VERSION_LESS "13.1.0") + list (APPEND _flags "/Wpch-messages") + endif() + else() + # return as a flag string + set (_flags "/Yc /Fp\"${_pchFileNative}\" /FI\"${_prefixFileNative}\"") + if (NOT "${_compilerVersion}" VERSION_LESS "13.1.0") + set (_flags "${_flags} /Wpch-messages") + endif() + endif() + else() + # Linux / Mac OS X Intel options used + # -pch-dir location for precompiled header files + # -pch-create name of the precompiled header (PCH) to create + # -Kc++ process all source or unrecognized file types as C++ source files + # -fsyntax-only check only for correct syntax + # -Wpch-messages enable diagnostics related to pre-compiled headers (requires Intel XE 2013 Update 2) + get_filename_component(_pchDir "${_pchFile}" DIRECTORY) + get_filename_component(_pchName "${_pchFile}" NAME) + set (_xLanguage_C "c-header") + set (_xLanguage_CXX "c++-header") + if (_flags) + # append to list + if ("${_language}" STREQUAL "CXX") + list (APPEND _flags -Kc++) + endif() + list (APPEND _flags "-include" "${_prefixFile}" "-pch-dir" "${_pchDir}" "-pch-create" "${_pchName}" "-fsyntax-only" "${_hostFile}") + if (NOT "${_compilerVersion}" VERSION_LESS "13.1.0") + list (APPEND _flags "-Wpch-messages") + endif() + else() + # return as a flag string + set (_flags "-include \"${_prefixFile}\" -pch-dir \"${_pchDir}\" -pch-create \"${_pchName}\"") + if (NOT "${_compilerVersion}" VERSION_LESS "13.1.0") + set (_flags "${_flags} -Wpch-messages") + endif() + endif() + endif() + else() + message (FATAL_ERROR "cotire: unsupported ${_language} compiler ${_compilerID} version ${_compilerVersion}.") + endif() + set (${_flagsVar} ${_flags} PARENT_SCOPE) +endfunction() + +function (cotire_add_prefix_pch_inclusion_flags _language _compilerID _compilerVersion _prefixFile _pchFile _flagsVar) + set (_flags ${${_flagsVar}}) + if (_compilerID MATCHES "MSVC") + file (TO_NATIVE_PATH "${_prefixFile}" _prefixFileNative) + # cl.exe options used + # /Yu uses a precompiled header file during build + # /Fp specifies precompiled header binary file name + # /FI forces inclusion of file + # /Zm precompiled header memory allocation scaling factor + if (_pchFile) + file (TO_NATIVE_PATH "${_pchFile}" _pchFileNative) + if (_flags) + # append to list + list (APPEND _flags "/Yu${_prefixFileNative}" "/Fp${_pchFileNative}" "/FI${_prefixFileNative}") + if (COTIRE_PCH_MEMORY_SCALING_FACTOR) + list (APPEND _flags "/Zm${COTIRE_PCH_MEMORY_SCALING_FACTOR}") + endif() + else() + # return as a flag string + set (_flags "/Yu\"${_prefixFileNative}\" /Fp\"${_pchFileNative}\" /FI\"${_prefixFileNative}\"") + if (COTIRE_PCH_MEMORY_SCALING_FACTOR) + set (_flags "${_flags} /Zm${COTIRE_PCH_MEMORY_SCALING_FACTOR}") + endif() + endif() + else() + # no precompiled header, force inclusion of prefix header + if (_flags) + # append to list + list (APPEND _flags "/FI${_prefixFileNative}") + else() + # return as a flag string + set (_flags "/FI\"${_prefixFileNative}\"") + endif() + endif() + elseif (_compilerID MATCHES "GNU") + # GCC options used + # -include process include file as the first line of the primary source file + # -Winvalid-pch warns if precompiled header is found but cannot be used + # note: ccache requires the -include flag to be used in order to process precompiled header correctly + if (_flags) + # append to list + list (APPEND _flags "-Winvalid-pch" "-include" "${_prefixFile}") + else() + # return as a flag string + set (_flags "-Winvalid-pch -include \"${_prefixFile}\"") + endif() + elseif (_compilerID MATCHES "Clang") + # Clang options used + # -include process include file as the first line of the primary source file + # -include-pch include precompiled header file + # -Qunused-arguments don't emit warning for unused driver arguments + # note: ccache requires the -include flag to be used in order to process precompiled header correctly + if (_flags) + # append to list + list (APPEND _flags "-Qunused-arguments" "-include" "${_prefixFile}") + else() + # return as a flag string + set (_flags "-Qunused-arguments -include \"${_prefixFile}\"") + endif() + elseif (_compilerID MATCHES "Intel") + if (WIN32) + file (TO_NATIVE_PATH "${_prefixFile}" _prefixFileNative) + # Windows Intel options used + # /Yu use a precompiled header (PCH) file + # /Fp specify a path or file name for precompiled header files + # /FI tells the preprocessor to include a specified file name as the header file + # /Wpch-messages enable diagnostics related to pre-compiled headers (requires Intel XE 2013 Update 2) + if (_pchFile) + file (TO_NATIVE_PATH "${_pchFile}" _pchFileNative) + if (_flags) + # append to list + list (APPEND _flags "/Yu" "/Fp${_pchFileNative}" "/FI${_prefixFileNative}") + if (NOT "${_compilerVersion}" VERSION_LESS "13.1.0") + list (APPEND _flags "/Wpch-messages") + endif() + else() + # return as a flag string + set (_flags "/Yu /Fp\"${_pchFileNative}\" /FI\"${_prefixFileNative}\"") + if (NOT "${_compilerVersion}" VERSION_LESS "13.1.0") + set (_flags "${_flags} /Wpch-messages") + endif() + endif() + else() + # no precompiled header, force inclusion of prefix header + if (_flags) + # append to list + list (APPEND _flags "/FI${_prefixFileNative}") + else() + # return as a flag string + set (_flags "/FI\"${_prefixFileNative}\"") + endif() + endif() + else() + # Linux / Mac OS X Intel options used + # -pch-dir location for precompiled header files + # -pch-use name of the precompiled header (PCH) to use + # -include process include file as the first line of the primary source file + # -Wpch-messages enable diagnostics related to pre-compiled headers (requires Intel XE 2013 Update 2) + if (_pchFile) + get_filename_component(_pchDir "${_pchFile}" DIRECTORY) + get_filename_component(_pchName "${_pchFile}" NAME) + if (_flags) + # append to list + list (APPEND _flags "-include" "${_prefixFile}" "-pch-dir" "${_pchDir}" "-pch-use" "${_pchName}") + if (NOT "${_compilerVersion}" VERSION_LESS "13.1.0") + list (APPEND _flags "-Wpch-messages") + endif() + else() + # return as a flag string + set (_flags "-include \"${_prefixFile}\" -pch-dir \"${_pchDir}\" -pch-use \"${_pchName}\"") + if (NOT "${_compilerVersion}" VERSION_LESS "13.1.0") + set (_flags "${_flags} -Wpch-messages") + endif() + endif() + else() + # no precompiled header, force inclusion of prefix header + if (_flags) + # append to list + list (APPEND _flags "-include" "${_prefixFile}") + else() + # return as a flag string + set (_flags "-include \"${_prefixFile}\"") + endif() + endif() + endif() + else() + message (FATAL_ERROR "cotire: unsupported ${_language} compiler ${_compilerID} version ${_compilerVersion}.") + endif() + set (${_flagsVar} ${_flags} PARENT_SCOPE) +endfunction() + +function (cotire_precompile_prefix_header _prefixFile _pchFile _hostFile) + set(_options "") + set(_oneValueArgs COMPILER_EXECUTABLE COMPILER_ARG1 COMPILER_ID COMPILER_VERSION LANGUAGE) + set(_multiValueArgs COMPILE_DEFINITIONS COMPILE_FLAGS INCLUDE_DIRECTORIES SYSTEM_INCLUDE_DIRECTORIES SYS COMPILER_LAUNCHER) + cmake_parse_arguments(_option "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN}) + if (NOT _option_LANGUAGE) + set (_option_LANGUAGE "CXX") + endif() + if (NOT _option_COMPILER_ID) + set (_option_COMPILER_ID "${CMAKE_${_option_LANGUAGE}_ID}") + endif() + if (NOT _option_COMPILER_VERSION) + set (_option_COMPILER_VERSION "${CMAKE_${_option_LANGUAGE}_COMPILER_VERSION}") + endif() + cotire_init_compile_cmd(_cmd "${_option_LANGUAGE}" "${_option_COMPILER_LAUNCHER}" "${_option_COMPILER_EXECUTABLE}" "${_option_COMPILER_ARG1}") + cotire_add_definitions_to_cmd(_cmd "${_option_LANGUAGE}" ${_option_COMPILE_DEFINITIONS}) + cotire_add_compile_flags_to_cmd(_cmd ${_option_COMPILE_FLAGS}) + cotire_add_includes_to_cmd(_cmd "${_option_LANGUAGE}" _option_INCLUDE_DIRECTORIES _option_SYSTEM_INCLUDE_DIRECTORIES) + cotire_add_frameworks_to_cmd(_cmd "${_option_LANGUAGE}" _option_INCLUDE_DIRECTORIES _option_SYSTEM_INCLUDE_DIRECTORIES) + cotire_add_pch_compilation_flags( + "${_option_LANGUAGE}" "${_option_COMPILER_ID}" "${_option_COMPILER_VERSION}" + "${_prefixFile}" "${_pchFile}" "${_hostFile}" _cmd) + if (COTIRE_VERBOSE) + message (STATUS "execute_process: ${_cmd}") + endif() + if (_option_COMPILER_ID MATCHES "MSVC") + # cl.exe messes with the output streams unless the environment variable VS_UNICODE_OUTPUT is cleared + unset (ENV{VS_UNICODE_OUTPUT}) + endif() + execute_process( + COMMAND ${_cmd} + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" + RESULT_VARIABLE _result) + if (_result) + message (FATAL_ERROR "cotire: error ${_result} precompiling ${_prefixFile}.") + endif() +endfunction() + +function (cotire_check_precompiled_header_support _language _target _msgVar) + set (_unsupportedCompiler + "Precompiled headers not supported for ${_language} compiler ${CMAKE_${_language}_COMPILER_ID}") + if (CMAKE_${_language}_COMPILER_ID MATCHES "MSVC") + # supported since Visual Studio C++ 6.0 + # and CMake does not support an earlier version + set (${_msgVar} "" PARENT_SCOPE) + elseif (CMAKE_${_language}_COMPILER_ID MATCHES "GNU") + # GCC PCH support requires version >= 3.4 + if ("${CMAKE_${_language}_COMPILER_VERSION}" VERSION_LESS "3.4.0") + set (${_msgVar} "${_unsupportedCompiler} version ${CMAKE_${_language}_COMPILER_VERSION}." PARENT_SCOPE) + else() + set (${_msgVar} "" PARENT_SCOPE) + endif() + elseif (CMAKE_${_language}_COMPILER_ID MATCHES "Clang") + # all Clang versions have PCH support + set (${_msgVar} "" PARENT_SCOPE) + elseif (CMAKE_${_language}_COMPILER_ID MATCHES "Intel") + # Intel PCH support requires version >= 8.0.0 + if ("${CMAKE_${_language}_COMPILER_VERSION}" VERSION_LESS "8.0.0") + set (${_msgVar} "${_unsupportedCompiler} version ${CMAKE_${_language}_COMPILER_VERSION}." PARENT_SCOPE) + else() + set (${_msgVar} "" PARENT_SCOPE) + endif() + else() + set (${_msgVar} "${_unsupportedCompiler}." PARENT_SCOPE) + endif() + get_target_property(_launcher ${_target} ${_language}_COMPILER_LAUNCHER) + if (CMAKE_${_language}_COMPILER MATCHES "ccache" OR _launcher MATCHES "ccache") + if (DEFINED ENV{CCACHE_SLOPPINESS}) + if (NOT "$ENV{CCACHE_SLOPPINESS}" MATCHES "pch_defines" OR NOT "$ENV{CCACHE_SLOPPINESS}" MATCHES "time_macros") + set (${_msgVar} + "ccache requires the environment variable CCACHE_SLOPPINESS to be set to \"pch_defines,time_macros\"." + PARENT_SCOPE) + endif() + else() + if (_launcher MATCHES "ccache") + get_filename_component(_ccacheExe "${_launcher}" REALPATH) + else() + get_filename_component(_ccacheExe "${CMAKE_${_language}_COMPILER}" REALPATH) + endif() + execute_process( + COMMAND "${_ccacheExe}" "--print-config" + WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" + RESULT_VARIABLE _result + OUTPUT_VARIABLE _ccacheConfig OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_QUIET) + if (_result OR NOT + _ccacheConfig MATCHES "sloppiness.*=.*time_macros" OR NOT + _ccacheConfig MATCHES "sloppiness.*=.*pch_defines") + set (${_msgVar} + "ccache requires configuration setting \"sloppiness\" to be set to \"pch_defines,time_macros\"." + PARENT_SCOPE) + endif() + endif() + endif() + if (APPLE) + # PCH compilation not supported by GCC / Clang for multi-architecture builds (e.g., i386, x86_64) + cotire_get_configuration_types(_configs) + foreach (_config ${_configs}) + set (_targetFlags "") + cotire_get_target_compile_flags("${_config}" "${_language}" "${_target}" _targetFlags) + cotire_filter_compile_flags("${_language}" "arch" _architectures _ignore ${_targetFlags}) + list (LENGTH _architectures _numberOfArchitectures) + if (_numberOfArchitectures GREATER 1) + string (REPLACE ";" ", " _architectureStr "${_architectures}") + set (${_msgVar} + "Precompiled headers not supported on Darwin for multi-architecture builds (${_architectureStr})." + PARENT_SCOPE) + break() + endif() + endforeach() + endif() +endfunction() + +macro (cotire_get_intermediate_dir _cotireDir) + # ${CMAKE_CFG_INTDIR} may reference a build-time variable when using a generator which supports configuration types + get_filename_component(${_cotireDir} "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${COTIRE_INTDIR}" ABSOLUTE) +endmacro() + +macro (cotire_setup_file_extension_variables) + set (_unityFileExt_C ".c") + set (_unityFileExt_CXX ".cxx") + set (_prefixFileExt_C ".h") + set (_prefixFileExt_CXX ".hxx") + set (_prefixSourceFileExt_C ".c") + set (_prefixSourceFileExt_CXX ".cxx") +endmacro() + +function (cotire_make_single_unity_source_file_path _language _target _unityFileVar) + cotire_setup_file_extension_variables() + if (NOT DEFINED _unityFileExt_${_language}) + set (${_unityFileVar} "" PARENT_SCOPE) + return() + endif() + set (_unityFileBaseName "${_target}_${_language}${COTIRE_UNITY_SOURCE_FILENAME_SUFFIX}") + set (_unityFileName "${_unityFileBaseName}${_unityFileExt_${_language}}") + cotire_get_intermediate_dir(_baseDir) + set (_unityFile "${_baseDir}/${_unityFileName}") + set (${_unityFileVar} "${_unityFile}" PARENT_SCOPE) +endfunction() + +function (cotire_make_unity_source_file_paths _language _target _maxIncludes _unityFilesVar) + cotire_setup_file_extension_variables() + if (NOT DEFINED _unityFileExt_${_language}) + set (${_unityFileVar} "" PARENT_SCOPE) + return() + endif() + set (_unityFileBaseName "${_target}_${_language}${COTIRE_UNITY_SOURCE_FILENAME_SUFFIX}") + cotire_get_intermediate_dir(_baseDir) + set (_startIndex 0) + set (_index 0) + set (_unityFiles "") + set (_sourceFiles ${ARGN}) + foreach (_sourceFile ${_sourceFiles}) + get_source_file_property(_startNew "${_sourceFile}" COTIRE_START_NEW_UNITY_SOURCE) + math (EXPR _unityFileCount "${_index} - ${_startIndex}") + if (_startNew OR (_maxIncludes GREATER 0 AND NOT _unityFileCount LESS _maxIncludes)) + if (_index GREATER 0) + # start new unity file segment + math (EXPR _endIndex "${_index} - 1") + set (_unityFileName "${_unityFileBaseName}_${_startIndex}_${_endIndex}${_unityFileExt_${_language}}") + list (APPEND _unityFiles "${_baseDir}/${_unityFileName}") + endif() + set (_startIndex ${_index}) + endif() + math (EXPR _index "${_index} + 1") + endforeach() + list (LENGTH _sourceFiles _numberOfSources) + if (_startIndex EQUAL 0) + # there is only a single unity file + cotire_make_single_unity_source_file_path(${_language} ${_target} _unityFiles) + elseif (_startIndex LESS _numberOfSources) + # end with final unity file segment + math (EXPR _endIndex "${_index} - 1") + set (_unityFileName "${_unityFileBaseName}_${_startIndex}_${_endIndex}${_unityFileExt_${_language}}") + list (APPEND _unityFiles "${_baseDir}/${_unityFileName}") + endif() + set (${_unityFilesVar} ${_unityFiles} PARENT_SCOPE) + if (COTIRE_DEBUG AND _unityFiles) + message (STATUS "unity files: ${_unityFiles}") + endif() +endfunction() + +function (cotire_unity_to_prefix_file_path _language _target _unityFile _prefixFileVar) + cotire_setup_file_extension_variables() + if (NOT DEFINED _unityFileExt_${_language}) + set (${_prefixFileVar} "" PARENT_SCOPE) + return() + endif() + set (_unityFileBaseName "${_target}_${_language}${COTIRE_UNITY_SOURCE_FILENAME_SUFFIX}") + set (_prefixFileBaseName "${_target}_${_language}${COTIRE_PREFIX_HEADER_FILENAME_SUFFIX}") + string (REPLACE "${_unityFileBaseName}" "${_prefixFileBaseName}" _prefixFile "${_unityFile}") + string (REGEX REPLACE "${_unityFileExt_${_language}}$" "${_prefixFileExt_${_language}}" _prefixFile "${_prefixFile}") + set (${_prefixFileVar} "${_prefixFile}" PARENT_SCOPE) +endfunction() + +function (cotire_prefix_header_to_source_file_path _language _prefixHeaderFile _prefixSourceFileVar) + cotire_setup_file_extension_variables() + if (NOT DEFINED _prefixSourceFileExt_${_language}) + set (${_prefixSourceFileVar} "" PARENT_SCOPE) + return() + endif() + string (REGEX REPLACE "${_prefixFileExt_${_language}}$" "${_prefixSourceFileExt_${_language}}" _prefixSourceFile "${_prefixHeaderFile}") + set (${_prefixSourceFileVar} "${_prefixSourceFile}" PARENT_SCOPE) +endfunction() + +function (cotire_make_prefix_file_name _language _target _prefixFileBaseNameVar _prefixFileNameVar) + cotire_setup_file_extension_variables() + if (NOT _language) + set (_prefixFileBaseName "${_target}${COTIRE_PREFIX_HEADER_FILENAME_SUFFIX}") + set (_prefixFileName "${_prefixFileBaseName}${_prefixFileExt_C}") + elseif (DEFINED _prefixFileExt_${_language}) + set (_prefixFileBaseName "${_target}_${_language}${COTIRE_PREFIX_HEADER_FILENAME_SUFFIX}") + set (_prefixFileName "${_prefixFileBaseName}${_prefixFileExt_${_language}}") + else() + set (_prefixFileBaseName "") + set (_prefixFileName "") + endif() + set (${_prefixFileBaseNameVar} "${_prefixFileBaseName}" PARENT_SCOPE) + set (${_prefixFileNameVar} "${_prefixFileName}" PARENT_SCOPE) +endfunction() + +function (cotire_make_prefix_file_path _language _target _prefixFileVar) + cotire_make_prefix_file_name("${_language}" "${_target}" _prefixFileBaseName _prefixFileName) + set (${_prefixFileVar} "" PARENT_SCOPE) + if (_prefixFileName) + if (NOT _language) + set (_language "C") + endif() + if (CMAKE_${_language}_COMPILER_ID MATCHES "GNU|Clang|Intel|MSVC") + cotire_get_intermediate_dir(_baseDir) + set (${_prefixFileVar} "${_baseDir}/${_prefixFileName}" PARENT_SCOPE) + endif() + endif() +endfunction() + +function (cotire_make_pch_file_path _language _target _pchFileVar) + cotire_make_prefix_file_name("${_language}" "${_target}" _prefixFileBaseName _prefixFileName) + set (${_pchFileVar} "" PARENT_SCOPE) + if (_prefixFileBaseName AND _prefixFileName) + cotire_check_precompiled_header_support("${_language}" "${_target}" _msg) + if (NOT _msg) + if (XCODE) + # For Xcode, we completely hand off the compilation of the prefix header to the IDE + return() + endif() + cotire_get_intermediate_dir(_baseDir) + if (CMAKE_${_language}_COMPILER_ID MATCHES "MSVC") + # MSVC uses the extension .pch added to the prefix header base name + set (${_pchFileVar} "${_baseDir}/${_prefixFileBaseName}.pch" PARENT_SCOPE) + elseif (CMAKE_${_language}_COMPILER_ID MATCHES "Clang") + # Clang looks for a precompiled header corresponding to the prefix header with the extension .pch appended + set (${_pchFileVar} "${_baseDir}/${_prefixFileName}.pch" PARENT_SCOPE) + elseif (CMAKE_${_language}_COMPILER_ID MATCHES "GNU") + # GCC looks for a precompiled header corresponding to the prefix header with the extension .gch appended + set (${_pchFileVar} "${_baseDir}/${_prefixFileName}.gch" PARENT_SCOPE) + elseif (CMAKE_${_language}_COMPILER_ID MATCHES "Intel") + # Intel uses the extension .pchi added to the prefix header base name + set (${_pchFileVar} "${_baseDir}/${_prefixFileBaseName}.pchi" PARENT_SCOPE) + endif() + endif() + endif() +endfunction() + +function (cotire_select_unity_source_files _unityFile _sourcesVar) + set (_sourceFiles ${ARGN}) + if (_sourceFiles AND "${_unityFile}" MATCHES "${COTIRE_UNITY_SOURCE_FILENAME_SUFFIX}_([0-9]+)_([0-9]+)") + set (_startIndex ${CMAKE_MATCH_1}) + set (_endIndex ${CMAKE_MATCH_2}) + list (LENGTH _sourceFiles _numberOfSources) + if (NOT _startIndex LESS _numberOfSources) + math (EXPR _startIndex "${_numberOfSources} - 1") + endif() + if (NOT _endIndex LESS _numberOfSources) + math (EXPR _endIndex "${_numberOfSources} - 1") + endif() + set (_files "") + foreach (_index RANGE ${_startIndex} ${_endIndex}) + list (GET _sourceFiles ${_index} _file) + list (APPEND _files "${_file}") + endforeach() + else() + set (_files ${_sourceFiles}) + endif() + set (${_sourcesVar} ${_files} PARENT_SCOPE) +endfunction() + +function (cotire_get_unity_source_dependencies _language _target _dependencySourcesVar) + set (_dependencySources "") + # depend on target's generated source files + get_target_property(_targetSourceFiles ${_target} SOURCES) + cotire_get_objects_with_property_on(_generatedSources GENERATED SOURCE ${_targetSourceFiles}) + if (_generatedSources) + # but omit all generated source files that have the COTIRE_EXCLUDED property set to true + cotire_get_objects_with_property_on(_excludedGeneratedSources COTIRE_EXCLUDED SOURCE ${_generatedSources}) + if (_excludedGeneratedSources) + list (REMOVE_ITEM _generatedSources ${_excludedGeneratedSources}) + endif() + # and omit all generated source files that have the COTIRE_DEPENDENCY property set to false explicitly + cotire_get_objects_with_property_off(_excludedNonDependencySources COTIRE_DEPENDENCY SOURCE ${_generatedSources}) + if (_excludedNonDependencySources) + list (REMOVE_ITEM _generatedSources ${_excludedNonDependencySources}) + endif() + if (_generatedSources) + list (APPEND _dependencySources ${_generatedSources}) + endif() + endif() + if (COTIRE_DEBUG AND _dependencySources) + message (STATUS "${_language} ${_target} unity source dependencies: ${_dependencySources}") + endif() + set (${_dependencySourcesVar} ${_dependencySources} PARENT_SCOPE) +endfunction() + +function (cotire_get_prefix_header_dependencies _language _target _dependencySourcesVar) + set (_dependencySources "") + # depend on target source files marked with custom COTIRE_DEPENDENCY property + get_target_property(_targetSourceFiles ${_target} SOURCES) + cotire_get_objects_with_property_on(_dependencySources COTIRE_DEPENDENCY SOURCE ${_targetSourceFiles}) + if (COTIRE_DEBUG AND _dependencySources) + message (STATUS "${_language} ${_target} prefix header dependencies: ${_dependencySources}") + endif() + set (${_dependencySourcesVar} ${_dependencySources} PARENT_SCOPE) +endfunction() + +function (cotire_generate_target_script _language _configurations _target _targetScriptVar _targetConfigScriptVar) + set (_targetSources ${ARGN}) + cotire_get_prefix_header_dependencies(${_language} ${_target} COTIRE_TARGET_PREFIX_DEPENDS ${_targetSources}) + cotire_get_unity_source_dependencies(${_language} ${_target} COTIRE_TARGET_UNITY_DEPENDS ${_targetSources}) + # set up variables to be configured + set (COTIRE_TARGET_LANGUAGE "${_language}") + get_target_property(COTIRE_TARGET_IGNORE_PATH ${_target} COTIRE_PREFIX_HEADER_IGNORE_PATH) + cotire_add_sys_root_paths(COTIRE_TARGET_IGNORE_PATH) + get_target_property(COTIRE_TARGET_INCLUDE_PATH ${_target} COTIRE_PREFIX_HEADER_INCLUDE_PATH) + cotire_add_sys_root_paths(COTIRE_TARGET_INCLUDE_PATH) + get_target_property(COTIRE_TARGET_PRE_UNDEFS ${_target} COTIRE_UNITY_SOURCE_PRE_UNDEFS) + get_target_property(COTIRE_TARGET_POST_UNDEFS ${_target} COTIRE_UNITY_SOURCE_POST_UNDEFS) + get_target_property(COTIRE_TARGET_MAXIMUM_NUMBER_OF_INCLUDES ${_target} COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES) + get_target_property(COTIRE_TARGET_INCLUDE_PRIORITY_PATH ${_target} COTIRE_PREFIX_HEADER_INCLUDE_PRIORITY_PATH) + cotire_get_source_files_undefs(COTIRE_UNITY_SOURCE_PRE_UNDEFS COTIRE_TARGET_SOURCES_PRE_UNDEFS ${_targetSources}) + cotire_get_source_files_undefs(COTIRE_UNITY_SOURCE_POST_UNDEFS COTIRE_TARGET_SOURCES_POST_UNDEFS ${_targetSources}) + set (COTIRE_TARGET_CONFIGURATION_TYPES "${_configurations}") + foreach (_config ${_configurations}) + string (TOUPPER "${_config}" _upperConfig) + cotire_get_target_include_directories( + "${_config}" "${_language}" "${_target}" COTIRE_TARGET_INCLUDE_DIRECTORIES_${_upperConfig} COTIRE_TARGET_SYSTEM_INCLUDE_DIRECTORIES_${_upperConfig}) + cotire_get_target_compile_definitions( + "${_config}" "${_language}" "${_target}" COTIRE_TARGET_COMPILE_DEFINITIONS_${_upperConfig}) + cotire_get_target_compiler_flags( + "${_config}" "${_language}" "${_target}" COTIRE_TARGET_COMPILE_FLAGS_${_upperConfig}) + cotire_get_source_files_compile_definitions( + "${_config}" "${_language}" COTIRE_TARGET_SOURCES_COMPILE_DEFINITIONS_${_upperConfig} ${_targetSources}) + endforeach() + get_target_property(COTIRE_TARGET_${_language}_COMPILER_LAUNCHER ${_target} ${_language}_COMPILER_LAUNCHER) + # set up COTIRE_TARGET_SOURCES + set (COTIRE_TARGET_SOURCES "") + foreach (_sourceFile ${_targetSources}) + get_source_file_property(_generated "${_sourceFile}" GENERATED) + if (_generated) + # use absolute paths for generated files only, retrieving the LOCATION property is an expensive operation + get_source_file_property(_sourceLocation "${_sourceFile}" LOCATION) + list (APPEND COTIRE_TARGET_SOURCES "${_sourceLocation}") + else() + list (APPEND COTIRE_TARGET_SOURCES "${_sourceFile}") + endif() + endforeach() + # copy variable definitions to cotire target script + get_cmake_property(_vars VARIABLES) + string (REGEX MATCHALL "COTIRE_[A-Za-z0-9_]+" _matchVars "${_vars}") + # omit COTIRE_*_INIT variables + string (REGEX MATCHALL "COTIRE_[A-Za-z0-9_]+_INIT" _initVars "${_matchVars}") + if (_initVars) + list (REMOVE_ITEM _matchVars ${_initVars}) + endif() + # omit COTIRE_VERBOSE which is passed as a CMake define on command line + list (REMOVE_ITEM _matchVars COTIRE_VERBOSE) + set (_contents "") + set (_contentsHasGeneratorExpressions FALSE) + foreach (_var IN LISTS _matchVars ITEMS + XCODE MSVC CMAKE_GENERATOR CMAKE_BUILD_TYPE CMAKE_CONFIGURATION_TYPES + CMAKE_${_language}_COMPILER_ID CMAKE_${_language}_COMPILER_VERSION + CMAKE_${_language}_COMPILER_LAUNCHER CMAKE_${_language}_COMPILER CMAKE_${_language}_COMPILER_ARG1 + CMAKE_INCLUDE_FLAG_${_language} CMAKE_INCLUDE_FLAG_${_language}_SEP + CMAKE_INCLUDE_SYSTEM_FLAG_${_language} + CMAKE_${_language}_FRAMEWORK_SEARCH_FLAG + CMAKE_${_language}_SYSTEM_FRAMEWORK_SEARCH_FLAG + CMAKE_${_language}_SOURCE_FILE_EXTENSIONS) + if (DEFINED ${_var}) + string (REPLACE "\"" "\\\"" _value "${${_var}}") + set (_contents "${_contents}set (${_var} \"${_value}\")\n") + if (NOT _contentsHasGeneratorExpressions) + if ("${_value}" MATCHES "\\$<.*>") + set (_contentsHasGeneratorExpressions TRUE) + endif() + endif() + endif() + endforeach() + # generate target script file + get_filename_component(_moduleName "${COTIRE_CMAKE_MODULE_FILE}" NAME) + set (_targetCotireScript "${CMAKE_CURRENT_BINARY_DIR}/${_target}_${_language}_${_moduleName}") + cotire_write_file("CMAKE" "${_targetCotireScript}" "${_contents}" FALSE) + if (_contentsHasGeneratorExpressions) + # use file(GENERATE ...) to expand generator expressions in the target script at CMake generate-time + set (_configNameOrNoneGeneratorExpression "$<$:None>$<$>:$>") + set (_targetCotireConfigScript "${CMAKE_CURRENT_BINARY_DIR}/${_target}_${_language}_${_configNameOrNoneGeneratorExpression}_${_moduleName}") + file (GENERATE OUTPUT "${_targetCotireConfigScript}" INPUT "${_targetCotireScript}") + else() + set (_targetCotireConfigScript "${_targetCotireScript}") + endif() + set (${_targetScriptVar} "${_targetCotireScript}" PARENT_SCOPE) + set (${_targetConfigScriptVar} "${_targetCotireConfigScript}" PARENT_SCOPE) +endfunction() + +function (cotire_setup_pch_file_compilation _language _target _targetScript _prefixFile _pchFile _hostFile) + set (_sourceFiles ${ARGN}) + if (CMAKE_${_language}_COMPILER_ID MATCHES "MSVC|Intel") + # for Visual Studio and Intel, we attach the precompiled header compilation to the host file + # the remaining files include the precompiled header, see cotire_setup_pch_file_inclusion + if (_sourceFiles) + set (_flags "") + cotire_add_pch_compilation_flags( + "${_language}" "${CMAKE_${_language}_COMPILER_ID}" "${CMAKE_${_language}_COMPILER_VERSION}" + "${_prefixFile}" "${_pchFile}" "${_hostFile}" _flags) + set_property (SOURCE ${_hostFile} APPEND_STRING PROPERTY COMPILE_FLAGS " ${_flags} ") + set_property (SOURCE ${_hostFile} APPEND PROPERTY OBJECT_OUTPUTS "${_pchFile}") + # make object file generated from host file depend on prefix header + set_property (SOURCE ${_hostFile} APPEND PROPERTY OBJECT_DEPENDS "${_prefixFile}") + # mark host file as cotired to prevent it from being used in another cotired target + set_property (SOURCE ${_hostFile} PROPERTY COTIRE_TARGET "${_target}") + endif() + elseif ("${CMAKE_GENERATOR}" MATCHES "Make|Ninja") + # for makefile based generator, we add a custom command to precompile the prefix header + if (_targetScript) + cotire_set_cmd_to_prologue(_cmds) + list (APPEND _cmds -P "${COTIRE_CMAKE_MODULE_FILE}" "precompile" "${_targetScript}" "${_prefixFile}" "${_pchFile}" "${_hostFile}") + if (MSVC_IDE) + file (TO_NATIVE_PATH "${_pchFile}" _pchFileLogPath) + else() + file (RELATIVE_PATH _pchFileLogPath "${CMAKE_BINARY_DIR}" "${_pchFile}") + endif() + # make precompiled header compilation depend on the actual compiler executable used to force + # re-compilation when the compiler executable is updated. This prevents "created by a different GCC executable" + # warnings when the precompiled header is included. + get_filename_component(_realCompilerExe "${CMAKE_${_language}_COMPILER}" ABSOLUTE) + if (COTIRE_DEBUG) + message (STATUS "add_custom_command: OUTPUT ${_pchFile} ${_cmds} DEPENDS ${_prefixFile} ${_realCompilerExe} IMPLICIT_DEPENDS ${_language} ${_prefixFile}") + endif() + set_property (SOURCE "${_pchFile}" PROPERTY GENERATED TRUE) + add_custom_command( + OUTPUT "${_pchFile}" + COMMAND ${_cmds} + DEPENDS "${_prefixFile}" "${_realCompilerExe}" + IMPLICIT_DEPENDS ${_language} "${_prefixFile}" + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" + COMMENT "Building ${_language} precompiled header ${_pchFileLogPath}" + VERBATIM) + endif() + endif() +endfunction() + +function (cotire_setup_pch_file_inclusion _language _target _wholeTarget _prefixFile _pchFile _hostFile) + if (CMAKE_${_language}_COMPILER_ID MATCHES "MSVC|Intel") + # for Visual Studio and Intel, we include the precompiled header in all but the host file + # the host file does the precompiled header compilation, see cotire_setup_pch_file_compilation + set (_sourceFiles ${ARGN}) + list (LENGTH _sourceFiles _numberOfSourceFiles) + if (_numberOfSourceFiles GREATER 0) + # mark sources as cotired to prevent them from being used in another cotired target + set_source_files_properties(${_sourceFiles} PROPERTIES COTIRE_TARGET "${_target}") + set (_flags "") + cotire_add_prefix_pch_inclusion_flags( + "${_language}" "${CMAKE_${_language}_COMPILER_ID}" "${CMAKE_${_language}_COMPILER_VERSION}" + "${_prefixFile}" "${_pchFile}" _flags) + set_property (SOURCE ${_sourceFiles} APPEND_STRING PROPERTY COMPILE_FLAGS " ${_flags} ") + # make object files generated from source files depend on precompiled header + set_property (SOURCE ${_sourceFiles} APPEND PROPERTY OBJECT_DEPENDS "${_pchFile}") + endif() + elseif ("${CMAKE_GENERATOR}" MATCHES "Make|Ninja") + set (_sourceFiles ${_hostFile} ${ARGN}) + if (NOT _wholeTarget) + # for makefile based generator, we force the inclusion of the prefix header for a subset + # of the source files, if this is a multi-language target or has excluded files + set (_flags "") + cotire_add_prefix_pch_inclusion_flags( + "${_language}" "${CMAKE_${_language}_COMPILER_ID}" "${CMAKE_${_language}_COMPILER_VERSION}" + "${_prefixFile}" "${_pchFile}" _flags) + set_property (SOURCE ${_sourceFiles} APPEND_STRING PROPERTY COMPILE_FLAGS " ${_flags} ") + # mark sources as cotired to prevent them from being used in another cotired target + set_source_files_properties(${_sourceFiles} PROPERTIES COTIRE_TARGET "${_target}") + endif() + # make object files generated from source files depend on precompiled header + set_property (SOURCE ${_sourceFiles} APPEND PROPERTY OBJECT_DEPENDS "${_pchFile}") + endif() +endfunction() + +function (cotire_setup_prefix_file_inclusion _language _target _prefixFile) + set (_sourceFiles ${ARGN}) + # force the inclusion of the prefix header for the given source files + set (_flags "") + set (_pchFile "") + cotire_add_prefix_pch_inclusion_flags( + "${_language}" "${CMAKE_${_language}_COMPILER_ID}" "${CMAKE_${_language}_COMPILER_VERSION}" + "${_prefixFile}" "${_pchFile}" _flags) + set_property (SOURCE ${_sourceFiles} APPEND_STRING PROPERTY COMPILE_FLAGS " ${_flags} ") + # mark sources as cotired to prevent them from being used in another cotired target + set_source_files_properties(${_sourceFiles} PROPERTIES COTIRE_TARGET "${_target}") + # make object files generated from source files depend on prefix header + set_property (SOURCE ${_sourceFiles} APPEND PROPERTY OBJECT_DEPENDS "${_prefixFile}") +endfunction() + +function (cotire_get_first_set_property_value _propertyValueVar _type _object) + set (_properties ${ARGN}) + foreach (_property ${_properties}) + get_property(_propertyValue ${_type} "${_object}" PROPERTY ${_property}) + if (_propertyValue) + set (${_propertyValueVar} ${_propertyValue} PARENT_SCOPE) + return() + endif() + endforeach() + set (${_propertyValueVar} "" PARENT_SCOPE) +endfunction() + +function (cotire_setup_combine_command _language _targetScript _joinedFile _cmdsVar) + set (_files ${ARGN}) + set (_filesPaths "") + foreach (_file ${_files}) + get_filename_component(_filePath "${_file}" ABSOLUTE) + list (APPEND _filesPaths "${_filePath}") + endforeach() + cotire_set_cmd_to_prologue(_prefixCmd) + list (APPEND _prefixCmd -P "${COTIRE_CMAKE_MODULE_FILE}" "combine") + if (_targetScript) + list (APPEND _prefixCmd "${_targetScript}") + endif() + list (APPEND _prefixCmd "${_joinedFile}" ${_filesPaths}) + if (COTIRE_DEBUG) + message (STATUS "add_custom_command: OUTPUT ${_joinedFile} COMMAND ${_prefixCmd} DEPENDS ${_files}") + endif() + set_property (SOURCE "${_joinedFile}" PROPERTY GENERATED TRUE) + if (MSVC_IDE) + file (TO_NATIVE_PATH "${_joinedFile}" _joinedFileLogPath) + else() + file (RELATIVE_PATH _joinedFileLogPath "${CMAKE_BINARY_DIR}" "${_joinedFile}") + endif() + get_filename_component(_joinedFileBaseName "${_joinedFile}" NAME_WE) + get_filename_component(_joinedFileExt "${_joinedFile}" EXT) + if (_language AND _joinedFileBaseName MATCHES "${COTIRE_UNITY_SOURCE_FILENAME_SUFFIX}$") + set (_comment "Generating ${_language} unity source ${_joinedFileLogPath}") + elseif (_language AND _joinedFileBaseName MATCHES "${COTIRE_PREFIX_HEADER_FILENAME_SUFFIX}$") + if (_joinedFileExt MATCHES "^\\.c") + set (_comment "Generating ${_language} prefix source ${_joinedFileLogPath}") + else() + set (_comment "Generating ${_language} prefix header ${_joinedFileLogPath}") + endif() + else() + set (_comment "Generating ${_joinedFileLogPath}") + endif() + add_custom_command( + OUTPUT "${_joinedFile}" + COMMAND ${_prefixCmd} + DEPENDS ${_files} + COMMENT "${_comment}" + WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" + VERBATIM) + list (APPEND ${_cmdsVar} COMMAND ${_prefixCmd}) + set (${_cmdsVar} ${${_cmdsVar}} PARENT_SCOPE) +endfunction() + +function (cotire_setup_target_pch_usage _languages _target _wholeTarget) + if (XCODE) + # for Xcode, we attach a pre-build action to generate the unity sources and prefix headers + set (_prefixFiles "") + foreach (_language ${_languages}) + get_property(_prefixFile TARGET ${_target} PROPERTY COTIRE_${_language}_PREFIX_HEADER) + if (_prefixFile) + list (APPEND _prefixFiles "${_prefixFile}") + endif() + endforeach() + set (_cmds ${ARGN}) + list (LENGTH _prefixFiles _numberOfPrefixFiles) + if (_numberOfPrefixFiles GREATER 1) + # we also generate a generic, single prefix header which includes all language specific prefix headers + set (_language "") + set (_targetScript "") + cotire_make_prefix_file_path("${_language}" ${_target} _prefixHeader) + cotire_setup_combine_command("${_language}" "${_targetScript}" "${_prefixHeader}" _cmds ${_prefixFiles}) + else() + set (_prefixHeader "${_prefixFiles}") + endif() + if (COTIRE_DEBUG) + message (STATUS "add_custom_command: TARGET ${_target} PRE_BUILD ${_cmds}") + endif() + # because CMake PRE_BUILD command does not support dependencies, + # we check dependencies explicity in cotire script mode when the pre-build action is run + add_custom_command( + TARGET "${_target}" + PRE_BUILD ${_cmds} + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" + COMMENT "Updating target ${_target} prefix headers" + VERBATIM) + # make Xcode precompile the generated prefix header with ProcessPCH and ProcessPCH++ + set_target_properties(${_target} PROPERTIES XCODE_ATTRIBUTE_GCC_PRECOMPILE_PREFIX_HEADER "YES") + set_target_properties(${_target} PROPERTIES XCODE_ATTRIBUTE_GCC_PREFIX_HEADER "${_prefixHeader}") + elseif ("${CMAKE_GENERATOR}" MATCHES "Make|Ninja") + # for makefile based generator, we force inclusion of the prefix header for all target source files + # if this is a single-language target without any excluded files + if (_wholeTarget) + set (_language "${_languages}") + # for Visual Studio and Intel, precompiled header inclusion is always done on the source file level + # see cotire_setup_pch_file_inclusion + if (NOT CMAKE_${_language}_COMPILER_ID MATCHES "MSVC|Intel") + get_property(_prefixFile TARGET ${_target} PROPERTY COTIRE_${_language}_PREFIX_HEADER) + if (_prefixFile) + get_property(_pchFile TARGET ${_target} PROPERTY COTIRE_${_language}_PRECOMPILED_HEADER) + set (_options COMPILE_OPTIONS) + cotire_add_prefix_pch_inclusion_flags( + "${_language}" "${CMAKE_${_language}_COMPILER_ID}" "${CMAKE_${_language}_COMPILER_VERSION}" + "${_prefixFile}" "${_pchFile}" _options) + set_property(TARGET ${_target} APPEND PROPERTY ${_options}) + endif() + endif() + endif() + endif() +endfunction() + +function (cotire_setup_unity_generation_commands _language _target _targetScript _targetConfigScript _unityFiles _cmdsVar) + set (_dependencySources "") + cotire_get_unity_source_dependencies(${_language} ${_target} _dependencySources ${ARGN}) + foreach (_unityFile ${_unityFiles}) + set_property (SOURCE "${_unityFile}" PROPERTY GENERATED TRUE) + # set up compiled unity source dependencies via OBJECT_DEPENDS + # this ensures that missing source files are generated before the unity file is compiled + if (COTIRE_DEBUG AND _dependencySources) + message (STATUS "${_unityFile} OBJECT_DEPENDS ${_dependencySources}") + endif() + if (_dependencySources) + # the OBJECT_DEPENDS property requires a list of full paths + set (_objectDependsPaths "") + foreach (_sourceFile ${_dependencySources}) + get_source_file_property(_sourceLocation "${_sourceFile}" LOCATION) + list (APPEND _objectDependsPaths "${_sourceLocation}") + endforeach() + set_property (SOURCE "${_unityFile}" PROPERTY OBJECT_DEPENDS ${_objectDependsPaths}) + endif() + if (WIN32 AND CMAKE_${_language}_COMPILER_ID MATCHES "MSVC|Intel") + # unity file compilation results in potentially huge object file, thus use /bigobj by default unter MSVC and Windows Intel + set_property (SOURCE "${_unityFile}" APPEND_STRING PROPERTY COMPILE_FLAGS "/bigobj") + endif() + cotire_set_cmd_to_prologue(_unityCmd) + list (APPEND _unityCmd -P "${COTIRE_CMAKE_MODULE_FILE}" "unity" "${_targetConfigScript}" "${_unityFile}") + if (CMAKE_VERSION VERSION_LESS "3.1.0") + set (_unityCmdDepends "${_targetScript}") + else() + # CMake 3.1.0 supports generator expressions in arguments to DEPENDS + set (_unityCmdDepends "${_targetConfigScript}") + endif() + if (MSVC_IDE) + file (TO_NATIVE_PATH "${_unityFile}" _unityFileLogPath) + else() + file (RELATIVE_PATH _unityFileLogPath "${CMAKE_BINARY_DIR}" "${_unityFile}") + endif() + if (COTIRE_DEBUG) + message (STATUS "add_custom_command: OUTPUT ${_unityFile} COMMAND ${_unityCmd} DEPENDS ${_unityCmdDepends}") + endif() + add_custom_command( + OUTPUT "${_unityFile}" + COMMAND ${_unityCmd} + DEPENDS ${_unityCmdDepends} + COMMENT "Generating ${_language} unity source ${_unityFileLogPath}" + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" + VERBATIM) + list (APPEND ${_cmdsVar} COMMAND ${_unityCmd}) + endforeach() + set (${_cmdsVar} ${${_cmdsVar}} PARENT_SCOPE) +endfunction() + +function (cotire_setup_prefix_generation_command _language _target _targetScript _prefixFile _unityFiles _cmdsVar) + set (_sourceFiles ${ARGN}) + set (_dependencySources "") + cotire_get_prefix_header_dependencies(${_language} ${_target} _dependencySources ${_sourceFiles}) + cotire_set_cmd_to_prologue(_prefixCmd) + list (APPEND _prefixCmd -P "${COTIRE_CMAKE_MODULE_FILE}" "prefix" "${_targetScript}" "${_prefixFile}" ${_unityFiles}) + set_property (SOURCE "${_prefixFile}" PROPERTY GENERATED TRUE) + # make prefix header generation depend on the actual compiler executable used to force + # re-generation when the compiler executable is updated. This prevents "file not found" + # errors for compiler version specific system header files. + get_filename_component(_realCompilerExe "${CMAKE_${_language}_COMPILER}" ABSOLUTE) + if (COTIRE_DEBUG) + message (STATUS "add_custom_command: OUTPUT ${_prefixFile} COMMAND ${_prefixCmd} DEPENDS ${_unityFile} ${_dependencySources} ${_realCompilerExe}") + endif() + if (MSVC_IDE) + file (TO_NATIVE_PATH "${_prefixFile}" _prefixFileLogPath) + else() + file (RELATIVE_PATH _prefixFileLogPath "${CMAKE_BINARY_DIR}" "${_prefixFile}") + endif() + get_filename_component(_prefixFileExt "${_prefixFile}" EXT) + if (_prefixFileExt MATCHES "^\\.c") + set (_comment "Generating ${_language} prefix source ${_prefixFileLogPath}") + else() + set (_comment "Generating ${_language} prefix header ${_prefixFileLogPath}") + endif() + # prevent pre-processing errors upon generating the prefix header when a target's generated include file does not yet exist + # we do not add a file-level dependency for the target's generated files though, because we only want to depend on their existence + # thus we make the prefix header generation depend on a custom helper target which triggers the generation of the files + set (_preTargetName "${_target}${COTIRE_PCH_TARGET_SUFFIX}_pre") + if (TARGET ${_preTargetName}) + # custom helper target has already been generated while processing a different language + list (APPEND _dependencySources ${_preTargetName}) + else() + get_target_property(_targetSourceFiles ${_target} SOURCES) + cotire_get_objects_with_property_on(_generatedSources GENERATED SOURCE ${_targetSourceFiles}) + if (_generatedSources) + add_custom_target("${_preTargetName}" DEPENDS ${_generatedSources}) + cotire_init_target("${_preTargetName}") + list (APPEND _dependencySources ${_preTargetName}) + endif() + endif() + add_custom_command( + OUTPUT "${_prefixFile}" "${_prefixFile}.log" + COMMAND ${_prefixCmd} + DEPENDS ${_unityFiles} ${_dependencySources} "${_realCompilerExe}" + COMMENT "${_comment}" + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" + VERBATIM) + list (APPEND ${_cmdsVar} COMMAND ${_prefixCmd}) + set (${_cmdsVar} ${${_cmdsVar}} PARENT_SCOPE) +endfunction() + +function (cotire_setup_prefix_generation_from_unity_command _language _target _targetScript _prefixFile _unityFiles _cmdsVar) + set (_sourceFiles ${ARGN}) + if (CMAKE_${_language}_COMPILER_ID MATCHES "GNU|Clang") + # GNU and Clang require indirect compilation of the prefix header to make them honor the system_header pragma + cotire_prefix_header_to_source_file_path(${_language} "${_prefixFile}" _prefixSourceFile) + else() + set (_prefixSourceFile "${_prefixFile}") + endif() + cotire_setup_prefix_generation_command( + ${_language} ${_target} "${_targetScript}" + "${_prefixSourceFile}" "${_unityFiles}" ${_cmdsVar} ${_sourceFiles}) + if (CMAKE_${_language}_COMPILER_ID MATCHES "GNU|Clang") + # set up generation of a prefix source file which includes the prefix header + cotire_setup_combine_command(${_language} "${_targetScript}" "${_prefixFile}" _cmds ${_prefixSourceFile}) + endif() + set (${_cmdsVar} ${${_cmdsVar}} PARENT_SCOPE) +endfunction() + +function (cotire_setup_prefix_generation_from_provided_command _language _target _targetScript _prefixFile _cmdsVar) + set (_prefixHeaderFiles ${ARGN}) + if (CMAKE_${_language}_COMPILER_ID MATCHES "GNU|Clang") + # GNU and Clang require indirect compilation of the prefix header to make them honor the system_header pragma + cotire_prefix_header_to_source_file_path(${_language} "${_prefixFile}" _prefixSourceFile) + else() + set (_prefixSourceFile "${_prefixFile}") + endif() + cotire_setup_combine_command(${_language} "${_targetScript}" "${_prefixSourceFile}" _cmds ${_prefixHeaderFiles}) + if (CMAKE_${_language}_COMPILER_ID MATCHES "GNU|Clang") + # set up generation of a prefix source file which includes the prefix header + cotire_setup_combine_command(${_language} "${_targetScript}" "${_prefixFile}" _cmds ${_prefixSourceFile}) + endif() + set (${_cmdsVar} ${${_cmdsVar}} PARENT_SCOPE) +endfunction() + +function (cotire_init_cotire_target_properties _target) + get_property(_isSet TARGET ${_target} PROPERTY COTIRE_ENABLE_PRECOMPILED_HEADER SET) + if (NOT _isSet) + set_property(TARGET ${_target} PROPERTY COTIRE_ENABLE_PRECOMPILED_HEADER TRUE) + endif() + get_property(_isSet TARGET ${_target} PROPERTY COTIRE_ADD_UNITY_BUILD SET) + if (NOT _isSet) + set_property(TARGET ${_target} PROPERTY COTIRE_ADD_UNITY_BUILD TRUE) + endif() + get_property(_isSet TARGET ${_target} PROPERTY COTIRE_ADD_CLEAN SET) + if (NOT _isSet) + set_property(TARGET ${_target} PROPERTY COTIRE_ADD_CLEAN FALSE) + endif() + get_property(_isSet TARGET ${_target} PROPERTY COTIRE_PREFIX_HEADER_IGNORE_PATH SET) + if (NOT _isSet) + set_property(TARGET ${_target} PROPERTY COTIRE_PREFIX_HEADER_IGNORE_PATH "${CMAKE_SOURCE_DIR}") + cotire_check_is_path_relative_to("${CMAKE_BINARY_DIR}" _isRelative "${CMAKE_SOURCE_DIR}") + if (NOT _isRelative) + set_property(TARGET ${_target} APPEND PROPERTY COTIRE_PREFIX_HEADER_IGNORE_PATH "${CMAKE_BINARY_DIR}") + endif() + endif() + get_property(_isSet TARGET ${_target} PROPERTY COTIRE_PREFIX_HEADER_INCLUDE_PATH SET) + if (NOT _isSet) + set_property(TARGET ${_target} PROPERTY COTIRE_PREFIX_HEADER_INCLUDE_PATH "") + endif() + get_property(_isSet TARGET ${_target} PROPERTY COTIRE_PREFIX_HEADER_INCLUDE_PRIORITY_PATH SET) + if (NOT _isSet) + set_property(TARGET ${_target} PROPERTY COTIRE_PREFIX_HEADER_INCLUDE_PRIORITY_PATH "") + endif() + get_property(_isSet TARGET ${_target} PROPERTY COTIRE_UNITY_SOURCE_PRE_UNDEFS SET) + if (NOT _isSet) + set_property(TARGET ${_target} PROPERTY COTIRE_UNITY_SOURCE_PRE_UNDEFS "") + endif() + get_property(_isSet TARGET ${_target} PROPERTY COTIRE_UNITY_SOURCE_POST_UNDEFS SET) + if (NOT _isSet) + set_property(TARGET ${_target} PROPERTY COTIRE_UNITY_SOURCE_POST_UNDEFS "") + endif() + get_property(_isSet TARGET ${_target} PROPERTY COTIRE_UNITY_LINK_LIBRARIES_INIT SET) + if (NOT _isSet) + set_property(TARGET ${_target} PROPERTY COTIRE_UNITY_LINK_LIBRARIES_INIT "COPY_UNITY") + endif() + get_property(_isSet TARGET ${_target} PROPERTY COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES SET) + if (NOT _isSet) + if (COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES) + set_property(TARGET ${_target} PROPERTY COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES "${COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES}") + else() + set_property(TARGET ${_target} PROPERTY COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES "") + endif() + endif() +endfunction() + +function (cotire_make_target_message _target _languages _disableMsg _targetMsgVar) + get_target_property(_targetUsePCH ${_target} COTIRE_ENABLE_PRECOMPILED_HEADER) + get_target_property(_targetAddSCU ${_target} COTIRE_ADD_UNITY_BUILD) + string (REPLACE ";" " " _languagesStr "${_languages}") + math (EXPR _numberOfExcludedFiles "${ARGC} - 4") + if (_numberOfExcludedFiles EQUAL 0) + set (_excludedStr "") + elseif (COTIRE_VERBOSE OR _numberOfExcludedFiles LESS 4) + string (REPLACE ";" ", " _excludedStr "excluding ${ARGN}") + else() + set (_excludedStr "excluding ${_numberOfExcludedFiles} files") + endif() + set (_targetMsg "") + if (NOT _languages) + set (_targetMsg "Target ${_target} cannot be cotired.") + if (_disableMsg) + set (_targetMsg "${_targetMsg} ${_disableMsg}") + endif() + elseif (NOT _targetUsePCH AND NOT _targetAddSCU) + set (_targetMsg "${_languagesStr} target ${_target} cotired without unity build and precompiled header.") + if (_disableMsg) + set (_targetMsg "${_targetMsg} ${_disableMsg}") + endif() + elseif (NOT _targetUsePCH) + if (_excludedStr) + set (_targetMsg "${_languagesStr} target ${_target} cotired without precompiled header ${_excludedStr}.") + else() + set (_targetMsg "${_languagesStr} target ${_target} cotired without precompiled header.") + endif() + if (_disableMsg) + set (_targetMsg "${_targetMsg} ${_disableMsg}") + endif() + elseif (NOT _targetAddSCU) + if (_excludedStr) + set (_targetMsg "${_languagesStr} target ${_target} cotired without unity build ${_excludedStr}.") + else() + set (_targetMsg "${_languagesStr} target ${_target} cotired without unity build.") + endif() + else() + if (_excludedStr) + set (_targetMsg "${_languagesStr} target ${_target} cotired ${_excludedStr}.") + else() + set (_targetMsg "${_languagesStr} target ${_target} cotired.") + endif() + endif() + set (${_targetMsgVar} "${_targetMsg}" PARENT_SCOPE) +endfunction() + +function (cotire_choose_target_languages _target _targetLanguagesVar _wholeTargetVar) + set (_languages ${ARGN}) + set (_allSourceFiles "") + set (_allExcludedSourceFiles "") + set (_allCotiredSourceFiles "") + set (_targetLanguages "") + set (_pchEligibleTargetLanguages "") + get_target_property(_targetType ${_target} TYPE) + get_target_property(_targetSourceFiles ${_target} SOURCES) + get_target_property(_targetUsePCH ${_target} COTIRE_ENABLE_PRECOMPILED_HEADER) + get_target_property(_targetAddSCU ${_target} COTIRE_ADD_UNITY_BUILD) + set (_disableMsg "") + foreach (_language ${_languages}) + get_target_property(_prefixHeader ${_target} COTIRE_${_language}_PREFIX_HEADER) + get_target_property(_unityBuildFile ${_target} COTIRE_${_language}_UNITY_SOURCE) + if (_prefixHeader OR _unityBuildFile) + message (STATUS "cotire: target ${_target} has already been cotired.") + set (${_targetLanguagesVar} "" PARENT_SCOPE) + return() + endif() + if (_targetUsePCH AND "${_language}" MATCHES "^C|CXX$" AND DEFINED CMAKE_${_language}_COMPILER_ID) + if (CMAKE_${_language}_COMPILER_ID) + cotire_check_precompiled_header_support("${_language}" "${_target}" _disableMsg) + if (_disableMsg) + set (_targetUsePCH FALSE) + endif() + endif() + endif() + set (_sourceFiles "") + set (_excludedSources "") + set (_cotiredSources "") + cotire_filter_language_source_files(${_language} ${_target} _sourceFiles _excludedSources _cotiredSources ${_targetSourceFiles}) + if (_sourceFiles OR _excludedSources OR _cotiredSources) + list (APPEND _targetLanguages ${_language}) + endif() + if (_sourceFiles) + list (APPEND _allSourceFiles ${_sourceFiles}) + endif() + list (LENGTH _sourceFiles _numberOfSources) + if (NOT _numberOfSources LESS ${COTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES}) + list (APPEND _pchEligibleTargetLanguages ${_language}) + endif() + if (_excludedSources) + list (APPEND _allExcludedSourceFiles ${_excludedSources}) + endif() + if (_cotiredSources) + list (APPEND _allCotiredSourceFiles ${_cotiredSources}) + endif() + endforeach() + set (_targetMsgLevel STATUS) + if (NOT _targetLanguages) + string (REPLACE ";" " or " _languagesStr "${_languages}") + set (_disableMsg "No ${_languagesStr} source files.") + set (_targetUsePCH FALSE) + set (_targetAddSCU FALSE) + endif() + if (_targetUsePCH) + if (_allCotiredSourceFiles) + cotire_get_source_file_property_values(_cotireTargets COTIRE_TARGET ${_allCotiredSourceFiles}) + list (REMOVE_DUPLICATES _cotireTargets) + string (REPLACE ";" ", " _cotireTargetsStr "${_cotireTargets}") + set (_disableMsg "Target sources already include a precompiled header for target(s) ${_cotireTargets}.") + set (_disableMsg "${_disableMsg} Set target property COTIRE_ENABLE_PRECOMPILED_HEADER to FALSE for targets ${_target},") + set (_disableMsg "${_disableMsg} ${_cotireTargetsStr} to get a workable build system.") + set (_targetMsgLevel SEND_ERROR) + set (_targetUsePCH FALSE) + elseif (NOT _pchEligibleTargetLanguages) + set (_disableMsg "Too few applicable sources.") + set (_targetUsePCH FALSE) + elseif (XCODE AND _allExcludedSourceFiles) + # for Xcode, we cannot apply the precompiled header to individual sources, only to the whole target + set (_disableMsg "Exclusion of source files not supported for generator Xcode.") + set (_targetUsePCH FALSE) + elseif (XCODE AND "${_targetType}" STREQUAL "OBJECT_LIBRARY") + # for Xcode, we cannot apply the required PRE_BUILD action to generate the prefix header to an OBJECT_LIBRARY target + set (_disableMsg "Required PRE_BUILD action not supported for OBJECT_LIBRARY targets for generator Xcode.") + set (_targetUsePCH FALSE) + endif() + endif() + set_property(TARGET ${_target} PROPERTY COTIRE_ENABLE_PRECOMPILED_HEADER ${_targetUsePCH}) + set_property(TARGET ${_target} PROPERTY COTIRE_ADD_UNITY_BUILD ${_targetAddSCU}) + cotire_make_target_message(${_target} "${_targetLanguages}" "${_disableMsg}" _targetMsg ${_allExcludedSourceFiles}) + if (_targetMsg) + if (NOT DEFINED COTIREMSG_${_target}) + set (COTIREMSG_${_target} "") + endif() + if (COTIRE_VERBOSE OR NOT "${_targetMsgLevel}" STREQUAL "STATUS" OR + NOT "${COTIREMSG_${_target}}" STREQUAL "${_targetMsg}") + # cache message to avoid redundant messages on re-configure + set (COTIREMSG_${_target} "${_targetMsg}" CACHE INTERNAL "${_target} cotire message.") + message (${_targetMsgLevel} "${_targetMsg}") + endif() + endif() + list (LENGTH _targetLanguages _numberOfLanguages) + if (_numberOfLanguages GREATER 1 OR _allExcludedSourceFiles) + set (${_wholeTargetVar} FALSE PARENT_SCOPE) + else() + set (${_wholeTargetVar} TRUE PARENT_SCOPE) + endif() + set (${_targetLanguagesVar} ${_targetLanguages} PARENT_SCOPE) +endfunction() + +function (cotire_compute_unity_max_number_of_includes _target _maxIncludesVar) + set (_sourceFiles ${ARGN}) + get_target_property(_maxIncludes ${_target} COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES) + if (_maxIncludes MATCHES "(-j|--parallel|--jobs) ?([0-9]*)") + set (_numberOfThreads "${CMAKE_MATCH_2}") + if (NOT _numberOfThreads) + # use all available cores + ProcessorCount(_numberOfThreads) + endif() + list (LENGTH _sourceFiles _numberOfSources) + math (EXPR _maxIncludes "(${_numberOfSources} + ${_numberOfThreads} - 1) / ${_numberOfThreads}") + elseif (NOT _maxIncludes MATCHES "[0-9]+") + set (_maxIncludes 0) + endif() + if (COTIRE_DEBUG) + message (STATUS "${_target} unity source max includes: ${_maxIncludes}") + endif() + set (${_maxIncludesVar} ${_maxIncludes} PARENT_SCOPE) +endfunction() + +function (cotire_process_target_language _language _configurations _target _wholeTarget _cmdsVar) + set (${_cmdsVar} "" PARENT_SCOPE) + get_target_property(_targetSourceFiles ${_target} SOURCES) + set (_sourceFiles "") + set (_excludedSources "") + set (_cotiredSources "") + cotire_filter_language_source_files(${_language} ${_target} _sourceFiles _excludedSources _cotiredSources ${_targetSourceFiles}) + if (NOT _sourceFiles AND NOT _cotiredSources) + return() + endif() + set (_cmds "") + # check for user provided unity source file list + get_property(_unitySourceFiles TARGET ${_target} PROPERTY COTIRE_${_language}_UNITY_SOURCE_INIT) + if (NOT _unitySourceFiles) + set (_unitySourceFiles ${_sourceFiles} ${_cotiredSources}) + endif() + cotire_generate_target_script( + ${_language} "${_configurations}" ${_target} _targetScript _targetConfigScript ${_unitySourceFiles}) + # set up unity files for parallel compilation + cotire_compute_unity_max_number_of_includes(${_target} _maxIncludes ${_unitySourceFiles}) + cotire_make_unity_source_file_paths(${_language} ${_target} ${_maxIncludes} _unityFiles ${_unitySourceFiles}) + list (LENGTH _unityFiles _numberOfUnityFiles) + if (_numberOfUnityFiles EQUAL 0) + return() + elseif (_numberOfUnityFiles GREATER 1) + cotire_setup_unity_generation_commands( + ${_language} ${_target} "${_targetScript}" "${_targetConfigScript}" "${_unityFiles}" _cmds ${_unitySourceFiles}) + endif() + # set up single unity file for prefix header generation + cotire_make_single_unity_source_file_path(${_language} ${_target} _unityFile) + cotire_setup_unity_generation_commands( + ${_language} ${_target} "${_targetScript}" "${_targetConfigScript}" "${_unityFile}" _cmds ${_unitySourceFiles}) + cotire_make_prefix_file_path(${_language} ${_target} _prefixFile) + # set up prefix header + if (_prefixFile) + # check for user provided prefix header files + get_property(_prefixHeaderFiles TARGET ${_target} PROPERTY COTIRE_${_language}_PREFIX_HEADER_INIT) + if (_prefixHeaderFiles) + cotire_setup_prefix_generation_from_provided_command( + ${_language} ${_target} "${_targetConfigScript}" "${_prefixFile}" _cmds ${_prefixHeaderFiles}) + else() + cotire_setup_prefix_generation_from_unity_command( + ${_language} ${_target} "${_targetConfigScript}" "${_prefixFile}" "${_unityFile}" _cmds ${_unitySourceFiles}) + endif() + # check if selected language has enough sources at all + list (LENGTH _sourceFiles _numberOfSources) + if (_numberOfSources LESS ${COTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES}) + set (_targetUsePCH FALSE) + else() + get_target_property(_targetUsePCH ${_target} COTIRE_ENABLE_PRECOMPILED_HEADER) + endif() + if (_targetUsePCH) + cotire_make_pch_file_path(${_language} ${_target} _pchFile) + if (_pchFile) + # first file in _sourceFiles is passed as the host file + cotire_setup_pch_file_compilation( + ${_language} ${_target} "${_targetConfigScript}" "${_prefixFile}" "${_pchFile}" ${_sourceFiles}) + cotire_setup_pch_file_inclusion( + ${_language} ${_target} ${_wholeTarget} "${_prefixFile}" "${_pchFile}" ${_sourceFiles}) + endif() + elseif (_prefixHeaderFiles) + # user provided prefix header must be included unconditionally + cotire_setup_prefix_file_inclusion(${_language} ${_target} "${_prefixFile}" ${_sourceFiles}) + endif() + endif() + # mark target as cotired for language + set_property(TARGET ${_target} PROPERTY COTIRE_${_language}_UNITY_SOURCE "${_unityFiles}") + if (_prefixFile) + set_property(TARGET ${_target} PROPERTY COTIRE_${_language}_PREFIX_HEADER "${_prefixFile}") + if (_targetUsePCH AND _pchFile) + set_property(TARGET ${_target} PROPERTY COTIRE_${_language}_PRECOMPILED_HEADER "${_pchFile}") + endif() + endif() + set (${_cmdsVar} ${_cmds} PARENT_SCOPE) +endfunction() + +function (cotire_setup_clean_target _target) + set (_cleanTargetName "${_target}${COTIRE_CLEAN_TARGET_SUFFIX}") + if (NOT TARGET "${_cleanTargetName}") + cotire_set_cmd_to_prologue(_cmds) + get_filename_component(_outputDir "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}" ABSOLUTE) + list (APPEND _cmds -P "${COTIRE_CMAKE_MODULE_FILE}" "cleanup" "${_outputDir}" "${COTIRE_INTDIR}" "${_target}") + add_custom_target(${_cleanTargetName} + COMMAND ${_cmds} + WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" + COMMENT "Cleaning up target ${_target} cotire generated files" + VERBATIM) + cotire_init_target("${_cleanTargetName}") + endif() +endfunction() + +function (cotire_setup_pch_target _languages _configurations _target) + if ("${CMAKE_GENERATOR}" MATCHES "Make|Ninja") + # for makefile based generators, we add a custom target to trigger the generation of the cotire related files + set (_dependsFiles "") + foreach (_language ${_languages}) + set (_props COTIRE_${_language}_PREFIX_HEADER COTIRE_${_language}_UNITY_SOURCE) + if (NOT CMAKE_${_language}_COMPILER_ID MATCHES "MSVC|Intel") + # Visual Studio and Intel only create precompiled header as a side effect + list (INSERT _props 0 COTIRE_${_language}_PRECOMPILED_HEADER) + endif() + cotire_get_first_set_property_value(_dependsFile TARGET ${_target} ${_props}) + if (_dependsFile) + list (APPEND _dependsFiles "${_dependsFile}") + endif() + endforeach() + if (_dependsFiles) + set (_pchTargetName "${_target}${COTIRE_PCH_TARGET_SUFFIX}") + add_custom_target("${_pchTargetName}" DEPENDS ${_dependsFiles}) + cotire_init_target("${_pchTargetName}") + cotire_add_to_pch_all_target(${_pchTargetName}) + endif() + else() + # for other generators, we add the "clean all" target to clean up the precompiled header + cotire_setup_clean_all_target() + endif() +endfunction() + +function (cotire_filter_object_libraries _target _objectLibrariesVar) + set (_objectLibraries "") + foreach (_source ${ARGN}) + if (_source MATCHES "^\\$$") + list (APPEND _objectLibraries "${_source}") + endif() + endforeach() + set (${_objectLibrariesVar} ${_objectLibraries} PARENT_SCOPE) +endfunction() + +function (cotire_collect_unity_target_sources _target _languages _unityTargetSourcesVar) + get_target_property(_targetSourceFiles ${_target} SOURCES) + set (_unityTargetSources ${_targetSourceFiles}) + foreach (_language ${_languages}) + get_property(_unityFiles TARGET ${_target} PROPERTY COTIRE_${_language}_UNITY_SOURCE) + if (_unityFiles) + # remove source files that are included in the unity source + set (_sourceFiles "") + set (_excludedSources "") + set (_cotiredSources "") + cotire_filter_language_source_files(${_language} ${_target} _sourceFiles _excludedSources _cotiredSources ${_targetSourceFiles}) + if (_sourceFiles OR _cotiredSources) + list (REMOVE_ITEM _unityTargetSources ${_sourceFiles} ${_cotiredSources}) + endif() + # add unity source files instead + list (APPEND _unityTargetSources ${_unityFiles}) + endif() + endforeach() + get_target_property(_linkLibrariesStrategy ${_target} COTIRE_UNITY_LINK_LIBRARIES_INIT) + if ("${_linkLibrariesStrategy}" MATCHES "^COPY_UNITY$") + cotire_filter_object_libraries(${_target} _objectLibraries ${_targetSourceFiles}) + if (_objectLibraries) + cotire_map_libraries("${_linkLibrariesStrategy}" _unityObjectLibraries ${_objectLibraries}) + list (REMOVE_ITEM _unityTargetSources ${_objectLibraries}) + list (APPEND _unityTargetSources ${_unityObjectLibraries}) + endif() + endif() + set (${_unityTargetSourcesVar} ${_unityTargetSources} PARENT_SCOPE) +endfunction() + +function (cotire_setup_unity_target_pch_usage _languages _target) + foreach (_language ${_languages}) + get_property(_unityFiles TARGET ${_target} PROPERTY COTIRE_${_language}_UNITY_SOURCE) + if (_unityFiles) + get_property(_userPrefixFile TARGET ${_target} PROPERTY COTIRE_${_language}_PREFIX_HEADER_INIT) + get_property(_prefixFile TARGET ${_target} PROPERTY COTIRE_${_language}_PREFIX_HEADER) + if (_userPrefixFile AND _prefixFile) + # user provided prefix header must be included unconditionally by unity sources + cotire_setup_prefix_file_inclusion(${_language} ${_target} "${_prefixFile}" ${_unityFiles}) + endif() + endif() + endforeach() +endfunction() + +function (cotire_setup_unity_build_target _languages _configurations _target) + get_target_property(_unityTargetName ${_target} COTIRE_UNITY_TARGET_NAME) + if (NOT _unityTargetName) + set (_unityTargetName "${_target}${COTIRE_UNITY_BUILD_TARGET_SUFFIX}") + endif() + # determine unity target sub type + get_target_property(_targetType ${_target} TYPE) + if ("${_targetType}" STREQUAL "EXECUTABLE") + set (_unityTargetSubType "") + elseif (_targetType MATCHES "(STATIC|SHARED|MODULE|OBJECT)_LIBRARY") + set (_unityTargetSubType "${CMAKE_MATCH_1}") + else() + message (WARNING "cotire: target ${_target} has unknown target type ${_targetType}.") + return() + endif() + # determine unity target sources + set (_unityTargetSources "") + cotire_collect_unity_target_sources(${_target} "${_languages}" _unityTargetSources) + # handle automatic Qt processing + get_target_property(_targetAutoMoc ${_target} AUTOMOC) + get_target_property(_targetAutoUic ${_target} AUTOUIC) + get_target_property(_targetAutoRcc ${_target} AUTORCC) + if (_targetAutoMoc OR _targetAutoUic OR _targetAutoRcc) + # if the original target sources are subject to CMake's automatic Qt processing, + # also include implicitly generated _automoc.cpp file + if (CMAKE_VERSION VERSION_LESS "3.8.0") + list (APPEND _unityTargetSources "${_target}_automoc.cpp") + set_property (SOURCE "${_target}_automoc.cpp" PROPERTY GENERATED TRUE) + else() + list (APPEND _unityTargetSources "${_target}_autogen/moc_compilation.cpp") + set_property (SOURCE "${_target}_autogen/moc_compilation.cpp" PROPERTY GENERATED TRUE) + endif() + endif() + # prevent AUTOMOC, AUTOUIC and AUTORCC properties from being set when the unity target is created + set (CMAKE_AUTOMOC OFF) + set (CMAKE_AUTOUIC OFF) + set (CMAKE_AUTORCC OFF) + if (COTIRE_DEBUG) + message (STATUS "add target ${_targetType} ${_unityTargetName} ${_unityTargetSubType} EXCLUDE_FROM_ALL ${_unityTargetSources}") + endif() + # generate unity target + if ("${_targetType}" STREQUAL "EXECUTABLE") + add_executable(${_unityTargetName} ${_unityTargetSubType} EXCLUDE_FROM_ALL ${_unityTargetSources}) + else() + add_library(${_unityTargetName} ${_unityTargetSubType} EXCLUDE_FROM_ALL ${_unityTargetSources}) + endif() + if ("${CMAKE_GENERATOR}" MATCHES "Visual Studio") + # depend on original target's automoc target, if it exists + if (TARGET ${_target}_automoc) + add_dependencies(${_unityTargetName} ${_target}_automoc) + endif() + else() + if (_targetAutoMoc OR _targetAutoUic OR _targetAutoRcc) + # depend on the original target's implicity generated _automoc target + if (CMAKE_VERSION VERSION_LESS "3.8.0") + add_dependencies(${_unityTargetName} ${_target}_automoc) + else() + add_dependencies(${_unityTargetName} ${_target}_autogen) + endif() + endif() + endif() + # copy output location properties + set (_outputDirProperties + ARCHIVE_OUTPUT_DIRECTORY ARCHIVE_OUTPUT_DIRECTORY_ + LIBRARY_OUTPUT_DIRECTORY LIBRARY_OUTPUT_DIRECTORY_ + RUNTIME_OUTPUT_DIRECTORY RUNTIME_OUTPUT_DIRECTORY_) + if (COTIRE_UNITY_OUTPUT_DIRECTORY) + set (_setDefaultOutputDir TRUE) + if (IS_ABSOLUTE "${COTIRE_UNITY_OUTPUT_DIRECTORY}") + set (_outputDir "${COTIRE_UNITY_OUTPUT_DIRECTORY}") + else() + # append relative COTIRE_UNITY_OUTPUT_DIRECTORY to target's actual output directory + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} ${_outputDirProperties}) + cotire_resolve_config_properites("${_configurations}" _properties ${_outputDirProperties}) + foreach (_property ${_properties}) + get_property(_outputDir TARGET ${_target} PROPERTY ${_property}) + if (_outputDir) + get_filename_component(_outputDir "${_outputDir}/${COTIRE_UNITY_OUTPUT_DIRECTORY}" ABSOLUTE) + set_property(TARGET ${_unityTargetName} PROPERTY ${_property} "${_outputDir}") + set (_setDefaultOutputDir FALSE) + endif() + endforeach() + if (_setDefaultOutputDir) + get_filename_component(_outputDir "${CMAKE_CURRENT_BINARY_DIR}/${COTIRE_UNITY_OUTPUT_DIRECTORY}" ABSOLUTE) + endif() + endif() + if (_setDefaultOutputDir) + set_target_properties(${_unityTargetName} PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${_outputDir}" + LIBRARY_OUTPUT_DIRECTORY "${_outputDir}" + RUNTIME_OUTPUT_DIRECTORY "${_outputDir}") + endif() + else() + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} + ${_outputDirProperties}) + endif() + # copy output name + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} + ARCHIVE_OUTPUT_NAME ARCHIVE_OUTPUT_NAME_ + LIBRARY_OUTPUT_NAME LIBRARY_OUTPUT_NAME_ + OUTPUT_NAME OUTPUT_NAME_ + RUNTIME_OUTPUT_NAME RUNTIME_OUTPUT_NAME_ + PREFIX _POSTFIX SUFFIX + IMPORT_PREFIX IMPORT_SUFFIX) + # copy compile stuff + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} + COMPILE_DEFINITIONS COMPILE_DEFINITIONS_ + COMPILE_FLAGS COMPILE_OPTIONS + Fortran_FORMAT Fortran_MODULE_DIRECTORY + INCLUDE_DIRECTORIES + INTERPROCEDURAL_OPTIMIZATION INTERPROCEDURAL_OPTIMIZATION_ + POSITION_INDEPENDENT_CODE + C_COMPILER_LAUNCHER CXX_COMPILER_LAUNCHER + C_INCLUDE_WHAT_YOU_USE CXX_INCLUDE_WHAT_YOU_USE + C_VISIBILITY_PRESET CXX_VISIBILITY_PRESET VISIBILITY_INLINES_HIDDEN + C_CLANG_TIDY CXX_CLANG_TIDY) + # copy compile features + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} + C_EXTENSIONS C_STANDARD C_STANDARD_REQUIRED + CXX_EXTENSIONS CXX_STANDARD CXX_STANDARD_REQUIRED + COMPILE_FEATURES) + # copy interface stuff + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} + COMPATIBLE_INTERFACE_BOOL COMPATIBLE_INTERFACE_NUMBER_MAX COMPATIBLE_INTERFACE_NUMBER_MIN + COMPATIBLE_INTERFACE_STRING + INTERFACE_COMPILE_DEFINITIONS INTERFACE_COMPILE_FEATURES INTERFACE_COMPILE_OPTIONS + INTERFACE_INCLUDE_DIRECTORIES INTERFACE_SOURCES + INTERFACE_POSITION_INDEPENDENT_CODE INTERFACE_SYSTEM_INCLUDE_DIRECTORIES + INTERFACE_AUTOUIC_OPTIONS NO_SYSTEM_FROM_IMPORTED) + # copy link stuff + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} + BUILD_WITH_INSTALL_RPATH INSTALL_RPATH INSTALL_RPATH_USE_LINK_PATH SKIP_BUILD_RPATH + LINKER_LANGUAGE LINK_DEPENDS LINK_DEPENDS_NO_SHARED + LINK_FLAGS LINK_FLAGS_ + LINK_INTERFACE_LIBRARIES LINK_INTERFACE_LIBRARIES_ + LINK_INTERFACE_MULTIPLICITY LINK_INTERFACE_MULTIPLICITY_ + LINK_SEARCH_START_STATIC LINK_SEARCH_END_STATIC + STATIC_LIBRARY_FLAGS STATIC_LIBRARY_FLAGS_ + NO_SONAME SOVERSION VERSION + LINK_WHAT_YOU_USE) + # copy cmake stuff + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} + IMPLICIT_DEPENDS_INCLUDE_TRANSFORM RULE_LAUNCH_COMPILE RULE_LAUNCH_CUSTOM RULE_LAUNCH_LINK) + # copy Apple platform specific stuff + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} + BUNDLE BUNDLE_EXTENSION FRAMEWORK FRAMEWORK_VERSION INSTALL_NAME_DIR + MACOSX_BUNDLE MACOSX_BUNDLE_INFO_PLIST MACOSX_FRAMEWORK_INFO_PLIST MACOSX_RPATH + OSX_ARCHITECTURES OSX_ARCHITECTURES_ PRIVATE_HEADER PUBLIC_HEADER RESOURCE XCTEST + IOS_INSTALL_COMBINED) + # copy Windows platform specific stuff + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} + GNUtoMS + COMPILE_PDB_NAME COMPILE_PDB_NAME_ + COMPILE_PDB_OUTPUT_DIRECTORY COMPILE_PDB_OUTPUT_DIRECTORY_ + PDB_NAME PDB_NAME_ PDB_OUTPUT_DIRECTORY PDB_OUTPUT_DIRECTORY_ + VS_DESKTOP_EXTENSIONS_VERSION VS_DOTNET_REFERENCES VS_DOTNET_TARGET_FRAMEWORK_VERSION + VS_GLOBAL_KEYWORD VS_GLOBAL_PROJECT_TYPES VS_GLOBAL_ROOTNAMESPACE + VS_IOT_EXTENSIONS_VERSION VS_IOT_STARTUP_TASK + VS_KEYWORD VS_MOBILE_EXTENSIONS_VERSION + VS_SCC_AUXPATH VS_SCC_LOCALPATH VS_SCC_PROJECTNAME VS_SCC_PROVIDER + VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION + VS_WINRT_COMPONENT VS_WINRT_EXTENSIONS VS_WINRT_REFERENCES + WIN32_EXECUTABLE WINDOWS_EXPORT_ALL_SYMBOLS + DEPLOYMENT_REMOTE_DIRECTORY VS_CONFIGURATION_TYPE + VS_SDK_REFERENCES) + # copy Android platform specific stuff + cotire_copy_set_properites("${_configurations}" TARGET ${_target} ${_unityTargetName} + ANDROID_API ANDROID_API_MIN ANDROID_GUI + ANDROID_ANT_ADDITIONAL_OPTIONS ANDROID_ARCH ANDROID_ASSETS_DIRECTORIES + ANDROID_JAR_DEPENDENCIES ANDROID_JAR_DIRECTORIES ANDROID_JAVA_SOURCE_DIR + ANDROID_NATIVE_LIB_DEPENDENCIES ANDROID_NATIVE_LIB_DIRECTORIES + ANDROID_PROCESS_MAX ANDROID_PROGUARD ANDROID_PROGUARD_CONFIG_PATH + ANDROID_SECURE_PROPS_PATH ANDROID_SKIP_ANT_STEP ANDROID_STL_TYPE) + # use output name from original target + get_target_property(_targetOutputName ${_unityTargetName} OUTPUT_NAME) + if (NOT _targetOutputName) + set_property(TARGET ${_unityTargetName} PROPERTY OUTPUT_NAME "${_target}") + endif() + # use export symbol from original target + cotire_get_target_export_symbol("${_target}" _defineSymbol) + if (_defineSymbol) + set_property(TARGET ${_unityTargetName} PROPERTY DEFINE_SYMBOL "${_defineSymbol}") + if ("${_targetType}" STREQUAL "EXECUTABLE") + set_property(TARGET ${_unityTargetName} PROPERTY ENABLE_EXPORTS TRUE) + endif() + endif() + cotire_init_target(${_unityTargetName}) + cotire_add_to_unity_all_target(${_unityTargetName}) + set_property(TARGET ${_target} PROPERTY COTIRE_UNITY_TARGET_NAME "${_unityTargetName}") +endfunction(cotire_setup_unity_build_target) + +function (cotire_target _target) + set(_options "") + set(_oneValueArgs "") + set(_multiValueArgs LANGUAGES CONFIGURATIONS) + cmake_parse_arguments(_option "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN}) + if (NOT _option_LANGUAGES) + get_property (_option_LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES) + endif() + if (NOT _option_CONFIGURATIONS) + cotire_get_configuration_types(_option_CONFIGURATIONS) + endif() + # check if cotire can be applied to target at all + cotire_is_target_supported(${_target} _isSupported) + if (NOT _isSupported) + get_target_property(_imported ${_target} IMPORTED) + get_target_property(_targetType ${_target} TYPE) + if (_imported) + message (WARNING "cotire: imported ${_targetType} target ${_target} cannot be cotired.") + else() + message (STATUS "cotire: ${_targetType} target ${_target} cannot be cotired.") + endif() + return() + endif() + # resolve alias + get_target_property(_aliasName ${_target} ALIASED_TARGET) + if (_aliasName) + if (COTIRE_DEBUG) + message (STATUS "${_target} is an alias. Applying cotire to aliased target ${_aliasName} instead.") + endif() + set (_target ${_aliasName}) + endif() + # check if target needs to be cotired for build type + # when using configuration types, the test is performed at build time + cotire_init_cotire_target_properties(${_target}) + if (NOT CMAKE_CONFIGURATION_TYPES) + if (CMAKE_BUILD_TYPE) + list (FIND _option_CONFIGURATIONS "${CMAKE_BUILD_TYPE}" _index) + else() + list (FIND _option_CONFIGURATIONS "None" _index) + endif() + if (_index EQUAL -1) + if (COTIRE_DEBUG) + message (STATUS "CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} not cotired (${_option_CONFIGURATIONS})") + endif() + return() + endif() + endif() + # when not using configuration types, immediately create cotire intermediate dir + if (NOT CMAKE_CONFIGURATION_TYPES) + cotire_get_intermediate_dir(_baseDir) + file (MAKE_DIRECTORY "${_baseDir}") + endif() + # choose languages that apply to the target + cotire_choose_target_languages("${_target}" _targetLanguages _wholeTarget ${_option_LANGUAGES}) + if (NOT _targetLanguages) + return() + endif() + set (_cmds "") + foreach (_language ${_targetLanguages}) + cotire_process_target_language("${_language}" "${_option_CONFIGURATIONS}" ${_target} ${_wholeTarget} _cmd) + if (_cmd) + list (APPEND _cmds ${_cmd}) + endif() + endforeach() + get_target_property(_targetAddSCU ${_target} COTIRE_ADD_UNITY_BUILD) + if (_targetAddSCU) + cotire_setup_unity_build_target("${_targetLanguages}" "${_option_CONFIGURATIONS}" ${_target}) + endif() + get_target_property(_targetUsePCH ${_target} COTIRE_ENABLE_PRECOMPILED_HEADER) + if (_targetUsePCH) + cotire_setup_target_pch_usage("${_targetLanguages}" ${_target} ${_wholeTarget} ${_cmds}) + cotire_setup_pch_target("${_targetLanguages}" "${_option_CONFIGURATIONS}" ${_target}) + if (_targetAddSCU) + cotire_setup_unity_target_pch_usage("${_targetLanguages}" ${_target}) + endif() + endif() + get_target_property(_targetAddCleanTarget ${_target} COTIRE_ADD_CLEAN) + if (_targetAddCleanTarget) + cotire_setup_clean_target(${_target}) + endif() +endfunction(cotire_target) + +function (cotire_map_libraries _strategy _mappedLibrariesVar) + set (_mappedLibraries "") + foreach (_library ${ARGN}) + if (_library MATCHES "^\\$$") + set (_libraryName "${CMAKE_MATCH_1}") + set (_linkOnly TRUE) + set (_objectLibrary FALSE) + elseif (_library MATCHES "^\\$$") + set (_libraryName "${CMAKE_MATCH_1}") + set (_linkOnly FALSE) + set (_objectLibrary TRUE) + else() + set (_libraryName "${_library}") + set (_linkOnly FALSE) + set (_objectLibrary FALSE) + endif() + if ("${_strategy}" MATCHES "COPY_UNITY") + cotire_is_target_supported(${_libraryName} _isSupported) + if (_isSupported) + # use target's corresponding unity target, if available + get_target_property(_libraryUnityTargetName ${_libraryName} COTIRE_UNITY_TARGET_NAME) + if (TARGET "${_libraryUnityTargetName}") + if (_linkOnly) + list (APPEND _mappedLibraries "$") + elseif (_objectLibrary) + list (APPEND _mappedLibraries "$") + else() + list (APPEND _mappedLibraries "${_libraryUnityTargetName}") + endif() + else() + list (APPEND _mappedLibraries "${_library}") + endif() + else() + list (APPEND _mappedLibraries "${_library}") + endif() + else() + list (APPEND _mappedLibraries "${_library}") + endif() + endforeach() + list (REMOVE_DUPLICATES _mappedLibraries) + set (${_mappedLibrariesVar} ${_mappedLibraries} PARENT_SCOPE) +endfunction() + +function (cotire_target_link_libraries _target) + cotire_is_target_supported(${_target} _isSupported) + if (NOT _isSupported) + return() + endif() + get_target_property(_unityTargetName ${_target} COTIRE_UNITY_TARGET_NAME) + if (TARGET "${_unityTargetName}") + get_target_property(_linkLibrariesStrategy ${_target} COTIRE_UNITY_LINK_LIBRARIES_INIT) + if (COTIRE_DEBUG) + message (STATUS "unity target ${_unityTargetName} link strategy: ${_linkLibrariesStrategy}") + endif() + if ("${_linkLibrariesStrategy}" MATCHES "^(COPY|COPY_UNITY)$") + get_target_property(_linkLibraries ${_target} LINK_LIBRARIES) + if (_linkLibraries) + cotire_map_libraries("${_linkLibrariesStrategy}" _unityLinkLibraries ${_linkLibraries}) + set_target_properties(${_unityTargetName} PROPERTIES LINK_LIBRARIES "${_unityLinkLibraries}") + if (COTIRE_DEBUG) + message (STATUS "unity target ${_unityTargetName} link libraries: ${_unityLinkLibraries}") + endif() + endif() + get_target_property(_interfaceLinkLibraries ${_target} INTERFACE_LINK_LIBRARIES) + if (_interfaceLinkLibraries) + cotire_map_libraries("${_linkLibrariesStrategy}" _unityLinkInterfaceLibraries ${_interfaceLinkLibraries}) + set_target_properties(${_unityTargetName} PROPERTIES INTERFACE_LINK_LIBRARIES "${_unityLinkInterfaceLibraries}") + if (COTIRE_DEBUG) + message (STATUS "unity target ${_unityTargetName} interface link libraries: ${_unityLinkInterfaceLibraries}") + endif() + endif() + endif() + endif() +endfunction(cotire_target_link_libraries) + +function (cotire_cleanup _binaryDir _cotireIntermediateDirName _targetName) + if (_targetName) + file (GLOB_RECURSE _cotireFiles "${_binaryDir}/${_targetName}*.*") + else() + file (GLOB_RECURSE _cotireFiles "${_binaryDir}/*.*") + endif() + # filter files in intermediate directory + set (_filesToRemove "") + foreach (_file ${_cotireFiles}) + get_filename_component(_dir "${_file}" DIRECTORY) + get_filename_component(_dirName "${_dir}" NAME) + if ("${_dirName}" STREQUAL "${_cotireIntermediateDirName}") + list (APPEND _filesToRemove "${_file}") + endif() + endforeach() + if (_filesToRemove) + if (COTIRE_VERBOSE) + message (STATUS "cleaning up ${_filesToRemove}") + endif() + file (REMOVE ${_filesToRemove}) + endif() +endfunction() + +function (cotire_init_target _targetName) + if (COTIRE_TARGETS_FOLDER) + set_target_properties(${_targetName} PROPERTIES FOLDER "${COTIRE_TARGETS_FOLDER}") + endif() + set_target_properties(${_targetName} PROPERTIES EXCLUDE_FROM_ALL TRUE) + if (MSVC_IDE) + set_target_properties(${_targetName} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD TRUE) + endif() +endfunction() + +function (cotire_add_to_pch_all_target _pchTargetName) + set (_targetName "${COTIRE_PCH_ALL_TARGET_NAME}") + if (NOT TARGET "${_targetName}") + add_custom_target("${_targetName}" + WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" + VERBATIM) + cotire_init_target("${_targetName}") + endif() + cotire_setup_clean_all_target() + add_dependencies(${_targetName} ${_pchTargetName}) +endfunction() + +function (cotire_add_to_unity_all_target _unityTargetName) + set (_targetName "${COTIRE_UNITY_BUILD_ALL_TARGET_NAME}") + if (NOT TARGET "${_targetName}") + add_custom_target("${_targetName}" + WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" + VERBATIM) + cotire_init_target("${_targetName}") + endif() + cotire_setup_clean_all_target() + add_dependencies(${_targetName} ${_unityTargetName}) +endfunction() + +function (cotire_setup_clean_all_target) + set (_targetName "${COTIRE_CLEAN_ALL_TARGET_NAME}") + if (NOT TARGET "${_targetName}") + cotire_set_cmd_to_prologue(_cmds) + list (APPEND _cmds -P "${COTIRE_CMAKE_MODULE_FILE}" "cleanup" "${CMAKE_BINARY_DIR}" "${COTIRE_INTDIR}") + add_custom_target(${_targetName} + COMMAND ${_cmds} + WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" + COMMENT "Cleaning up all cotire generated files" + VERBATIM) + cotire_init_target("${_targetName}") + endif() +endfunction() + +function (cotire) + set(_options "") + set(_oneValueArgs "") + set(_multiValueArgs LANGUAGES CONFIGURATIONS) + cmake_parse_arguments(_option "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN}) + set (_targets ${_option_UNPARSED_ARGUMENTS}) + foreach (_target ${_targets}) + if (TARGET ${_target}) + cotire_target(${_target} LANGUAGES ${_option_LANGUAGES} CONFIGURATIONS ${_option_CONFIGURATIONS}) + else() + message (WARNING "cotire: ${_target} is not a target.") + endif() + endforeach() + foreach (_target ${_targets}) + if (TARGET ${_target}) + cotire_target_link_libraries(${_target}) + endif() + endforeach() +endfunction() + +if (CMAKE_SCRIPT_MODE_FILE) + + # cotire is being run in script mode + # locate -P on command args + set (COTIRE_ARGC -1) + foreach (_index RANGE ${CMAKE_ARGC}) + if (COTIRE_ARGC GREATER -1) + set (COTIRE_ARGV${COTIRE_ARGC} "${CMAKE_ARGV${_index}}") + math (EXPR COTIRE_ARGC "${COTIRE_ARGC} + 1") + elseif ("${CMAKE_ARGV${_index}}" STREQUAL "-P") + set (COTIRE_ARGC 0) + endif() + endforeach() + + # include target script if available + if ("${COTIRE_ARGV2}" MATCHES "\\.cmake$") + # the included target scripts sets up additional variables relating to the target (e.g., COTIRE_TARGET_SOURCES) + include("${COTIRE_ARGV2}") + endif() + + if (COTIRE_DEBUG) + message (STATUS "${COTIRE_ARGV0} ${COTIRE_ARGV1} ${COTIRE_ARGV2} ${COTIRE_ARGV3} ${COTIRE_ARGV4} ${COTIRE_ARGV5}") + endif() + + if (NOT COTIRE_BUILD_TYPE) + set (COTIRE_BUILD_TYPE "None") + endif() + string (TOUPPER "${COTIRE_BUILD_TYPE}" _upperConfig) + set (_includeDirs ${COTIRE_TARGET_INCLUDE_DIRECTORIES_${_upperConfig}}) + set (_systemIncludeDirs ${COTIRE_TARGET_SYSTEM_INCLUDE_DIRECTORIES_${_upperConfig}}) + set (_compileDefinitions ${COTIRE_TARGET_COMPILE_DEFINITIONS_${_upperConfig}}) + set (_compileFlags ${COTIRE_TARGET_COMPILE_FLAGS_${_upperConfig}}) + # check if target has been cotired for actual build type COTIRE_BUILD_TYPE + list (FIND COTIRE_TARGET_CONFIGURATION_TYPES "${COTIRE_BUILD_TYPE}" _index) + if (_index GREATER -1) + set (_sources ${COTIRE_TARGET_SOURCES}) + set (_sourcesDefinitions ${COTIRE_TARGET_SOURCES_COMPILE_DEFINITIONS_${_upperConfig}}) + else() + if (COTIRE_DEBUG) + message (STATUS "COTIRE_BUILD_TYPE=${COTIRE_BUILD_TYPE} not cotired (${COTIRE_TARGET_CONFIGURATION_TYPES})") + endif() + set (_sources "") + set (_sourcesDefinitions "") + endif() + set (_targetPreUndefs ${COTIRE_TARGET_PRE_UNDEFS}) + set (_targetPostUndefs ${COTIRE_TARGET_POST_UNDEFS}) + set (_sourcesPreUndefs ${COTIRE_TARGET_SOURCES_PRE_UNDEFS}) + set (_sourcesPostUndefs ${COTIRE_TARGET_SOURCES_POST_UNDEFS}) + + if ("${COTIRE_ARGV1}" STREQUAL "unity") + + if (XCODE) + # executing pre-build action under Xcode, check dependency on target script + set (_dependsOption DEPENDS "${COTIRE_ARGV2}") + else() + # executing custom command, no need to re-check for dependencies + set (_dependsOption "") + endif() + + cotire_select_unity_source_files("${COTIRE_ARGV3}" _sources ${_sources}) + + cotire_generate_unity_source( + "${COTIRE_ARGV3}" ${_sources} + LANGUAGE "${COTIRE_TARGET_LANGUAGE}" + SOURCES_COMPILE_DEFINITIONS ${_sourcesDefinitions} + PRE_UNDEFS ${_targetPreUndefs} + POST_UNDEFS ${_targetPostUndefs} + SOURCES_PRE_UNDEFS ${_sourcesPreUndefs} + SOURCES_POST_UNDEFS ${_sourcesPostUndefs} + ${_dependsOption}) + + elseif ("${COTIRE_ARGV1}" STREQUAL "prefix") + + if (XCODE) + # executing pre-build action under Xcode, check dependency on unity file and prefix dependencies + set (_dependsOption DEPENDS "${COTIRE_ARGV4}" ${COTIRE_TARGET_PREFIX_DEPENDS}) + else() + # executing custom command, no need to re-check for dependencies + set (_dependsOption "") + endif() + + set (_files "") + foreach (_index RANGE 4 ${COTIRE_ARGC}) + if (COTIRE_ARGV${_index}) + list (APPEND _files "${COTIRE_ARGV${_index}}") + endif() + endforeach() + + cotire_generate_prefix_header( + "${COTIRE_ARGV3}" ${_files} + COMPILER_LAUNCHER "${COTIRE_TARGET_${COTIRE_TARGET_LANGUAGE}_COMPILER_LAUNCHER}" + COMPILER_EXECUTABLE "${CMAKE_${COTIRE_TARGET_LANGUAGE}_COMPILER}" + COMPILER_ARG1 ${CMAKE_${COTIRE_TARGET_LANGUAGE}_COMPILER_ARG1} + COMPILER_ID "${CMAKE_${COTIRE_TARGET_LANGUAGE}_COMPILER_ID}" + COMPILER_VERSION "${CMAKE_${COTIRE_TARGET_LANGUAGE}_COMPILER_VERSION}" + LANGUAGE "${COTIRE_TARGET_LANGUAGE}" + IGNORE_PATH "${COTIRE_TARGET_IGNORE_PATH};${COTIRE_ADDITIONAL_PREFIX_HEADER_IGNORE_PATH}" + INCLUDE_PATH ${COTIRE_TARGET_INCLUDE_PATH} + IGNORE_EXTENSIONS "${CMAKE_${COTIRE_TARGET_LANGUAGE}_SOURCE_FILE_EXTENSIONS};${COTIRE_ADDITIONAL_PREFIX_HEADER_IGNORE_EXTENSIONS}" + INCLUDE_PRIORITY_PATH ${COTIRE_TARGET_INCLUDE_PRIORITY_PATH} + INCLUDE_DIRECTORIES ${_includeDirs} + SYSTEM_INCLUDE_DIRECTORIES ${_systemIncludeDirs} + COMPILE_DEFINITIONS ${_compileDefinitions} + COMPILE_FLAGS ${_compileFlags} + ${_dependsOption}) + + elseif ("${COTIRE_ARGV1}" STREQUAL "precompile") + + set (_files "") + foreach (_index RANGE 5 ${COTIRE_ARGC}) + if (COTIRE_ARGV${_index}) + list (APPEND _files "${COTIRE_ARGV${_index}}") + endif() + endforeach() + + cotire_precompile_prefix_header( + "${COTIRE_ARGV3}" "${COTIRE_ARGV4}" "${COTIRE_ARGV5}" + COMPILER_LAUNCHER "${COTIRE_TARGET_${COTIRE_TARGET_LANGUAGE}_COMPILER_LAUNCHER}" + COMPILER_EXECUTABLE "${CMAKE_${COTIRE_TARGET_LANGUAGE}_COMPILER}" + COMPILER_ARG1 ${CMAKE_${COTIRE_TARGET_LANGUAGE}_COMPILER_ARG1} + COMPILER_ID "${CMAKE_${COTIRE_TARGET_LANGUAGE}_COMPILER_ID}" + COMPILER_VERSION "${CMAKE_${COTIRE_TARGET_LANGUAGE}_COMPILER_VERSION}" + LANGUAGE "${COTIRE_TARGET_LANGUAGE}" + INCLUDE_DIRECTORIES ${_includeDirs} + SYSTEM_INCLUDE_DIRECTORIES ${_systemIncludeDirs} + COMPILE_DEFINITIONS ${_compileDefinitions} + COMPILE_FLAGS ${_compileFlags}) + + elseif ("${COTIRE_ARGV1}" STREQUAL "combine") + + if (COTIRE_TARGET_LANGUAGE) + set (_combinedFile "${COTIRE_ARGV3}") + set (_startIndex 4) + else() + set (_combinedFile "${COTIRE_ARGV2}") + set (_startIndex 3) + endif() + set (_files "") + foreach (_index RANGE ${_startIndex} ${COTIRE_ARGC}) + if (COTIRE_ARGV${_index}) + list (APPEND _files "${COTIRE_ARGV${_index}}") + endif() + endforeach() + + if (XCODE) + # executing pre-build action under Xcode, check dependency on files to be combined + set (_dependsOption DEPENDS ${_files}) + else() + # executing custom command, no need to re-check for dependencies + set (_dependsOption "") + endif() + + if (COTIRE_TARGET_LANGUAGE) + cotire_generate_unity_source( + "${_combinedFile}" ${_files} + LANGUAGE "${COTIRE_TARGET_LANGUAGE}" + ${_dependsOption}) + else() + cotire_generate_unity_source("${_combinedFile}" ${_files} ${_dependsOption}) + endif() + + elseif ("${COTIRE_ARGV1}" STREQUAL "cleanup") + + cotire_cleanup("${COTIRE_ARGV2}" "${COTIRE_ARGV3}" "${COTIRE_ARGV4}") + + else() + message (FATAL_ERROR "cotire: unknown command \"${COTIRE_ARGV1}\".") + endif() + +else() + + # cotire is being run in include mode + # set up all variable and property definitions + + if (NOT DEFINED COTIRE_DEBUG_INIT) + if (DEFINED COTIRE_DEBUG) + set (COTIRE_DEBUG_INIT ${COTIRE_DEBUG}) + else() + set (COTIRE_DEBUG_INIT FALSE) + endif() + endif() + option (COTIRE_DEBUG "Enable cotire debugging output?" ${COTIRE_DEBUG_INIT}) + + if (NOT DEFINED COTIRE_VERBOSE_INIT) + if (DEFINED COTIRE_VERBOSE) + set (COTIRE_VERBOSE_INIT ${COTIRE_VERBOSE}) + else() + set (COTIRE_VERBOSE_INIT FALSE) + endif() + endif() + option (COTIRE_VERBOSE "Enable cotire verbose output?" ${COTIRE_VERBOSE_INIT}) + + set (COTIRE_ADDITIONAL_PREFIX_HEADER_IGNORE_EXTENSIONS "inc;inl;ipp" CACHE STRING + "Ignore headers with the listed file extensions from the generated prefix header.") + + set (COTIRE_ADDITIONAL_PREFIX_HEADER_IGNORE_PATH "" CACHE STRING + "Ignore headers from these directories when generating the prefix header.") + + set (COTIRE_UNITY_SOURCE_EXCLUDE_EXTENSIONS "m;mm" CACHE STRING + "Ignore sources with the listed file extensions from the generated unity source.") + + set (COTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES "3" CACHE STRING + "Minimum number of sources in target required to enable use of precompiled header.") + + if (NOT DEFINED COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES_INIT) + if (DEFINED COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES) + set (COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES_INIT ${COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES}) + elseif ("${CMAKE_GENERATOR}" MATCHES "JOM|Ninja|Visual Studio") + # enable parallelization for generators that run multiple jobs by default + set (COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES_INIT "-j") + else() + set (COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES_INIT "0") + endif() + endif() + set (COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES "${COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES_INIT}" CACHE STRING + "Maximum number of source files to include in a single unity source file.") + + if (NOT COTIRE_PREFIX_HEADER_FILENAME_SUFFIX) + set (COTIRE_PREFIX_HEADER_FILENAME_SUFFIX "_prefix") + endif() + if (NOT COTIRE_UNITY_SOURCE_FILENAME_SUFFIX) + set (COTIRE_UNITY_SOURCE_FILENAME_SUFFIX "_unity") + endif() + if (NOT COTIRE_INTDIR) + set (COTIRE_INTDIR "cotire") + endif() + if (NOT COTIRE_PCH_ALL_TARGET_NAME) + set (COTIRE_PCH_ALL_TARGET_NAME "all_pch") + endif() + if (NOT COTIRE_UNITY_BUILD_ALL_TARGET_NAME) + set (COTIRE_UNITY_BUILD_ALL_TARGET_NAME "all_unity") + endif() + if (NOT COTIRE_CLEAN_ALL_TARGET_NAME) + set (COTIRE_CLEAN_ALL_TARGET_NAME "clean_cotire") + endif() + if (NOT COTIRE_CLEAN_TARGET_SUFFIX) + set (COTIRE_CLEAN_TARGET_SUFFIX "_clean_cotire") + endif() + if (NOT COTIRE_PCH_TARGET_SUFFIX) + set (COTIRE_PCH_TARGET_SUFFIX "_pch") + endif() + if (MSVC) + # MSVC default PCH memory scaling factor of 100 percent (75 MB) is too small for template heavy C++ code + # use a bigger default factor of 170 percent (128 MB) + if (NOT DEFINED COTIRE_PCH_MEMORY_SCALING_FACTOR) + set (COTIRE_PCH_MEMORY_SCALING_FACTOR "170") + endif() + endif() + if (NOT COTIRE_UNITY_BUILD_TARGET_SUFFIX) + set (COTIRE_UNITY_BUILD_TARGET_SUFFIX "_unity") + endif() + if (NOT DEFINED COTIRE_TARGETS_FOLDER) + set (COTIRE_TARGETS_FOLDER "cotire") + endif() + if (NOT DEFINED COTIRE_UNITY_OUTPUT_DIRECTORY) + if ("${CMAKE_GENERATOR}" MATCHES "Ninja") + # generated Ninja build files do not work if the unity target produces the same output file as the cotired target + set (COTIRE_UNITY_OUTPUT_DIRECTORY "unity") + else() + set (COTIRE_UNITY_OUTPUT_DIRECTORY "") + endif() + endif() + + # define cotire cache variables + + define_property( + CACHED_VARIABLE PROPERTY "COTIRE_ADDITIONAL_PREFIX_HEADER_IGNORE_PATH" + BRIEF_DOCS "Ignore headers from these directories when generating the prefix header." + FULL_DOCS + "The variable can be set to a semicolon separated list of include directories." + "If a header file is found in one of these directories or sub-directories, it will be excluded from the generated prefix header." + "If not defined, defaults to empty list." + ) + + define_property( + CACHED_VARIABLE PROPERTY "COTIRE_ADDITIONAL_PREFIX_HEADER_IGNORE_EXTENSIONS" + BRIEF_DOCS "Ignore includes with the listed file extensions from the generated prefix header." + FULL_DOCS + "The variable can be set to a semicolon separated list of file extensions." + "If a header file extension matches one in the list, it will be excluded from the generated prefix header." + "Includes with an extension in CMAKE__SOURCE_FILE_EXTENSIONS are always ignored." + "If not defined, defaults to inc;inl;ipp." + ) + + define_property( + CACHED_VARIABLE PROPERTY "COTIRE_UNITY_SOURCE_EXCLUDE_EXTENSIONS" + BRIEF_DOCS "Exclude sources with the listed file extensions from the generated unity source." + FULL_DOCS + "The variable can be set to a semicolon separated list of file extensions." + "If a source file extension matches one in the list, it will be excluded from the generated unity source file." + "Source files with an extension in CMAKE__IGNORE_EXTENSIONS are always excluded." + "If not defined, defaults to m;mm." + ) + + define_property( + CACHED_VARIABLE PROPERTY "COTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES" + BRIEF_DOCS "Minimum number of sources in target required to enable use of precompiled header." + FULL_DOCS + "The variable can be set to an integer > 0." + "If a target contains less than that number of source files, cotire will not enable the use of the precompiled header for the target." + "If not defined, defaults to 3." + ) + + define_property( + CACHED_VARIABLE PROPERTY "COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES" + BRIEF_DOCS "Maximum number of source files to include in a single unity source file." + FULL_DOCS + "This may be set to an integer >= 0." + "If 0, cotire will only create a single unity source file." + "If a target contains more than that number of source files, cotire will create multiple unity source files for it." + "Can be set to \"-j\" to optimize the count of unity source files for the number of available processor cores." + "Can be set to \"-j jobs\" to optimize the number of unity source files for the given number of simultaneous jobs." + "Is used to initialize the target property COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES." + "Defaults to \"-j\" for the generators Visual Studio, JOM or Ninja. Defaults to 0 otherwise." + ) + + # define cotire directory properties + + define_property( + DIRECTORY PROPERTY "COTIRE_ENABLE_PRECOMPILED_HEADER" + BRIEF_DOCS "Modify build command of cotired targets added in this directory to make use of the generated precompiled header." + FULL_DOCS + "See target property COTIRE_ENABLE_PRECOMPILED_HEADER." + ) + + define_property( + DIRECTORY PROPERTY "COTIRE_ADD_UNITY_BUILD" + BRIEF_DOCS "Add a new target that performs a unity build for cotired targets added in this directory." + FULL_DOCS + "See target property COTIRE_ADD_UNITY_BUILD." + ) + + define_property( + DIRECTORY PROPERTY "COTIRE_ADD_CLEAN" + BRIEF_DOCS "Add a new target that cleans all cotire generated files for cotired targets added in this directory." + FULL_DOCS + "See target property COTIRE_ADD_CLEAN." + ) + + define_property( + DIRECTORY PROPERTY "COTIRE_PREFIX_HEADER_IGNORE_PATH" + BRIEF_DOCS "Ignore headers from these directories when generating the prefix header." + FULL_DOCS + "See target property COTIRE_PREFIX_HEADER_IGNORE_PATH." + ) + + define_property( + DIRECTORY PROPERTY "COTIRE_PREFIX_HEADER_INCLUDE_PATH" + BRIEF_DOCS "Honor headers from these directories when generating the prefix header." + FULL_DOCS + "See target property COTIRE_PREFIX_HEADER_INCLUDE_PATH." + ) + + define_property( + DIRECTORY PROPERTY "COTIRE_PREFIX_HEADER_INCLUDE_PRIORITY_PATH" + BRIEF_DOCS "Header paths matching one of these directories are put at the top of the prefix header." + FULL_DOCS + "See target property COTIRE_PREFIX_HEADER_INCLUDE_PRIORITY_PATH." + ) + + define_property( + DIRECTORY PROPERTY "COTIRE_UNITY_SOURCE_PRE_UNDEFS" + BRIEF_DOCS "Preprocessor undefs to place in the generated unity source file before the inclusion of each source file." + FULL_DOCS + "See target property COTIRE_UNITY_SOURCE_PRE_UNDEFS." + ) + + define_property( + DIRECTORY PROPERTY "COTIRE_UNITY_SOURCE_POST_UNDEFS" + BRIEF_DOCS "Preprocessor undefs to place in the generated unity source file after the inclusion of each source file." + FULL_DOCS + "See target property COTIRE_UNITY_SOURCE_POST_UNDEFS." + ) + + define_property( + DIRECTORY PROPERTY "COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES" + BRIEF_DOCS "Maximum number of source files to include in a single unity source file." + FULL_DOCS + "See target property COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES." + ) + + define_property( + DIRECTORY PROPERTY "COTIRE_UNITY_LINK_LIBRARIES_INIT" + BRIEF_DOCS "Define strategy for setting up the unity target's link libraries." + FULL_DOCS + "See target property COTIRE_UNITY_LINK_LIBRARIES_INIT." + ) + + # define cotire target properties + + define_property( + TARGET PROPERTY "COTIRE_ENABLE_PRECOMPILED_HEADER" INHERITED + BRIEF_DOCS "Modify this target's build command to make use of the generated precompiled header." + FULL_DOCS + "If this property is set to TRUE, cotire will modify the build command to make use of the generated precompiled header." + "Irrespective of the value of this property, cotire will setup custom commands to generate the unity source and prefix header for the target." + "For makefile based generators cotire will also set up a custom target to manually invoke the generation of the precompiled header." + "The target name will be set to this target's name with the suffix _pch appended." + "Inherited from directory." + "Defaults to TRUE." + ) + + define_property( + TARGET PROPERTY "COTIRE_ADD_UNITY_BUILD" INHERITED + BRIEF_DOCS "Add a new target that performs a unity build for this target." + FULL_DOCS + "If this property is set to TRUE, cotire creates a new target of the same type that uses the generated unity source file instead of the target sources." + "Most of the relevant target properties will be copied from this target to the new unity build target." + "Target dependencies and linked libraries have to be manually set up for the new unity build target." + "The unity target name will be set to this target's name with the suffix _unity appended." + "Inherited from directory." + "Defaults to TRUE." + ) + + define_property( + TARGET PROPERTY "COTIRE_ADD_CLEAN" INHERITED + BRIEF_DOCS "Add a new target that cleans all cotire generated files for this target." + FULL_DOCS + "If this property is set to TRUE, cotire creates a new target that clean all files (unity source, prefix header, precompiled header)." + "The clean target name will be set to this target's name with the suffix _clean_cotire appended." + "Inherited from directory." + "Defaults to FALSE." + ) + + define_property( + TARGET PROPERTY "COTIRE_PREFIX_HEADER_IGNORE_PATH" INHERITED + BRIEF_DOCS "Ignore headers from these directories when generating the prefix header." + FULL_DOCS + "The property can be set to a list of directories." + "If a header file is found in one of these directories or sub-directories, it will be excluded from the generated prefix header." + "Inherited from directory." + "If not set, this property is initialized to \${CMAKE_SOURCE_DIR};\${CMAKE_BINARY_DIR}." + ) + + define_property( + TARGET PROPERTY "COTIRE_PREFIX_HEADER_INCLUDE_PATH" INHERITED + BRIEF_DOCS "Honor headers from these directories when generating the prefix header." + FULL_DOCS + "The property can be set to a list of directories." + "If a header file is found in one of these directories or sub-directories, it will be included in the generated prefix header." + "If a header file is both selected by COTIRE_PREFIX_HEADER_IGNORE_PATH and COTIRE_PREFIX_HEADER_INCLUDE_PATH," + "the option which yields the closer relative path match wins." + "Inherited from directory." + "If not set, this property is initialized to the empty list." + ) + + define_property( + TARGET PROPERTY "COTIRE_PREFIX_HEADER_INCLUDE_PRIORITY_PATH" INHERITED + BRIEF_DOCS "Header paths matching one of these directories are put at the top of prefix header." + FULL_DOCS + "The property can be set to a list of directories." + "Header file paths matching one of these directories will be inserted at the beginning of the generated prefix header." + "Header files are sorted according to the order of the directories in the property." + "If not set, this property is initialized to the empty list." + ) + + define_property( + TARGET PROPERTY "COTIRE_UNITY_SOURCE_PRE_UNDEFS" INHERITED + BRIEF_DOCS "Preprocessor undefs to place in the generated unity source file before the inclusion of each target source file." + FULL_DOCS + "This may be set to a semicolon-separated list of preprocessor symbols." + "cotire will add corresponding #undef directives to the generated unit source file before each target source file." + "Inherited from directory." + "Defaults to empty string." + ) + + define_property( + TARGET PROPERTY "COTIRE_UNITY_SOURCE_POST_UNDEFS" INHERITED + BRIEF_DOCS "Preprocessor undefs to place in the generated unity source file after the inclusion of each target source file." + FULL_DOCS + "This may be set to a semicolon-separated list of preprocessor symbols." + "cotire will add corresponding #undef directives to the generated unit source file after each target source file." + "Inherited from directory." + "Defaults to empty string." + ) + + define_property( + TARGET PROPERTY "COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES" INHERITED + BRIEF_DOCS "Maximum number of source files to include in a single unity source file." + FULL_DOCS + "This may be set to an integer > 0." + "If a target contains more than that number of source files, cotire will create multiple unity build files for it." + "If not set, cotire will only create a single unity source file." + "Inherited from directory." + "Defaults to empty." + ) + + define_property( + TARGET PROPERTY "COTIRE__UNITY_SOURCE_INIT" + BRIEF_DOCS "User provided unity source file to be used instead of the automatically generated one." + FULL_DOCS + "If set, cotire will only add the given file(s) to the generated unity source file." + "If not set, cotire will add all the target source files to the generated unity source file." + "The property can be set to a user provided unity source file." + "Defaults to empty." + ) + + define_property( + TARGET PROPERTY "COTIRE__PREFIX_HEADER_INIT" + BRIEF_DOCS "User provided prefix header file to be used instead of the automatically generated one." + FULL_DOCS + "If set, cotire will add the given header file(s) to the generated prefix header file." + "If not set, cotire will generate a prefix header by tracking the header files included by the unity source file." + "The property can be set to a user provided prefix header file (e.g., stdafx.h)." + "Defaults to empty." + ) + + define_property( + TARGET PROPERTY "COTIRE_UNITY_LINK_LIBRARIES_INIT" INHERITED + BRIEF_DOCS "Define strategy for setting up unity target's link libraries." + FULL_DOCS + "If this property is empty or set to NONE, the generated unity target's link libraries have to be set up manually." + "If this property is set to COPY, the unity target's link libraries will be copied from this target." + "If this property is set to COPY_UNITY, the unity target's link libraries will be copied from this target with considering existing unity targets." + "Inherited from directory." + "Defaults to empty." + ) + + define_property( + TARGET PROPERTY "COTIRE__UNITY_SOURCE" + BRIEF_DOCS "Read-only property. The generated unity source file(s)." + FULL_DOCS + "cotire sets this property to the path of the generated single computation unit source file for the target." + "Defaults to empty string." + ) + + define_property( + TARGET PROPERTY "COTIRE__PREFIX_HEADER" + BRIEF_DOCS "Read-only property. The generated prefix header file." + FULL_DOCS + "cotire sets this property to the full path of the generated language prefix header for the target." + "Defaults to empty string." + ) + + define_property( + TARGET PROPERTY "COTIRE__PRECOMPILED_HEADER" + BRIEF_DOCS "Read-only property. The generated precompiled header file." + FULL_DOCS + "cotire sets this property to the full path of the generated language precompiled header binary for the target." + "Defaults to empty string." + ) + + define_property( + TARGET PROPERTY "COTIRE_UNITY_TARGET_NAME" + BRIEF_DOCS "The name of the generated unity build target corresponding to this target." + FULL_DOCS + "This property can be set to the desired name of the unity target that will be created by cotire." + "If not set, the unity target name will be set to this target's name with the suffix _unity appended." + "After this target has been processed by cotire, the property is set to the actual name of the generated unity target." + "Defaults to empty string." + ) + + # define cotire source properties + + define_property( + SOURCE PROPERTY "COTIRE_EXCLUDED" + BRIEF_DOCS "Do not modify source file's build command." + FULL_DOCS + "If this property is set to TRUE, the source file's build command will not be modified to make use of the precompiled header." + "The source file will also be excluded from the generated unity source file." + "Source files that have their COMPILE_FLAGS property set will be excluded by default." + "Defaults to FALSE." + ) + + define_property( + SOURCE PROPERTY "COTIRE_DEPENDENCY" + BRIEF_DOCS "Add this source file to dependencies of the automatically generated prefix header file." + FULL_DOCS + "If this property is set to TRUE, the source file is added to dependencies of the generated prefix header file." + "If the file is modified, cotire will re-generate the prefix header source upon build." + "Defaults to FALSE." + ) + + define_property( + SOURCE PROPERTY "COTIRE_UNITY_SOURCE_PRE_UNDEFS" + BRIEF_DOCS "Preprocessor undefs to place in the generated unity source file before the inclusion of this source file." + FULL_DOCS + "This may be set to a semicolon-separated list of preprocessor symbols." + "cotire will add corresponding #undef directives to the generated unit source file before this file is included." + "Defaults to empty string." + ) + + define_property( + SOURCE PROPERTY "COTIRE_UNITY_SOURCE_POST_UNDEFS" + BRIEF_DOCS "Preprocessor undefs to place in the generated unity source file after the inclusion of this source file." + FULL_DOCS + "This may be set to a semicolon-separated list of preprocessor symbols." + "cotire will add corresponding #undef directives to the generated unit source file after this file is included." + "Defaults to empty string." + ) + + define_property( + SOURCE PROPERTY "COTIRE_START_NEW_UNITY_SOURCE" + BRIEF_DOCS "Start a new unity source file which includes this source file as the first one." + FULL_DOCS + "If this property is set to TRUE, cotire will complete the current unity file and start a new one." + "The new unity source file will include this source file as the first one." + "This property essentially works as a separator for unity source files." + "Defaults to FALSE." + ) + + define_property( + SOURCE PROPERTY "COTIRE_TARGET" + BRIEF_DOCS "Read-only property. Mark this source file as cotired for the given target." + FULL_DOCS + "cotire sets this property to the name of target, that the source file's build command has been altered for." + "Defaults to empty string." + ) + + message (STATUS "cotire ${COTIRE_CMAKE_MODULE_VERSION} loaded.") + +endif() diff --git a/cmake_modules/FindSFML.cmake b/cmake_modules/FindSFML.cmake deleted file mode 100644 index ba1217d..0000000 --- a/cmake_modules/FindSFML.cmake +++ /dev/null @@ -1,368 +0,0 @@ -# This script locates the SFML library -# ------------------------------------ -# -# Usage -# ----- -# -# When you try to locate the SFML libraries, you must specify which modules you want to use (system, window, graphics, network, audio, main). -# If none is given, the SFML_LIBRARIES variable will be empty and you'll end up linking to nothing. -# example: -# find_package(SFML COMPONENTS graphics window system) // find the graphics, window and system modules -# -# You can enforce a specific version, either MAJOR.MINOR or only MAJOR. -# If nothing is specified, the version won't be checked (i.e. any version will be accepted). -# example: -# find_package(SFML COMPONENTS ...) // no specific version required -# find_package(SFML 2 COMPONENTS ...) // any 2.x version -# find_package(SFML 2.4 COMPONENTS ...) // version 2.4 or greater -# -# By default, the dynamic libraries of SFML will be found. To find the static ones instead, -# you must set the SFML_STATIC_LIBRARIES variable to TRUE before calling find_package(SFML ...). -# Since you have to link yourself all the SFML dependencies when you link it statically, the following -# additional variables are defined: SFML_XXX_DEPENDENCIES and SFML_DEPENDENCIES (see their detailed -# description below). -# In case of static linking, the SFML_STATIC macro will also be defined by this script. -# example: -# set(SFML_STATIC_LIBRARIES TRUE) -# find_package(SFML 2 COMPONENTS network system) -# -# On Mac OS X if SFML_STATIC_LIBRARIES is not set to TRUE then by default CMake will search for frameworks unless -# CMAKE_FIND_FRAMEWORK is set to "NEVER" for example. Please refer to CMake documentation for more details. -# Moreover, keep in mind that SFML frameworks are only available as release libraries unlike dylibs which -# are available for both release and debug modes. -# -# If SFML is not installed in a standard path, you can use the SFML_ROOT CMake (or environment) variable -# to tell CMake where SFML is. -# -# Output -# ------ -# -# This script defines the following variables: -# - For each specified module XXX (system, window, graphics, network, audio, main): -# - SFML_XXX_LIBRARY_DEBUG: the name of the debug library of the xxx module (set to SFML_XXX_LIBRARY_RELEASE is no debug version is found) -# - SFML_XXX_LIBRARY_RELEASE: the name of the release library of the xxx module (set to SFML_XXX_LIBRARY_DEBUG is no release version is found) -# - SFML_XXX_LIBRARY: the name of the library to link to for the xxx module (includes both debug and optimized names if necessary) -# - SFML_XXX_FOUND: true if either the debug or release library of the xxx module is found -# - SFML_XXX_DEPENDENCIES: the list of libraries the module depends on, in case of static linking -# - SFML_LIBRARIES: the list of all libraries corresponding to the required modules -# - SFML_FOUND: true if all the required modules are found -# - SFML_INCLUDE_DIR: the path where SFML headers are located (the directory containing the SFML/Config.hpp file) -# - SFML_DEPENDENCIES: the list of libraries SFML depends on, in case of static linking -# -# example: -# find_package(SFML 2 COMPONENTS system window graphics audio REQUIRED) -# include_directories(${SFML_INCLUDE_DIR}) -# add_executable(myapp ...) -# target_link_libraries(myapp ${SFML_LIBRARIES}) - -# define the SFML_STATIC macro if static build was chosen -if (SFML_STATIC_LIBRARIES) - add_definitions(-DSFML_STATIC) -endif () - -# define the list of search paths for headers and libraries -set(FIND_SFML_PATHS - ${SFML_ROOT} - $ENV{SFML_ROOT} - ~/Library/Frameworks - /Library/Frameworks - /usr/local - /usr - /sw - /opt/local - /opt/csw - /opt) - -# find the SFML include directory -find_path(SFML_INCLUDE_DIR SFML/Config.hpp - PATH_SUFFIXES include - PATHS ${FIND_SFML_PATHS}) - -# check the version number -set(SFML_VERSION_OK TRUE) -if (SFML_FIND_VERSION AND SFML_INCLUDE_DIR) - # extract the major and minor version numbers from SFML/Config.hpp - # we have to handle gtest a little bit differently: - if ("${SFML_INCLUDE_DIR}" MATCHES "SFML.framework") - set(SFML_CONFIG_HPP_INPUT "${SFML_INCLUDE_DIR}/Headers/Config.hpp") - else () - set(SFML_CONFIG_HPP_INPUT "${SFML_INCLUDE_DIR}/SFML/Config.hpp") - endif () - FILE(READ "${SFML_CONFIG_HPP_INPUT}" SFML_CONFIG_HPP_CONTENTS) - STRING(REGEX REPLACE ".*#define SFML_VERSION_MAJOR ([0-9]+).*" "\\1" SFML_VERSION_MAJOR "${SFML_CONFIG_HPP_CONTENTS}") - STRING(REGEX REPLACE ".*#define SFML_VERSION_MINOR ([0-9]+).*" "\\1" SFML_VERSION_MINOR "${SFML_CONFIG_HPP_CONTENTS}") - STRING(REGEX REPLACE ".*#define SFML_VERSION_PATCH ([0-9]+).*" "\\1" SFML_VERSION_PATCH "${SFML_CONFIG_HPP_CONTENTS}") - if (NOT "${SFML_VERSION_PATCH}" MATCHES "^[0-9]+$") - set(SFML_VERSION_PATCH 0) - endif () - math(EXPR SFML_REQUESTED_VERSION "${SFML_FIND_VERSION_MAJOR} * 10000 + ${SFML_FIND_VERSION_MINOR} * 100 + ${SFML_FIND_VERSION_PATCH}") - - # if we could extract them, compare with the requested version number - if (SFML_VERSION_MAJOR) - # transform version numbers to an integer - math(EXPR SFML_VERSION "${SFML_VERSION_MAJOR} * 10000 + ${SFML_VERSION_MINOR} * 100 + ${SFML_VERSION_PATCH}") - - # compare them - if (SFML_VERSION LESS SFML_REQUESTED_VERSION) - set(SFML_VERSION_OK FALSE) - endif () - else () - # SFML version is < 2.0 - if (SFML_REQUESTED_VERSION GREATER 10900) - set(SFML_VERSION_OK FALSE) - set(SFML_VERSION_MAJOR 1) - set(SFML_VERSION_MINOR x) - set(SFML_VERSION_PATCH x) - endif () - endif () -endif () - -# find the requested modules -set(SFML_FOUND TRUE) # will be set to false if one of the required modules is not found -foreach (FIND_SFML_COMPONENT ${SFML_FIND_COMPONENTS}) - string(TOLOWER ${FIND_SFML_COMPONENT} FIND_SFML_COMPONENT_LOWER) - string(TOUPPER ${FIND_SFML_COMPONENT} FIND_SFML_COMPONENT_UPPER) - set(FIND_SFML_COMPONENT_NAME sfml-${FIND_SFML_COMPONENT_LOWER}) - - # no suffix for sfml-main, it is always a static library - if (FIND_SFML_COMPONENT_LOWER STREQUAL "main") - # release library - find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE - NAMES ${FIND_SFML_COMPONENT_NAME} - PATH_SUFFIXES lib64 lib - PATHS ${FIND_SFML_PATHS}) - - # debug library - find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG - NAMES ${FIND_SFML_COMPONENT_NAME}-d - PATH_SUFFIXES lib64 lib - PATHS ${FIND_SFML_PATHS}) - else () - # static release library - find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_RELEASE - NAMES ${FIND_SFML_COMPONENT_NAME}-s - PATH_SUFFIXES lib64 lib - PATHS ${FIND_SFML_PATHS}) - - # static debug library - find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_DEBUG - NAMES ${FIND_SFML_COMPONENT_NAME}-s-d - PATH_SUFFIXES lib64 lib - PATHS ${FIND_SFML_PATHS}) - - # dynamic release library - find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_RELEASE - NAMES ${FIND_SFML_COMPONENT_NAME} - PATH_SUFFIXES lib64 lib - PATHS ${FIND_SFML_PATHS}) - - # dynamic debug library - find_library(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_DEBUG - NAMES ${FIND_SFML_COMPONENT_NAME}-d - PATH_SUFFIXES lib64 lib - PATHS ${FIND_SFML_PATHS}) - - # choose the entries that fit the requested link m_type - if (SFML_STATIC_LIBRARIES) - if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_RELEASE) - set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_RELEASE}) - endif () - if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_DEBUG) - set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_DEBUG}) - endif () - else () - if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_RELEASE) - set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_RELEASE}) - endif () - if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_DEBUG) - set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_DEBUG}) - endif () - endif () - endif () - - if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG OR SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE) - # library found - set(SFML_${FIND_SFML_COMPONENT_UPPER}_FOUND TRUE) - - # if both are found, set SFML_XXX_LIBRARY to contain both - if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG AND SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE) - set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY debug ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG} - optimized ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE}) - endif () - - # if only one debug/release variant is found, set the other to be equal to the found one - if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG AND NOT SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE) - # debug and not release - set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG}) - set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG}) - endif () - if (SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE AND NOT SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG) - # release and not debug - set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE}) - set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE}) - endif () - else () - # library not found - set(SFML_FOUND FALSE) - set(SFML_${FIND_SFML_COMPONENT_UPPER}_FOUND FALSE) - set(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY "") - set(FIND_SFML_MISSING "${FIND_SFML_MISSING} SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY") - endif () - - # mark as advanced - MARK_AS_ADVANCED(SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY - SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_RELEASE - SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG - SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_RELEASE - SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_STATIC_DEBUG - SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_RELEASE - SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DYNAMIC_DEBUG) - - # add to the global list of libraries - set(SFML_LIBRARIES ${SFML_LIBRARIES} "${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY}") -endforeach () - -# in case of static linking, we must also define the list of all the dependencies of SFML libraries -if (SFML_STATIC_LIBRARIES) - - # detect the OS - if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") - set(FIND_SFML_OS_WINDOWS 1) - elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") - set(FIND_SFML_OS_LINUX 1) - elseif (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") - set(FIND_SFML_OS_FREEBSD 1) - elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - set(FIND_SFML_OS_MACOSX 1) - endif () - - # start with an empty list - set(SFML_DEPENDENCIES) - set(FIND_SFML_DEPENDENCIES_NOTFOUND) - - # macro that searches for a 3rd-party library - macro(find_sfml_dependency output friendlyname) - # No lookup in environment variables (PATH on Windows), as they may contain wrong library versions - find_library(${output} NAMES ${ARGN} PATHS ${FIND_SFML_PATHS} PATH_SUFFIXES lib NO_SYSTEM_ENVIRONMENT_PATH) - if (${${output}} STREQUAL "${output}-NOTFOUND") - unset(output) - set(FIND_SFML_DEPENDENCIES_NOTFOUND "${FIND_SFML_DEPENDENCIES_NOTFOUND} ${friendlyname}") - endif () - endmacro() - - # sfml-system - list(FIND SFML_FIND_COMPONENTS "system" FIND_SFML_SYSTEM_COMPONENT) - if (NOT ${FIND_SFML_SYSTEM_COMPONENT} EQUAL -1) - - # Update the list -- these are only system libraries, no need to find them - if (FIND_SFML_OS_LINUX OR FIND_SFML_OS_FREEBSD OR FIND_SFML_OS_MACOSX) - set(SFML_SYSTEM_DEPENDENCIES "pthread") - endif () - if (FIND_SFML_OS_LINUX) - set(SFML_SYSTEM_DEPENDENCIES ${SFML_SYSTEM_DEPENDENCIES} "rt") - endif () - if (FIND_SFML_OS_WINDOWS) - set(SFML_SYSTEM_DEPENDENCIES "winmm") - endif () - set(SFML_DEPENDENCIES ${SFML_SYSTEM_DEPENDENCIES} ${SFML_DEPENDENCIES}) - endif () - - # sfml-network - list(FIND SFML_FIND_COMPONENTS "network" FIND_SFML_NETWORK_COMPONENT) - if (NOT ${FIND_SFML_NETWORK_COMPONENT} EQUAL -1) - - # Update the list -- these are only system libraries, no need to find them - if (FIND_SFML_OS_WINDOWS) - set(SFML_NETWORK_DEPENDENCIES "ws2_32") - endif () - set(SFML_DEPENDENCIES ${SFML_NETWORK_DEPENDENCIES} ${SFML_DEPENDENCIES}) - endif () - - # sfml-window - list(FIND SFML_FIND_COMPONENTS "window" FIND_SFML_WINDOW_COMPONENT) - if (NOT ${FIND_SFML_WINDOW_COMPONENT} EQUAL -1) - - # find libraries - if (FIND_SFML_OS_LINUX OR FIND_SFML_OS_FREEBSD) - find_sfml_dependency(X11_LIBRARY "X11" X11) - find_sfml_dependency(LIBXCB_LIBRARIES "XCB" xcb libxcb) - find_sfml_dependency(X11_XCB_LIBRARY "X11-xcb" X11-xcb libX11-xcb) - find_sfml_dependency(XCB_RANDR_LIBRARY "xcb-randr" xcb-randr libxcb-randr) - find_sfml_dependency(XCB_IMAGE_LIBRARY "xcb-image" xcb-image libxcb-image) - endif () - - if (FIND_SFML_OS_LINUX) - find_sfml_dependency(UDEV_LIBRARIES "UDev" udev libudev) - endif () - - # Update the list - if (FIND_SFML_OS_WINDOWS) - set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "opengl32" "winmm" "gdi32") - elseif (FIND_SFML_OS_LINUX) - set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "GL" ${X11_LIBRARY} ${LIBXCB_LIBRARIES} ${X11_XCB_LIBRARY} ${XCB_RANDR_LIBRARY} ${XCB_IMAGE_LIBRARY} ${UDEV_LIBRARIES}) - elseif (FIND_SFML_OS_FREEBSD) - set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "GL" ${X11_LIBRARY} ${LIBXCB_LIBRARIES} ${X11_XCB_LIBRARY} ${XCB_RANDR_LIBRARY} ${XCB_IMAGE_LIBRARY} "usbhid") - elseif (FIND_SFML_OS_MACOSX) - set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "-framework OpenGL -framework Foundation -framework AppKit -framework IOKit -framework Carbon") - endif () - set(SFML_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} ${SFML_DEPENDENCIES}) - endif () - - # sfml-graphics - list(FIND SFML_FIND_COMPONENTS "graphics" FIND_SFML_GRAPHICS_COMPONENT) - if (NOT ${FIND_SFML_GRAPHICS_COMPONENT} EQUAL -1) - - # find libraries - find_sfml_dependency(FREETYPE_LIBRARY "FreeType" freetype) - find_sfml_dependency(JPEG_LIBRARY "libjpeg" jpeg) - - # Update the list - set(SFML_GRAPHICS_DEPENDENCIES ${FREETYPE_LIBRARY} ${JPEG_LIBRARY}) - set(SFML_DEPENDENCIES ${SFML_GRAPHICS_DEPENDENCIES} ${SFML_DEPENDENCIES}) - endif () - - # sfml-audio - list(FIND SFML_FIND_COMPONENTS "audio" FIND_SFML_AUDIO_COMPONENT) - if (NOT ${FIND_SFML_AUDIO_COMPONENT} EQUAL -1) - - # find libraries - find_sfml_dependency(OPENAL_LIBRARY "OpenAL" openal openal32) - find_sfml_dependency(OGG_LIBRARY "Ogg" ogg) - find_sfml_dependency(VORBIS_LIBRARY "Vorbis" vorbis) - find_sfml_dependency(VORBISFILE_LIBRARY "VorbisFile" vorbisfile) - find_sfml_dependency(VORBISENC_LIBRARY "VorbisEnc" vorbisenc) - find_sfml_dependency(FLAC_LIBRARY "FLAC" FLAC) - - # Update the list - set(SFML_AUDIO_DEPENDENCIES ${OPENAL_LIBRARY} ${FLAC_LIBRARY} ${VORBISENC_LIBRARY} ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} ${OGG_LIBRARY}) - set(SFML_DEPENDENCIES ${SFML_DEPENDENCIES} ${SFML_AUDIO_DEPENDENCIES}) - endif () - -endif () - -# handle errors -if (NOT SFML_VERSION_OK) - # SFML version not ok - set(FIND_SFML_ERROR "SFML found but version too low (requested: ${SFML_FIND_VERSION}, found: ${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH})") - set(SFML_FOUND FALSE) -elseif (SFML_STATIC_LIBRARIES AND FIND_SFML_DEPENDENCIES_NOTFOUND) - set(FIND_SFML_ERROR "SFML found but some of its dependencies are missing (${FIND_SFML_DEPENDENCIES_NOTFOUND})") - set(SFML_FOUND FALSE) -elseif (NOT SFML_FOUND) - # include directory or library not found - set(FIND_SFML_ERROR "Could NOT find SFML (missing: ${FIND_SFML_MISSING})") -endif () -if (NOT SFML_FOUND) - if (SFML_FIND_REQUIRED) - # fatal error - message(FATAL_ERROR ${FIND_SFML_ERROR}) - elseif (NOT SFML_FIND_QUIETLY) - # error but continue - message("${FIND_SFML_ERROR}") - endif () -endif () - -# handle success -if (SFML_FOUND AND NOT SFML_FIND_QUIETLY) - message(STATUS "Found SFML ${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH} in ${SFML_INCLUDE_DIR}") -endif () diff --git a/cwd/items.json b/cwd/items.json new file mode 100644 index 0000000..7367d1e --- /dev/null +++ b/cwd/items.json @@ -0,0 +1,4298 @@ +[ + { + "type": 0, + "meta": 0, + "name": "Air", + "text_type": "air" + }, + { + "type": 1, + "meta": 0, + "name": "Stone", + "text_type": "stone" + }, + { + "type": 1, + "meta": 1, + "name": "Granite", + "text_type": "stone" + }, + { + "type": 1, + "meta": 2, + "name": "Polished Granite", + "text_type": "stone" + }, + { + "type": 1, + "meta": 3, + "name": "Diorite", + "text_type": "stone" + }, + { + "type": 1, + "meta": 4, + "name": "Polished Diorite", + "text_type": "stone" + }, + { + "type": 1, + "meta": 5, + "name": "Andesite", + "text_type": "stone" + }, + { + "type": 1, + "meta": 6, + "name": "Polished Andesite", + "text_type": "stone" + }, + { + "type": 2, + "meta": 0, + "name": "Grass", + "text_type": "grass" + }, + { + "type": 3, + "meta": 0, + "name": "Dirt", + "text_type": "dirt" + }, + { + "type": 3, + "meta": 1, + "name": "Coarse Dirt", + "text_type": "dirt" + }, + { + "type": 3, + "meta": 2, + "name": "Podzol", + "text_type": "dirt" + }, + { + "type": 4, + "meta": 0, + "name": "Cobblestone", + "text_type": "cobblestone" + }, + { + "type": 5, + "meta": 0, + "name": "Oak Wood Plank", + "text_type": "planks" + }, + { + "type": 5, + "meta": 1, + "name": "Spruce Wood Plank", + "text_type": "planks" + }, + { + "type": 5, + "meta": 2, + "name": "Birch Wood Plank", + "text_type": "planks" + }, + { + "type": 5, + "meta": 3, + "name": "Jungle Wood Plank", + "text_type": "planks" + }, + { + "type": 5, + "meta": 4, + "name": "Acacia Wood Plank", + "text_type": "planks" + }, + { + "type": 5, + "meta": 5, + "name": "Dark Oak Wood Plank", + "text_type": "planks" + }, + { + "type": 6, + "meta": 0, + "name": "Oak Sapling", + "text_type": "sapling" + }, + { + "type": 6, + "meta": 1, + "name": "Spruce Sapling", + "text_type": "sapling" + }, + { + "type": 6, + "meta": 2, + "name": "Birch Sapling", + "text_type": "sapling" + }, + { + "type": 6, + "meta": 3, + "name": "Jungle Sapling", + "text_type": "sapling" + }, + { + "type": 6, + "meta": 4, + "name": "Acacia Sapling", + "text_type": "sapling" + }, + { + "type": 6, + "meta": 5, + "name": "Dark Oak Sapling", + "text_type": "sapling" + }, + { + "type": 7, + "meta": 0, + "name": "Bedrock", + "text_type": "bedrock" + }, + { + "type": 8, + "meta": 0, + "name": "Flowing Water", + "text_type": "flowing_water" + }, + { + "type": 9, + "meta": 0, + "name": "Still Water", + "text_type": "water" + }, + { + "type": 10, + "meta": 0, + "name": "Flowing Lava", + "text_type": "flowing_lava" + }, + { + "type": 11, + "meta": 0, + "name": "Still Lava", + "text_type": "lava" + }, + { + "type": 12, + "meta": 0, + "name": "Sand", + "text_type": "sand" + }, + { + "type": 12, + "meta": 1, + "name": "Red Sand", + "text_type": "sand" + }, + { + "type": 13, + "meta": 0, + "name": "Gravel", + "text_type": "gravel" + }, + { + "type": 14, + "meta": 0, + "name": "Gold Ore", + "text_type": "gold_ore" + }, + { + "type": 15, + "meta": 0, + "name": "Iron Ore", + "text_type": "iron_ore" + }, + { + "type": 16, + "meta": 0, + "name": "Coal Ore", + "text_type": "coal_ore" + }, + { + "type": 17, + "meta": 0, + "name": "Oak Wood", + "text_type": "log" + }, + { + "type": 17, + "meta": 1, + "name": "Spruce Wood", + "text_type": "log" + }, + { + "type": 17, + "meta": 2, + "name": "Birch Wood", + "text_type": "log" + }, + { + "type": 17, + "meta": 3, + "name": "Jungle Wood", + "text_type": "log" + }, + { + "type": 18, + "meta": 0, + "name": "Oak Leaves", + "text_type": "leaves" + }, + { + "type": 18, + "meta": 1, + "name": "Spruce Leaves", + "text_type": "leaves" + }, + { + "type": 18, + "meta": 2, + "name": "Birch Leaves", + "text_type": "leaves" + }, + { + "type": 18, + "meta": 3, + "name": "Jungle Leaves", + "text_type": "leaves" + }, + { + "type": 19, + "meta": 0, + "name": "Sponge", + "text_type": "sponge" + }, + { + "type": 19, + "meta": 1, + "name": "Wet Sponge", + "text_type": "sponge" + }, + { + "type": 20, + "meta": 0, + "name": "Glass", + "text_type": "glass" + }, + { + "type": 21, + "meta": 0, + "name": "Lapis Lazuli Ore", + "text_type": "lapis_ore" + }, + { + "type": 22, + "meta": 0, + "name": "Lapis Lazuli Block", + "text_type": "lapis_block" + }, + { + "type": 23, + "meta": 0, + "name": "Dispenser", + "text_type": "dispenser" + }, + { + "type": 24, + "meta": 0, + "name": "Sandstone", + "text_type": "sandstone" + }, + { + "type": 24, + "meta": 1, + "name": "Chiseled Sandstone", + "text_type": "sandstone" + }, + { + "type": 24, + "meta": 2, + "name": "Smooth Sandstone", + "text_type": "sandstone" + }, + { + "type": 25, + "meta": 0, + "name": "Note Block", + "text_type": "noteblock" + }, + { + "type": 26, + "meta": 0, + "name": "Bed", + "text_type": "bed" + }, + { + "type": 27, + "meta": 0, + "name": "Powered Rail", + "text_type": "golden_rail" + }, + { + "type": 28, + "meta": 0, + "name": "Detector Rail", + "text_type": "detector_rail" + }, + { + "type": 29, + "meta": 0, + "name": "Sticky Piston", + "text_type": "sticky_piston" + }, + { + "type": 30, + "meta": 0, + "name": "Cobweb", + "text_type": "web" + }, + { + "type": 31, + "meta": 0, + "name": "Dead Shrub", + "text_type": "tallgrass" + }, + { + "type": 31, + "meta": 1, + "name": "Grass", + "text_type": "tallgrass" + }, + { + "type": 31, + "meta": 2, + "name": "Fern", + "text_type": "tallgrass" + }, + { + "type": 32, + "meta": 0, + "name": "Dead Bush", + "text_type": "deadbush" + }, + { + "type": 33, + "meta": 0, + "name": "Piston", + "text_type": "piston" + }, + { + "type": 34, + "meta": 0, + "name": "Piston Head", + "text_type": "piston_head" + }, + { + "type": 35, + "meta": 0, + "name": "White Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 1, + "name": "Orange Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 2, + "name": "Magenta Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 3, + "name": "Light Blue Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 4, + "name": "Yellow Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 5, + "name": "Lime Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 6, + "name": "Pink Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 7, + "name": "Gray Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 8, + "name": "Light Gray Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 9, + "name": "Cyan Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 10, + "name": "Purple Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 11, + "name": "Blue Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 12, + "name": "Brown Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 13, + "name": "Green Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 14, + "name": "Red Wool", + "text_type": "wool" + }, + { + "type": 35, + "meta": 15, + "name": "Black Wool", + "text_type": "wool" + }, + { + "type": 37, + "meta": 0, + "name": "Dandelion", + "text_type": "yellow_flower" + }, + { + "type": 38, + "meta": 0, + "name": "Poppy", + "text_type": "red_flower" + }, + { + "type": 38, + "meta": 1, + "name": "Blue Orchid", + "text_type": "red_flower" + }, + { + "type": 38, + "meta": 2, + "name": "Allium", + "text_type": "red_flower" + }, + { + "type": 38, + "meta": 3, + "name": "Azure Bluet", + "text_type": "red_flower" + }, + { + "type": 38, + "meta": 4, + "name": "Red Tulip", + "text_type": "red_flower" + }, + { + "type": 38, + "meta": 5, + "name": "Orange Tulip", + "text_type": "red_flower" + }, + { + "type": 38, + "meta": 6, + "name": "White Tulip", + "text_type": "red_flower" + }, + { + "type": 38, + "meta": 7, + "name": "Pink Tulip", + "text_type": "red_flower" + }, + { + "type": 38, + "meta": 8, + "name": "Oxeye Daisy", + "text_type": "red_flower" + }, + { + "type": 39, + "meta": 0, + "name": "Brown Mushroom", + "text_type": "brown_mushroom" + }, + { + "type": 40, + "meta": 0, + "name": "Red Mushroom", + "text_type": "red_mushroom" + }, + { + "type": 41, + "meta": 0, + "name": "Gold Block", + "text_type": "gold_block" + }, + { + "type": 42, + "meta": 0, + "name": "Iron Block", + "text_type": "iron_block" + }, + { + "type": 43, + "meta": 0, + "name": "Double Stone Slab", + "text_type": "double_stone_slab" + }, + { + "type": 43, + "meta": 1, + "name": "Double Sandstone Slab", + "text_type": "double_stone_slab" + }, + { + "type": 43, + "meta": 2, + "name": "Double Wooden Slab", + "text_type": "double_stone_slab" + }, + { + "type": 43, + "meta": 3, + "name": "Double Cobblestone Slab", + "text_type": "double_stone_slab" + }, + { + "type": 43, + "meta": 4, + "name": "Double Brick Slab", + "text_type": "double_stone_slab" + }, + { + "type": 43, + "meta": 5, + "name": "Double Stone Brick Slab", + "text_type": "double_stone_slab" + }, + { + "type": 43, + "meta": 6, + "name": "Double Nether Brick Slab", + "text_type": "double_stone_slab" + }, + { + "type": 43, + "meta": 7, + "name": "Double Quartz Slab", + "text_type": "double_stone_slab" + }, + { + "type": 44, + "meta": 0, + "name": "Stone Slab", + "text_type": "stone_slab" + }, + { + "type": 44, + "meta": 1, + "name": "Sandstone Slab", + "text_type": "stone_slab" + }, + { + "type": 44, + "meta": 2, + "name": "Wooden Slab", + "text_type": "stone_slab" + }, + { + "type": 44, + "meta": 3, + "name": "Cobblestone Slab", + "text_type": "stone_slab" + }, + { + "type": 44, + "meta": 4, + "name": "Brick Slab", + "text_type": "stone_slab" + }, + { + "type": 44, + "meta": 5, + "name": "Stone Brick Slab", + "text_type": "stone_slab" + }, + { + "type": 44, + "meta": 6, + "name": "Nether Brick Slab", + "text_type": "stone_slab" + }, + { + "type": 44, + "meta": 7, + "name": "Quartz Slab", + "text_type": "stone_slab" + }, + { + "type": 45, + "meta": 0, + "name": "Bricks", + "text_type": "brick_block" + }, + { + "type": 46, + "meta": 0, + "name": "TNT", + "text_type": "tnt" + }, + { + "type": 47, + "meta": 0, + "name": "Bookshelf", + "text_type": "bookshelf" + }, + { + "type": 48, + "meta": 0, + "name": "Moss Stone", + "text_type": "mossy_cobblestone" + }, + { + "type": 49, + "meta": 0, + "name": "Obsidian", + "text_type": "obsidian" + }, + { + "type": 50, + "meta": 0, + "name": "Torch", + "text_type": "torch" + }, + { + "type": 51, + "meta": 0, + "name": "Fire", + "text_type": "fire" + }, + { + "type": 52, + "meta": 0, + "name": "Monster Spawner", + "text_type": "mob_spawner" + }, + { + "type": 53, + "meta": 0, + "name": "Oak Wood Stairs", + "text_type": "oak_stairs" + }, + { + "type": 54, + "meta": 0, + "name": "Chest", + "text_type": "chest" + }, + { + "type": 55, + "meta": 0, + "name": "Redstone Wire", + "text_type": "redstone_wire" + }, + { + "type": 56, + "meta": 0, + "name": "Diamond Ore", + "text_type": "diamond_ore" + }, + { + "type": 57, + "meta": 0, + "name": "Diamond Block", + "text_type": "diamond_block" + }, + { + "type": 58, + "meta": 0, + "name": "Crafting Table", + "text_type": "crafting_table" + }, + { + "type": 59, + "meta": 0, + "name": "Wheat Crops", + "text_type": "wheat" + }, + { + "type": 60, + "meta": 0, + "name": "Farmland", + "text_type": "farmland" + }, + { + "type": 61, + "meta": 0, + "name": "Furnace", + "text_type": "furnace" + }, + { + "type": 62, + "meta": 0, + "name": "Burning Furnace", + "text_type": "lit_furnace" + }, + { + "type": 63, + "meta": 0, + "name": "Standing Sign Block", + "text_type": "standing_sign" + }, + { + "type": 64, + "meta": 0, + "name": "Oak Door Block", + "text_type": "wooden_door" + }, + { + "type": 65, + "meta": 0, + "name": "Ladder", + "text_type": "ladder" + }, + { + "type": 66, + "meta": 0, + "name": "Rail", + "text_type": "rail" + }, + { + "type": 67, + "meta": 0, + "name": "Cobblestone Stairs", + "text_type": "stone_stairs" + }, + { + "type": 68, + "meta": 0, + "name": "Wall-mounted Sign Block", + "text_type": "wall_sign" + }, + { + "type": 69, + "meta": 0, + "name": "Lever", + "text_type": "lever" + }, + { + "type": 70, + "meta": 0, + "name": "Stone Pressure Plate", + "text_type": "stone_pressure_plate" + }, + { + "type": 71, + "meta": 0, + "name": "Iron Door Block", + "text_type": "iron_door" + }, + { + "type": 72, + "meta": 0, + "name": "Wooden Pressure Plate", + "text_type": "wooden_pressure_plate" + }, + { + "type": 73, + "meta": 0, + "name": "Redstone Ore", + "text_type": "redstone_ore" + }, + { + "type": 74, + "meta": 0, + "name": "Glowing Redstone Ore", + "text_type": "lit_redstone_ore" + }, + { + "type": 75, + "meta": 0, + "name": "Redstone Torch (off)", + "text_type": "unlit_redstone_torch" + }, + { + "type": 76, + "meta": 0, + "name": "Redstone Torch (on)", + "text_type": "redstone_torch" + }, + { + "type": 77, + "meta": 0, + "name": "Stone Button", + "text_type": "stone_button" + }, + { + "type": 78, + "meta": 0, + "name": "Snow", + "text_type": "snow_layer" + }, + { + "type": 79, + "meta": 0, + "name": "Ice", + "text_type": "ice" + }, + { + "type": 80, + "meta": 0, + "name": "Snow Block", + "text_type": "snow" + }, + { + "type": 81, + "meta": 0, + "name": "Cactus", + "text_type": "cactus" + }, + { + "type": 82, + "meta": 0, + "name": "Clay", + "text_type": "clay" + }, + { + "type": 83, + "meta": 0, + "name": "Sugar Canes", + "text_type": "reeds" + }, + { + "type": 84, + "meta": 0, + "name": "Jukebox", + "text_type": "jukebox" + }, + { + "type": 85, + "meta": 0, + "name": "Oak Fence", + "text_type": "fence" + }, + { + "type": 86, + "meta": 0, + "name": "Pumpkin", + "text_type": "pumpkin" + }, + { + "type": 87, + "meta": 0, + "name": "Netherrack", + "text_type": "netherrack" + }, + { + "type": 88, + "meta": 0, + "name": "Soul Sand", + "text_type": "soul_sand" + }, + { + "type": 89, + "meta": 0, + "name": "Glowstone", + "text_type": "glowstone" + }, + { + "type": 90, + "meta": 0, + "name": "Nether Portal", + "text_type": "portal" + }, + { + "type": 91, + "meta": 0, + "name": "Jack o'Lantern", + "text_type": "lit_pumpkin" + }, + { + "type": 92, + "meta": 0, + "name": "Cake Block", + "text_type": "cake" + }, + { + "type": 93, + "meta": 0, + "name": "Redstone Repeater Block (off)", + "text_type": "unpowered_repeater" + }, + { + "type": 94, + "meta": 0, + "name": "Redstone Repeater Block (on)", + "text_type": "powered_repeater" + }, + { + "type": 95, + "meta": 0, + "name": "White Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 1, + "name": "Orange Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 2, + "name": "Magenta Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 3, + "name": "Light Blue Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 4, + "name": "Yellow Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 5, + "name": "Lime Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 6, + "name": "Pink Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 7, + "name": "Gray Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 8, + "name": "Light Gray Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 9, + "name": "Cyan Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 10, + "name": "Purple Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 11, + "name": "Blue Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 12, + "name": "Brown Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 13, + "name": "Green Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 14, + "name": "Red Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 95, + "meta": 15, + "name": "Black Stained Glass", + "text_type": "stained_glass" + }, + { + "type": 96, + "meta": 0, + "name": "Wooden Trapdoor", + "text_type": "trapdoor" + }, + { + "type": 97, + "meta": 0, + "name": "Stone Monster Egg", + "text_type": "monster_egg" + }, + { + "type": 97, + "meta": 1, + "name": "Cobblestone Monster Egg", + "text_type": "monster_egg" + }, + { + "type": 97, + "meta": 2, + "name": "Stone Brick Monster Egg", + "text_type": "monster_egg" + }, + { + "type": 97, + "meta": 3, + "name": "Mossy Stone Brick Monster Egg", + "text_type": "monster_egg" + }, + { + "type": 97, + "meta": 4, + "name": "Cracked Stone Brick Monster Egg", + "text_type": "monster_egg" + }, + { + "type": 97, + "meta": 5, + "name": "Chiseled Stone Brick Monster Egg", + "text_type": "monster_egg" + }, + { + "type": 98, + "meta": 0, + "name": "Stone Bricks", + "text_type": "stonebrick" + }, + { + "type": 98, + "meta": 1, + "name": "Mossy Stone Bricks", + "text_type": "stonebrick" + }, + { + "type": 98, + "meta": 2, + "name": "Cracked Stone Bricks", + "text_type": "stonebrick" + }, + { + "type": 98, + "meta": 3, + "name": "Chiseled Stone Bricks", + "text_type": "stonebrick" + }, + { + "type": 99, + "meta": 0, + "name": "Brown Mushroom Block", + "text_type": "brown_mushroom_block" + }, + { + "type": 100, + "meta": 0, + "name": "Red Mushroom Block", + "text_type": "red_mushroom_block" + }, + { + "type": 101, + "meta": 0, + "name": "Iron Bars", + "text_type": "iron_bars" + }, + { + "type": 102, + "meta": 0, + "name": "Glass Pane", + "text_type": "glass_pane" + }, + { + "type": 103, + "meta": 0, + "name": "Melon Block", + "text_type": "melon_block" + }, + { + "type": 104, + "meta": 0, + "name": "Pumpkin Stem", + "text_type": "pumpkin_stem" + }, + { + "type": 105, + "meta": 0, + "name": "Melon Stem", + "text_type": "melon_stem" + }, + { + "type": 106, + "meta": 0, + "name": "Vines", + "text_type": "vine" + }, + { + "type": 107, + "meta": 0, + "name": "Oak Fence Gate", + "text_type": "fence_gate" + }, + { + "type": 108, + "meta": 0, + "name": "Brick Stairs", + "text_type": "brick_stairs" + }, + { + "type": 109, + "meta": 0, + "name": "Stone Brick Stairs", + "text_type": "stone_brick_stairs" + }, + { + "type": 110, + "meta": 0, + "name": "Mycelium", + "text_type": "mycelium" + }, + { + "type": 111, + "meta": 0, + "name": "Lily Pad", + "text_type": "waterlily" + }, + { + "type": 112, + "meta": 0, + "name": "Nether Brick", + "text_type": "nether_brick" + }, + { + "type": 113, + "meta": 0, + "name": "Nether Brick Fence", + "text_type": "nether_brick_fence" + }, + { + "type": 114, + "meta": 0, + "name": "Nether Brick Stairs", + "text_type": "nether_brick_stairs" + }, + { + "type": 115, + "meta": 0, + "name": "Nether Wart", + "text_type": "nether_wart" + }, + { + "type": 116, + "meta": 0, + "name": "Enchantment Table", + "text_type": "enchanting_table" + }, + { + "type": 117, + "meta": 0, + "name": "Brewing Stand", + "text_type": "brewing_stand" + }, + { + "type": 118, + "meta": 0, + "name": "Cauldron", + "text_type": "cauldron" + }, + { + "type": 119, + "meta": 0, + "name": "End Portal", + "text_type": "end_portal" + }, + { + "type": 120, + "meta": 0, + "name": "End Portal Frame", + "text_type": "end_portal_frame" + }, + { + "type": 121, + "meta": 0, + "name": "End Stone", + "text_type": "end_stone" + }, + { + "type": 122, + "meta": 0, + "name": "Dragon Egg", + "text_type": "dragon_egg" + }, + { + "type": 123, + "meta": 0, + "name": "Redstone Lamp (inactive)", + "text_type": "redstone_lamp" + }, + { + "type": 124, + "meta": 0, + "name": "Redstone Lamp (active)", + "text_type": "lit_redstone_lamp" + }, + { + "type": 125, + "meta": 0, + "name": "Double Oak Wood Slab", + "text_type": "double_wooden_slab" + }, + { + "type": 125, + "meta": 1, + "name": "Double Spruce Wood Slab", + "text_type": "double_wooden_slab" + }, + { + "type": 125, + "meta": 2, + "name": "Double Birch Wood Slab", + "text_type": "double_wooden_slab" + }, + { + "type": 125, + "meta": 3, + "name": "Double Jungle Wood Slab", + "text_type": "double_wooden_slab" + }, + { + "type": 125, + "meta": 4, + "name": "Double Acacia Wood Slab", + "text_type": "double_wooden_slab" + }, + { + "type": 125, + "meta": 5, + "name": "Double Dark Oak Wood Slab", + "text_type": "double_wooden_slab" + }, + { + "type": 126, + "meta": 0, + "name": "Oak Wood Slab", + "text_type": "wooden_slab" + }, + { + "type": 126, + "meta": 1, + "name": "Spruce Wood Slab", + "text_type": "wooden_slab" + }, + { + "type": 126, + "meta": 2, + "name": "Birch Wood Slab", + "text_type": "wooden_slab" + }, + { + "type": 126, + "meta": 3, + "name": "Jungle Wood Slab", + "text_type": "wooden_slab" + }, + { + "type": 126, + "meta": 4, + "name": "Acacia Wood Slab", + "text_type": "wooden_slab" + }, + { + "type": 126, + "meta": 5, + "name": "Dark Oak Wood Slab", + "text_type": "wooden_slab" + }, + { + "type": 127, + "meta": 0, + "name": "Cocoa", + "text_type": "cocoa" + }, + { + "type": 128, + "meta": 0, + "name": "Sandstone Stairs", + "text_type": "sandstone_stairs" + }, + { + "type": 129, + "meta": 0, + "name": "Emerald Ore", + "text_type": "emerald_ore" + }, + { + "type": 130, + "meta": 0, + "name": "Ender Chest", + "text_type": "ender_chest" + }, + { + "type": 131, + "meta": 0, + "name": "Tripwire Hook", + "text_type": "tripwire_hook" + }, + { + "type": 132, + "meta": 0, + "name": "Tripwire", + "text_type": "tripwire_hook" + }, + { + "type": 133, + "meta": 0, + "name": "Emerald Block", + "text_type": "emerald_block" + }, + { + "type": 134, + "meta": 0, + "name": "Spruce Wood Stairs", + "text_type": "spruce_stairs" + }, + { + "type": 135, + "meta": 0, + "name": "Birch Wood Stairs", + "text_type": "birch_stairs" + }, + { + "type": 136, + "meta": 0, + "name": "Jungle Wood Stairs", + "text_type": "jungle_stairs" + }, + { + "type": 137, + "meta": 0, + "name": "Command Block", + "text_type": "command_block" + }, + { + "type": 138, + "meta": 0, + "name": "Beacon", + "text_type": "beacon" + }, + { + "type": 139, + "meta": 0, + "name": "Cobblestone Wall", + "text_type": "cobblestone_wall" + }, + { + "type": 139, + "meta": 1, + "name": "Mossy Cobblestone Wall", + "text_type": "cobblestone_wall" + }, + { + "type": 140, + "meta": 0, + "name": "Flower Pot", + "text_type": "flower_pot" + }, + { + "type": 141, + "meta": 0, + "name": "Carrots", + "text_type": "carrots" + }, + { + "type": 142, + "meta": 0, + "name": "Potatoes", + "text_type": "potatoes" + }, + { + "type": 143, + "meta": 0, + "name": "Wooden Button", + "text_type": "wooden_button" + }, + { + "type": 144, + "meta": 0, + "name": "Mob Head", + "text_type": "skull" + }, + { + "type": 145, + "meta": 0, + "name": "Anvil", + "text_type": "anvil" + }, + { + "type": 146, + "meta": 0, + "name": "Trapped Chest", + "text_type": "trapped_chest" + }, + { + "type": 147, + "meta": 0, + "name": "Weighted Pressure Plate (light)", + "text_type": "light_weighted_pressure_plate" + }, + { + "type": 148, + "meta": 0, + "name": "Weighted Pressure Plate (heavy)", + "text_type": "heavy_weighted_pressure_plate" + }, + { + "type": 149, + "meta": 0, + "name": "Redstone Comparator (inactive)", + "text_type": "unpowered_comparator" + }, + { + "type": 150, + "meta": 0, + "name": "Redstone Comparator (active)", + "text_type": "powered_comparator" + }, + { + "type": 151, + "meta": 0, + "name": "Daylight Sensor", + "text_type": "daylight_detector" + }, + { + "type": 152, + "meta": 0, + "name": "Redstone Block", + "text_type": "redstone_block" + }, + { + "type": 153, + "meta": 0, + "name": "Nether Quartz Ore", + "text_type": "quartz_ore" + }, + { + "type": 154, + "meta": 0, + "name": "Hopper", + "text_type": "hopper" + }, + { + "type": 155, + "meta": 0, + "name": "Quartz Block", + "text_type": "quartz_block" + }, + { + "type": 155, + "meta": 1, + "name": "Chiseled Quartz Block", + "text_type": "quartz_block" + }, + { + "type": 155, + "meta": 2, + "name": "Pillar Quartz Block", + "text_type": "quartz_block" + }, + { + "type": 156, + "meta": 0, + "name": "Quartz Stairs", + "text_type": "quartz_stairs" + }, + { + "type": 157, + "meta": 0, + "name": "Activator Rail", + "text_type": "activator_rail" + }, + { + "type": 158, + "meta": 0, + "name": "Dropper", + "text_type": "dropper" + }, + { + "type": 159, + "meta": 0, + "name": "White Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 1, + "name": "Orange Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 2, + "name": "Magenta Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 3, + "name": "Light Blue Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 4, + "name": "Yellow Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 5, + "name": "Lime Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 6, + "name": "Pink Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 7, + "name": "Gray Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 8, + "name": "Light Gray Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 9, + "name": "Cyan Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 10, + "name": "Purple Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 11, + "name": "Blue Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 12, + "name": "Brown Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 13, + "name": "Green Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 14, + "name": "Red Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 159, + "meta": 15, + "name": "Black Hardened Clay", + "text_type": "stained_hardened_clay" + }, + { + "type": 160, + "meta": 0, + "name": "White Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 1, + "name": "Orange Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 2, + "name": "Magenta Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 3, + "name": "Light Blue Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 4, + "name": "Yellow Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 5, + "name": "Lime Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 6, + "name": "Pink Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 7, + "name": "Gray Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 8, + "name": "Light Gray Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 9, + "name": "Cyan Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 10, + "name": "Purple Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 11, + "name": "Blue Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 12, + "name": "Brown Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 13, + "name": "Green Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 14, + "name": "Red Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 160, + "meta": 15, + "name": "Black Stained Glass Pane", + "text_type": "stained_glass_pane" + }, + { + "type": 161, + "meta": 0, + "name": "Acacia Leaves", + "text_type": "leaves2" + }, + { + "type": 161, + "meta": 1, + "name": "Dark Oak Leaves", + "text_type": "leaves2" + }, + { + "type": 162, + "meta": 0, + "name": "Acacia Wood", + "text_type": "log2" + }, + { + "type": 162, + "meta": 1, + "name": "Dark Oak Wood", + "text_type": "log2" + }, + { + "type": 163, + "meta": 0, + "name": "Acacia Wood Stairs", + "text_type": "acacia_stairs" + }, + { + "type": 164, + "meta": 0, + "name": "Dark Oak Wood Stairs", + "text_type": "dark_oak_stairs" + }, + { + "type": 165, + "meta": 0, + "name": "Slime Block", + "text_type": "slime" + }, + { + "type": 166, + "meta": 0, + "name": "Barrier", + "text_type": "barrier" + }, + { + "type": 167, + "meta": 0, + "name": "Iron Trapdoor", + "text_type": "iron_trapdoor" + }, + { + "type": 168, + "meta": 0, + "name": "Prismarine", + "text_type": "prismarine" + }, + { + "type": 168, + "meta": 1, + "name": "Prismarine Bricks", + "text_type": "prismarine" + }, + { + "type": 168, + "meta": 2, + "name": "Dark Prismarine", + "text_type": "prismarine" + }, + { + "type": 169, + "meta": 0, + "name": "Sea Lantern", + "text_type": "sea_lantern" + }, + { + "type": 170, + "meta": 0, + "name": "Hay Bale", + "text_type": "hay_block" + }, + { + "type": 171, + "meta": 0, + "name": "White Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 1, + "name": "Orange Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 2, + "name": "Magenta Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 3, + "name": "Light Blue Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 4, + "name": "Yellow Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 5, + "name": "Lime Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 6, + "name": "Pink Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 7, + "name": "Gray Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 8, + "name": "Light Gray Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 9, + "name": "Cyan Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 10, + "name": "Purple Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 11, + "name": "Blue Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 12, + "name": "Brown Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 13, + "name": "Green Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 14, + "name": "Red Carpet", + "text_type": "carpet" + }, + { + "type": 171, + "meta": 15, + "name": "Black Carpet", + "text_type": "carpet" + }, + { + "type": 172, + "meta": 0, + "name": "Hardened Clay", + "text_type": "hardened_clay" + }, + { + "type": 173, + "meta": 0, + "name": "Block of Coal", + "text_type": "coal_block" + }, + { + "type": 174, + "meta": 0, + "name": "Packed Ice", + "text_type": "packed_ice" + }, + { + "type": 175, + "meta": 0, + "name": "Sunflower", + "text_type": "double_plant" + }, + { + "type": 175, + "meta": 1, + "name": "Lilac", + "text_type": "double_plant" + }, + { + "type": 175, + "meta": 2, + "name": "Double Tallgrass", + "text_type": "double_plant" + }, + { + "type": 175, + "meta": 3, + "name": "Large Fern", + "text_type": "double_plant" + }, + { + "type": 175, + "meta": 4, + "name": "Rose Bush", + "text_type": "double_plant" + }, + { + "type": 175, + "meta": 5, + "name": "Peony", + "text_type": "double_plant" + }, + { + "type": 176, + "meta": 0, + "name": "Free-standing Banner", + "text_type": "standing_banner" + }, + { + "type": 177, + "meta": 0, + "name": "Wall-mounted Banner", + "text_type": "wall_banner" + }, + { + "type": 178, + "meta": 0, + "name": "Inverted Daylight Sensor", + "text_type": "daylight_detector_inverted" + }, + { + "type": 179, + "meta": 0, + "name": "Red Sandstone", + "text_type": "red_sandstone" + }, + { + "type": 179, + "meta": 1, + "name": "Chiseled Red Sandstone", + "text_type": "red_sandstone" + }, + { + "type": 179, + "meta": 2, + "name": "Smooth Red Sandstone", + "text_type": "red_sandstone" + }, + { + "type": 180, + "meta": 0, + "name": "Red Sandstone Stairs", + "text_type": "red_sandstone_stairs" + }, + { + "type": 181, + "meta": 0, + "name": "Double Red Sandstone Slab", + "text_type": "double_stone_slab2" + }, + { + "type": 182, + "meta": 0, + "name": "Red Sandstone Slab", + "text_type": "stone_slab2" + }, + { + "type": 183, + "meta": 0, + "name": "Spruce Fence Gate", + "text_type": "spruce_fence_gate" + }, + { + "type": 184, + "meta": 0, + "name": "Birch Fence Gate", + "text_type": "birch_fence_gate" + }, + { + "type": 185, + "meta": 0, + "name": "Jungle Fence Gate", + "text_type": "jungle_fence_gate" + }, + { + "type": 186, + "meta": 0, + "name": "Dark Oak Fence Gate", + "text_type": "dark_oak_fence_gate" + }, + { + "type": 187, + "meta": 0, + "name": "Acacia Fence Gate", + "text_type": "acacia_fence_gate" + }, + { + "type": 188, + "meta": 0, + "name": "Spruce Fence", + "text_type": "spruce_fence" + }, + { + "type": 189, + "meta": 0, + "name": "Birch Fence", + "text_type": "birch_fence" + }, + { + "type": 190, + "meta": 0, + "name": "Jungle Fence", + "text_type": "jungle_fence" + }, + { + "type": 191, + "meta": 0, + "name": "Dark Oak Fence", + "text_type": "dark_oak_fence" + }, + { + "type": 192, + "meta": 0, + "name": "Acacia Fence", + "text_type": "acacia_fence" + }, + { + "type": 193, + "meta": 0, + "name": "Spruce Door Block", + "text_type": "spruce_door" + }, + { + "type": 194, + "meta": 0, + "name": "Birch Door Block", + "text_type": "birch_door" + }, + { + "type": 195, + "meta": 0, + "name": "Jungle Door Block", + "text_type": "jungle_door" + }, + { + "type": 196, + "meta": 0, + "name": "Acacia Door Block", + "text_type": "acacia_door" + }, + { + "type": 197, + "meta": 0, + "name": "Dark Oak Door Block", + "text_type": "dark_oak_door" + }, + { + "type": 198, + "meta": 0, + "name": "End Rod", + "text_type": "end_rod" + }, + { + "type": 199, + "meta": 0, + "name": "Chorus Plant", + "text_type": "chorus_plant" + }, + { + "type": 200, + "meta": 0, + "name": "Chorus Flower", + "text_type": "chorus_flower" + }, + { + "type": 201, + "meta": 0, + "name": "Purpur Block", + "text_type": "purpur_block" + }, + { + "type": 202, + "meta": 0, + "name": "Purpur Pillar", + "text_type": "purpur_pillar" + }, + { + "type": 203, + "meta": 0, + "name": "Purpur Stairs", + "text_type": "purpur_stairs" + }, + { + "type": 204, + "meta": 0, + "name": "Purpur Double Slab", + "text_type": "purpur_double_slab" + }, + { + "type": 205, + "meta": 0, + "name": "Purpur Slab", + "text_type": "purpur_slab" + }, + { + "type": 206, + "meta": 0, + "name": "End Stone Bricks", + "text_type": "end_bricks" + }, + { + "type": 207, + "meta": 0, + "name": "Beetroot Block", + "text_type": "beetroots" + }, + { + "type": 208, + "meta": 0, + "name": "Grass Path", + "text_type": "grass_path" + }, + { + "type": 209, + "meta": 0, + "name": "End Gateway", + "text_type": "end_gateway" + }, + { + "type": 210, + "meta": 0, + "name": "Repeating Command Block", + "text_type": "repeating_command_block" + }, + { + "type": 211, + "meta": 0, + "name": "Chain Command Block", + "text_type": "chain_command_block" + }, + { + "type": 212, + "meta": 0, + "name": "Frosted Ice", + "text_type": "frosted_ice" + }, + { + "type": 213, + "meta": 0, + "name": "Magma Block", + "text_type": "magma" + }, + { + "type": 214, + "meta": 0, + "name": "Nether Wart Block", + "text_type": "nether_wart_block" + }, + { + "type": 215, + "meta": 0, + "name": "Red Nether Brick", + "text_type": "red_nether_brick" + }, + { + "type": 216, + "meta": 0, + "name": "Bone Block", + "text_type": "bone_block" + }, + { + "type": 217, + "meta": 0, + "name": "Structure Void", + "text_type": "structure_void" + }, + { + "type": 218, + "meta": 0, + "name": "Observer", + "text_type": "observer" + }, + { + "type": 219, + "meta": 0, + "name": "White Shulker Box", + "text_type": "white_shulker_box" + }, + { + "type": 220, + "meta": 0, + "name": "Orange Shulker Box", + "text_type": "orange_shulker_box" + }, + { + "type": 221, + "meta": 0, + "name": "Magenta Shulker Box", + "text_type": "magenta_shulker_box" + }, + { + "type": 222, + "meta": 0, + "name": "Light Blue Shulker Box", + "text_type": "light_blue_shulker_box" + }, + { + "type": 223, + "meta": 0, + "name": "Yellow Shulker Box", + "text_type": "yellow_shulker_box" + }, + { + "type": 224, + "meta": 0, + "name": "Lime Shulker Box", + "text_type": "lime_shulker_box" + }, + { + "type": 225, + "meta": 0, + "name": "Pink Shulker Box", + "text_type": "pink_shulker_box" + }, + { + "type": 226, + "meta": 0, + "name": "Gray Shulker Box", + "text_type": "gray_shulker_box" + }, + { + "type": 227, + "meta": 0, + "name": "Light Gray Shulker Box", + "text_type": "silver_shulker_box" + }, + { + "type": 228, + "meta": 0, + "name": "Cyan Shulker Box", + "text_type": "cyan_shulker_box" + }, + { + "type": 229, + "meta": 0, + "name": "Purple Shulker Box", + "text_type": "purple_shulker_box" + }, + { + "type": 230, + "meta": 0, + "name": "Blue Shulker Box", + "text_type": "blue_shulker_box" + }, + { + "type": 231, + "meta": 0, + "name": "Brown Shulker Box", + "text_type": "brown_shulker_box" + }, + { + "type": 232, + "meta": 0, + "name": "Green Shulker Box", + "text_type": "green_shulker_box" + }, + { + "type": 233, + "meta": 0, + "name": "Red Shulker Box", + "text_type": "red_shulker_box" + }, + { + "type": 234, + "meta": 0, + "name": "Black Shulker Box", + "text_type": "black_shulker_box" + }, + { + "type": 235, + "meta": 0, + "name": "White Glazed Terracotta", + "text_type": "white_glazed_terracotta" + }, + { + "type": 236, + "meta": 0, + "name": "Orange Glazed Terracotta", + "text_type": "orange_glazed_terracotta" + }, + { + "type": 237, + "meta": 0, + "name": "Magenta Glazed Terracotta", + "text_type": "magenta_glazed_terracotta" + }, + { + "type": 238, + "meta": 0, + "name": "Light Blue Glazed Terracotta", + "text_type": "light_blue_glazed_terracotta" + }, + { + "type": 239, + "meta": 0, + "name": "Yellow Glazed Terracotta", + "text_type": "yellow_glazed_terracotta" + }, + { + "type": 240, + "meta": 0, + "name": "Lime Glazed Terracotta", + "text_type": "lime_glazed_terracotta" + }, + { + "type": 241, + "meta": 0, + "name": "Pink Glazed Terracotta", + "text_type": "pink_glazed_terracotta" + }, + { + "type": 242, + "meta": 0, + "name": "Gray Glazed Terracotta", + "text_type": "gray_glazed_terracotta" + }, + { + "type": 243, + "meta": 0, + "name": "Light Gray Glazed Terracotta", + "text_type": "light_gray_glazed_terracotta" + }, + { + "type": 244, + "meta": 0, + "name": "Cyan Glazed Terracotta", + "text_type": "cyan_glazed_terracotta" + }, + { + "type": 245, + "meta": 0, + "name": "Purple Glazed Terracotta", + "text_type": "purple_glazed_terracotta" + }, + { + "type": 246, + "meta": 0, + "name": "Blue Glazed Terracotta", + "text_type": "blue_glazed_terracotta" + }, + { + "type": 247, + "meta": 0, + "name": "Brown Glazed Terracotta", + "text_type": "brown_glazed_terracotta" + }, + { + "type": 248, + "meta": 0, + "name": "Green Glazed Terracotta", + "text_type": "green_glazed_terracotta" + }, + { + "type": 249, + "meta": 0, + "name": "Red Glazed Terracotta", + "text_type": "red_glazed_terracotta" + }, + { + "type": 250, + "meta": 0, + "name": "Black Glazed Terracotta", + "text_type": "black_glazed_terracotta" + }, + { + "type": 251, + "meta": 0, + "name": "White Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 1, + "name": "Orange Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 2, + "name": "Magenta Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 3, + "name": "Light Blue Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 4, + "name": "Yellow Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 5, + "name": "Lime Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 6, + "name": "Pink Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 7, + "name": "Gray Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 8, + "name": "Light Gray Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 9, + "name": "Cyan Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 10, + "name": "Purple Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 11, + "name": "Blue Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 12, + "name": "Brown Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 13, + "name": "Green Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 14, + "name": "Red Concrete", + "text_type": "concrete" + }, + { + "type": 251, + "meta": 15, + "name": "Black Concrete", + "text_type": "concrete" + }, + { + "type": 252, + "meta": 0, + "name": "White Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 1, + "name": "Orange Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 2, + "name": "Magenta Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 3, + "name": "Light Blue Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 4, + "name": "Yellow Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 5, + "name": "Lime Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 6, + "name": "Pink Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 7, + "name": "Gray Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 8, + "name": "Light Gray Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 9, + "name": "Cyan Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 10, + "name": "Purple Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 11, + "name": "Blue Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 12, + "name": "Brown Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 13, + "name": "Green Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 14, + "name": "Red Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 252, + "meta": 15, + "name": "Black Concrete Powder", + "text_type": "concrete_powder" + }, + { + "type": 255, + "meta": 0, + "name": "Structure Block", + "text_type": "structure_block" + }, + { + "type": 256, + "meta": 0, + "name": "Iron Shovel", + "text_type": "iron_shovel" + }, + { + "type": 257, + "meta": 0, + "name": "Iron Pickaxe", + "text_type": "iron_pickaxe" + }, + { + "type": 258, + "meta": 0, + "name": "Iron Axe", + "text_type": "iron_axe" + }, + { + "type": 259, + "meta": 0, + "name": "Flint and Steel", + "text_type": "flint_and_steel" + }, + { + "type": 260, + "meta": 0, + "name": "Apple", + "text_type": "apple" + }, + { + "type": 261, + "meta": 0, + "name": "Bow", + "text_type": "bow" + }, + { + "type": 262, + "meta": 0, + "name": "Arrow", + "text_type": "arrow" + }, + { + "type": 263, + "meta": 0, + "name": "Coal", + "text_type": "coal" + }, + { + "type": 263, + "meta": 1, + "name": "Charcoal", + "text_type": "coal" + }, + { + "type": 264, + "meta": 0, + "name": "Diamond", + "text_type": "diamond" + }, + { + "type": 265, + "meta": 0, + "name": "Iron Ingot", + "text_type": "iron_ingot" + }, + { + "type": 266, + "meta": 0, + "name": "Gold Ingot", + "text_type": "gold_ingot" + }, + { + "type": 267, + "meta": 0, + "name": "Iron Sword", + "text_type": "iron_sword" + }, + { + "type": 268, + "meta": 0, + "name": "Wooden Sword", + "text_type": "wooden_sword" + }, + { + "type": 269, + "meta": 0, + "name": "Wooden Shovel", + "text_type": "wooden_shovel" + }, + { + "type": 270, + "meta": 0, + "name": "Wooden Pickaxe", + "text_type": "wooden_pickaxe" + }, + { + "type": 271, + "meta": 0, + "name": "Wooden Axe", + "text_type": "wooden_axe" + }, + { + "type": 272, + "meta": 0, + "name": "Stone Sword", + "text_type": "stone_sword" + }, + { + "type": 273, + "meta": 0, + "name": "Stone Shovel", + "text_type": "stone_shovel" + }, + { + "type": 274, + "meta": 0, + "name": "Stone Pickaxe", + "text_type": "stone_pickaxe" + }, + { + "type": 275, + "meta": 0, + "name": "Stone Axe", + "text_type": "stone_axe" + }, + { + "type": 276, + "meta": 0, + "name": "Diamond Sword", + "text_type": "diamond_sword" + }, + { + "type": 277, + "meta": 0, + "name": "Diamond Shovel", + "text_type": "diamond_shovel" + }, + { + "type": 278, + "meta": 0, + "name": "Diamond Pickaxe", + "text_type": "diamond_pickaxe" + }, + { + "type": 279, + "meta": 0, + "name": "Diamond Axe", + "text_type": "diamond_axe" + }, + { + "type": 280, + "meta": 0, + "name": "Stick", + "text_type": "stick" + }, + { + "type": 281, + "meta": 0, + "name": "Bowl", + "text_type": "bowl" + }, + { + "type": 282, + "meta": 0, + "name": "Mushroom Stew", + "text_type": "mushroom_stew" + }, + { + "type": 283, + "meta": 0, + "name": "Golden Sword", + "text_type": "golden_sword" + }, + { + "type": 284, + "meta": 0, + "name": "Golden Shovel", + "text_type": "golden_shovel" + }, + { + "type": 285, + "meta": 0, + "name": "Golden Pickaxe", + "text_type": "golden_pickaxe" + }, + { + "type": 286, + "meta": 0, + "name": "Golden Axe", + "text_type": "golden_axe" + }, + { + "type": 287, + "meta": 0, + "name": "String", + "text_type": "string" + }, + { + "type": 288, + "meta": 0, + "name": "Feather", + "text_type": "feather" + }, + { + "type": 289, + "meta": 0, + "name": "Gunpowder", + "text_type": "gunpowder" + }, + { + "type": 290, + "meta": 0, + "name": "Wooden Hoe", + "text_type": "wooden_hoe" + }, + { + "type": 291, + "meta": 0, + "name": "Stone Hoe", + "text_type": "stone_hoe" + }, + { + "type": 292, + "meta": 0, + "name": "Iron Hoe", + "text_type": "iron_hoe" + }, + { + "type": 293, + "meta": 0, + "name": "Diamond Hoe", + "text_type": "diamond_hoe" + }, + { + "type": 294, + "meta": 0, + "name": "Golden Hoe", + "text_type": "golden_hoe" + }, + { + "type": 295, + "meta": 0, + "name": "Wheat Seeds", + "text_type": "wheat_seeds" + }, + { + "type": 296, + "meta": 0, + "name": "Wheat", + "text_type": "wheat" + }, + { + "type": 297, + "meta": 0, + "name": "Bread", + "text_type": "bread" + }, + { + "type": 298, + "meta": 0, + "name": "Leather Helmet", + "text_type": "leather_helmet" + }, + { + "type": 299, + "meta": 0, + "name": "Leather Tunic", + "text_type": "leather_chestplate" + }, + { + "type": 300, + "meta": 0, + "name": "Leather Pants", + "text_type": "leather_leggings" + }, + { + "type": 301, + "meta": 0, + "name": "Leather Boots", + "text_type": "leather_boots" + }, + { + "type": 302, + "meta": 0, + "name": "Chainmail Helmet", + "text_type": "chainmail_helmet" + }, + { + "type": 303, + "meta": 0, + "name": "Chainmail Chestplate", + "text_type": "chainmail_chestplate" + }, + { + "type": 304, + "meta": 0, + "name": "Chainmail Leggings", + "text_type": "chainmail_leggings" + }, + { + "type": 305, + "meta": 0, + "name": "Chainmail Boots", + "text_type": "chainmail_boots" + }, + { + "type": 306, + "meta": 0, + "name": "Iron Helmet", + "text_type": "iron_helmet" + }, + { + "type": 307, + "meta": 0, + "name": "Iron Chestplate", + "text_type": "iron_chestplate" + }, + { + "type": 308, + "meta": 0, + "name": "Iron Leggings", + "text_type": "iron_leggings" + }, + { + "type": 309, + "meta": 0, + "name": "Iron Boots", + "text_type": "iron_boots" + }, + { + "type": 310, + "meta": 0, + "name": "Diamond Helmet", + "text_type": "diamond_helmet" + }, + { + "type": 311, + "meta": 0, + "name": "Diamond Chestplate", + "text_type": "diamond_chestplate" + }, + { + "type": 312, + "meta": 0, + "name": "Diamond Leggings", + "text_type": "diamond_leggings" + }, + { + "type": 313, + "meta": 0, + "name": "Diamond Boots", + "text_type": "diamond_boots" + }, + { + "type": 314, + "meta": 0, + "name": "Golden Helmet", + "text_type": "golden_helmet" + }, + { + "type": 315, + "meta": 0, + "name": "Golden Chestplate", + "text_type": "golden_chestplate" + }, + { + "type": 316, + "meta": 0, + "name": "Golden Leggings", + "text_type": "golden_leggings" + }, + { + "type": 317, + "meta": 0, + "name": "Golden Boots", + "text_type": "golden_boots" + }, + { + "type": 318, + "meta": 0, + "name": "Flint", + "text_type": "flint" + }, + { + "type": 319, + "meta": 0, + "name": "Raw Porkchop", + "text_type": "porkchop" + }, + { + "type": 320, + "meta": 0, + "name": "Cooked Porkchop", + "text_type": "cooked_porkchop" + }, + { + "type": 321, + "meta": 0, + "name": "Painting", + "text_type": "painting" + }, + { + "type": 322, + "meta": 0, + "name": "Golden Apple", + "text_type": "golden_apple" + }, + { + "type": 322, + "meta": 1, + "name": "Enchanted Golden Apple", + "text_type": "golden_apple" + }, + { + "type": 323, + "meta": 0, + "name": "Sign", + "text_type": "sign" + }, + { + "type": 324, + "meta": 0, + "name": "Oak Door", + "text_type": "wooden_door" + }, + { + "type": 325, + "meta": 0, + "name": "Bucket", + "text_type": "bucket" + }, + { + "type": 326, + "meta": 0, + "name": "Water Bucket", + "text_type": "water_bucket" + }, + { + "type": 327, + "meta": 0, + "name": "Lava Bucket", + "text_type": "lava_bucket" + }, + { + "type": 328, + "meta": 0, + "name": "Minecart", + "text_type": "minecart" + }, + { + "type": 329, + "meta": 0, + "name": "Saddle", + "text_type": "saddle" + }, + { + "type": 330, + "meta": 0, + "name": "Iron Door", + "text_type": "iron_door" + }, + { + "type": 331, + "meta": 0, + "name": "Redstone", + "text_type": "redstone" + }, + { + "type": 332, + "meta": 0, + "name": "Snowball", + "text_type": "snowball" + }, + { + "type": 333, + "meta": 0, + "name": "Oak Boat", + "text_type": "boat" + }, + { + "type": 334, + "meta": 0, + "name": "Leather", + "text_type": "leather" + }, + { + "type": 335, + "meta": 0, + "name": "Milk Bucket", + "text_type": "milk_bucket" + }, + { + "type": 336, + "meta": 0, + "name": "Brick", + "text_type": "brick" + }, + { + "type": 337, + "meta": 0, + "name": "Clay", + "text_type": "clay_ball" + }, + { + "type": 338, + "meta": 0, + "name": "Sugar Canes", + "text_type": "reeds" + }, + { + "type": 339, + "meta": 0, + "name": "Paper", + "text_type": "paper" + }, + { + "type": 340, + "meta": 0, + "name": "Book", + "text_type": "book" + }, + { + "type": 341, + "meta": 0, + "name": "Slimeball", + "text_type": "slime_ball" + }, + { + "type": 342, + "meta": 0, + "name": "Minecart with Chest", + "text_type": "chest_minecart" + }, + { + "type": 343, + "meta": 0, + "name": "Minecart with Furnace", + "text_type": "furnace_minecart" + }, + { + "type": 344, + "meta": 0, + "name": "Egg", + "text_type": "egg" + }, + { + "type": 345, + "meta": 0, + "name": "Compass", + "text_type": "compass" + }, + { + "type": 346, + "meta": 0, + "name": "Fishing Rod", + "text_type": "fishing_rod" + }, + { + "type": 347, + "meta": 0, + "name": "Clock", + "text_type": "clock" + }, + { + "type": 348, + "meta": 0, + "name": "Glowstone Dust", + "text_type": "glowstone_dust" + }, + { + "type": 349, + "meta": 0, + "name": "Raw Fish", + "text_type": "fish" + }, + { + "type": 349, + "meta": 1, + "name": "Raw Salmon", + "text_type": "fish" + }, + { + "type": 349, + "meta": 2, + "name": "Clownfish", + "text_type": "fish" + }, + { + "type": 349, + "meta": 3, + "name": "Pufferfish", + "text_type": "fish" + }, + { + "type": 350, + "meta": 0, + "name": "Cooked Fish", + "text_type": "cooked_fish" + }, + { + "type": 350, + "meta": 1, + "name": "Cooked Salmon", + "text_type": "cooked_fish" + }, + { + "type": 351, + "meta": 0, + "name": "Ink Sack", + "text_type": "dye" + }, + { + "type": 351, + "meta": 1, + "name": "Rose Red", + "text_type": "dye" + }, + { + "type": 351, + "meta": 2, + "name": "Cactus Green", + "text_type": "dye" + }, + { + "type": 351, + "meta": 3, + "name": "Coco Beans", + "text_type": "dye" + }, + { + "type": 351, + "meta": 4, + "name": "Lapis Lazuli", + "text_type": "dye" + }, + { + "type": 351, + "meta": 5, + "name": "Purple Dye", + "text_type": "dye" + }, + { + "type": 351, + "meta": 6, + "name": "Cyan Dye", + "text_type": "dye" + }, + { + "type": 351, + "meta": 7, + "name": "Light Gray Dye", + "text_type": "dye" + }, + { + "type": 351, + "meta": 8, + "name": "Gray Dye", + "text_type": "dye" + }, + { + "type": 351, + "meta": 9, + "name": "Pink Dye", + "text_type": "dye" + }, + { + "type": 351, + "meta": 10, + "name": "Lime Dye", + "text_type": "dye" + }, + { + "type": 351, + "meta": 11, + "name": "Dandelion Yellow", + "text_type": "dye" + }, + { + "type": 351, + "meta": 12, + "name": "Light Blue Dye", + "text_type": "dye" + }, + { + "type": 351, + "meta": 13, + "name": "Magenta Dye", + "text_type": "dye" + }, + { + "type": 351, + "meta": 14, + "name": "Orange Dye", + "text_type": "dye" + }, + { + "type": 351, + "meta": 15, + "name": "Bone Meal", + "text_type": "dye" + }, + { + "type": 352, + "meta": 0, + "name": "Bone", + "text_type": "bone" + }, + { + "type": 353, + "meta": 0, + "name": "Sugar", + "text_type": "sugar" + }, + { + "type": 354, + "meta": 0, + "name": "Cake", + "text_type": "cake" + }, + { + "type": 355, + "meta": 0, + "name": "Bed", + "text_type": "bed" + }, + { + "type": 356, + "meta": 0, + "name": "Redstone Repeater", + "text_type": "repeater" + }, + { + "type": 357, + "meta": 0, + "name": "Cookie", + "text_type": "cookie" + }, + { + "type": 358, + "meta": 0, + "name": "Map", + "text_type": "filled_map" + }, + { + "type": 359, + "meta": 0, + "name": "Shears", + "text_type": "shears" + }, + { + "type": 360, + "meta": 0, + "name": "Melon", + "text_type": "melon" + }, + { + "type": 361, + "meta": 0, + "name": "Pumpkin Seeds", + "text_type": "pumpkin_seeds" + }, + { + "type": 362, + "meta": 0, + "name": "Melon Seeds", + "text_type": "melon_seeds" + }, + { + "type": 363, + "meta": 0, + "name": "Raw Beef", + "text_type": "beef" + }, + { + "type": 364, + "meta": 0, + "name": "Steak", + "text_type": "cooked_beef" + }, + { + "type": 365, + "meta": 0, + "name": "Raw Chicken", + "text_type": "chicken" + }, + { + "type": 366, + "meta": 0, + "name": "Cooked Chicken", + "text_type": "cooked_chicken" + }, + { + "type": 367, + "meta": 0, + "name": "Rotten Flesh", + "text_type": "rotten_flesh" + }, + { + "type": 368, + "meta": 0, + "name": "Ender Pearl", + "text_type": "ender_pearl" + }, + { + "type": 369, + "meta": 0, + "name": "Blaze Rod", + "text_type": "blaze_rod" + }, + { + "type": 370, + "meta": 0, + "name": "Ghast Tear", + "text_type": "ghast_tear" + }, + { + "type": 371, + "meta": 0, + "name": "Gold Nugget", + "text_type": "gold_nugget" + }, + { + "type": 372, + "meta": 0, + "name": "Nether Wart", + "text_type": "nether_wart" + }, + { + "type": 373, + "meta": 0, + "name": "Potion", + "text_type": "potion" + }, + { + "type": 374, + "meta": 0, + "name": "Glass Bottle", + "text_type": "glass_bottle" + }, + { + "type": 375, + "meta": 0, + "name": "Spider Eye", + "text_type": "spider_eye" + }, + { + "type": 376, + "meta": 0, + "name": "Fermented Spider Eye", + "text_type": "fermented_spider_eye" + }, + { + "type": 377, + "meta": 0, + "name": "Blaze Powder", + "text_type": "blaze_powder" + }, + { + "type": 378, + "meta": 0, + "name": "Magma Cream", + "text_type": "magma_cream" + }, + { + "type": 379, + "meta": 0, + "name": "Brewing Stand", + "text_type": "brewing_stand" + }, + { + "type": 380, + "meta": 0, + "name": "Cauldron", + "text_type": "cauldron" + }, + { + "type": 381, + "meta": 0, + "name": "Eye of Ender", + "text_type": "ender_eye" + }, + { + "type": 382, + "meta": 0, + "name": "Glistering Melon", + "text_type": "speckled_melon" + }, + { + "type": 383, + "meta": 4, + "name": "Spawn Elder Guardian", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 5, + "name": "Spawn Wither Skeleton", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 6, + "name": "Spawn Stray", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 23, + "name": "Spawn Husk", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 27, + "name": "Spawn Zombie Villager", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 28, + "name": "Spawn Skeleton Horse", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 29, + "name": "Spawn Zombie Horse", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 31, + "name": "Spawn Donkey", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 32, + "name": "Spawn Mule", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 34, + "name": "Spawn Evoker", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 35, + "name": "Spawn Vex", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 36, + "name": "Spawn Vindicator", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 50, + "name": "Spawn Creeper", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 51, + "name": "Spawn Skeleton", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 52, + "name": "Spawn Spider", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 54, + "name": "Spawn Zombie", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 55, + "name": "Spawn Slime", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 56, + "name": "Spawn Ghast", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 57, + "name": "Spawn Zombie Pigman", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 58, + "name": "Spawn Enderman", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 59, + "name": "Spawn Cave Spider", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 60, + "name": "Spawn Silverfish", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 61, + "name": "Spawn Blaze", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 62, + "name": "Spawn Magma Cube", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 65, + "name": "Spawn Bat", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 66, + "name": "Spawn Witch", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 67, + "name": "Spawn Endermite", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 68, + "name": "Spawn Guardian", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 69, + "name": "Spawn Shulker", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 90, + "name": "Spawn Pig", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 91, + "name": "Spawn Sheep", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 92, + "name": "Spawn Cow", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 93, + "name": "Spawn Chicken", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 94, + "name": "Spawn Squid", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 95, + "name": "Spawn Wolf", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 96, + "name": "Spawn Mooshroom", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 98, + "name": "Spawn Ocelot", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 100, + "name": "Spawn Horse", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 101, + "name": "Spawn Rabbit", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 102, + "name": "Spawn Polar Bear", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 103, + "name": "Spawn Llama", + "text_type": "spawn_egg" + }, + { + "type": 383, + "meta": 120, + "name": "Spawn Villager", + "text_type": "spawn_egg" + }, + { + "type": 384, + "meta": 0, + "name": "Bottle o' Enchanting", + "text_type": "experience_bottle" + }, + { + "type": 385, + "meta": 0, + "name": "Fire Charge", + "text_type": "fire_charge" + }, + { + "type": 386, + "meta": 0, + "name": "Book and Quill", + "text_type": "writable_book" + }, + { + "type": 387, + "meta": 0, + "name": "Written Book", + "text_type": "written_book" + }, + { + "type": 388, + "meta": 0, + "name": "Emerald", + "text_type": "emerald" + }, + { + "type": 389, + "meta": 0, + "name": "Item Frame", + "text_type": "item_frame" + }, + { + "type": 390, + "meta": 0, + "name": "Flower Pot", + "text_type": "flower_pot" + }, + { + "type": 391, + "meta": 0, + "name": "Carrot", + "text_type": "carrot" + }, + { + "type": 392, + "meta": 0, + "name": "Potato", + "text_type": "potato" + }, + { + "type": 393, + "meta": 0, + "name": "Baked Potato", + "text_type": "baked_potato" + }, + { + "type": 394, + "meta": 0, + "name": "Poisonous Potato", + "text_type": "poisonous_potato" + }, + { + "type": 395, + "meta": 0, + "name": "Empty Map", + "text_type": "map" + }, + { + "type": 396, + "meta": 0, + "name": "Golden Carrot", + "text_type": "golden_carrot" + }, + { + "type": 397, + "meta": 0, + "name": "Mob Head (Skeleton)", + "text_type": "skull" + }, + { + "type": 397, + "meta": 1, + "name": "Mob Head (Wither Skeleton)", + "text_type": "skull" + }, + { + "type": 397, + "meta": 2, + "name": "Mob Head (Zombie)", + "text_type": "skull" + }, + { + "type": 397, + "meta": 3, + "name": "Mob Head (Human)", + "text_type": "skull" + }, + { + "type": 397, + "meta": 4, + "name": "Mob Head (Creeper)", + "text_type": "skull" + }, + { + "type": 397, + "meta": 5, + "name": "Mob Head (Dragon)", + "text_type": "skull" + }, + { + "type": 398, + "meta": 0, + "name": "Carrot on a Stick", + "text_type": "carrot_on_a_stick" + }, + { + "type": 399, + "meta": 0, + "name": "Nether Star", + "text_type": "nether_star" + }, + { + "type": 400, + "meta": 0, + "name": "Pumpkin Pie", + "text_type": "pumpkin_pie" + }, + { + "type": 401, + "meta": 0, + "name": "Firework Rocket", + "text_type": "fireworks" + }, + { + "type": 402, + "meta": 0, + "name": "Firework Star", + "text_type": "firework_charge" + }, + { + "type": 403, + "meta": 0, + "name": "Enchanted Book", + "text_type": "enchanted_book" + }, + { + "type": 404, + "meta": 0, + "name": "Redstone Comparator", + "text_type": "comparator" + }, + { + "type": 405, + "meta": 0, + "name": "Nether Brick", + "text_type": "netherbrick" + }, + { + "type": 406, + "meta": 0, + "name": "Nether Quartz", + "text_type": "quartz" + }, + { + "type": 407, + "meta": 0, + "name": "Minecart with TNT", + "text_type": "tnt_minecart" + }, + { + "type": 408, + "meta": 0, + "name": "Minecart with Hopper", + "text_type": "hopper_minecart" + }, + { + "type": 409, + "meta": 0, + "name": "Prismarine Shard", + "text_type": "prismarine_shard" + }, + { + "type": 410, + "meta": 0, + "name": "Prismarine Crystals", + "text_type": "prismarine_crystals" + }, + { + "type": 411, + "meta": 0, + "name": "Raw Rabbit", + "text_type": "rabbit" + }, + { + "type": 412, + "meta": 0, + "name": "Cooked Rabbit", + "text_type": "cooked_rabbit" + }, + { + "type": 413, + "meta": 0, + "name": "Rabbit Stew", + "text_type": "rabbit_stew" + }, + { + "type": 414, + "meta": 0, + "name": "Rabbit's Foot", + "text_type": "rabbit_foot" + }, + { + "type": 415, + "meta": 0, + "name": "Rabbit Hide", + "text_type": "rabbit_hide" + }, + { + "type": 416, + "meta": 0, + "name": "Armor Stand", + "text_type": "armor_stand" + }, + { + "type": 417, + "meta": 0, + "name": "Iron Horse Armor", + "text_type": "iron_horse_armor" + }, + { + "type": 418, + "meta": 0, + "name": "Golden Horse Armor", + "text_type": "golden_horse_armor" + }, + { + "type": 419, + "meta": 0, + "name": "Diamond Horse Armor", + "text_type": "diamond_horse_armor" + }, + { + "type": 420, + "meta": 0, + "name": "Lead", + "text_type": "lead" + }, + { + "type": 421, + "meta": 0, + "name": "Name Tag", + "text_type": "name_tag" + }, + { + "type": 422, + "meta": 0, + "name": "Minecart with Command Block", + "text_type": "command_block_minecart" + }, + { + "type": 423, + "meta": 0, + "name": "Raw Mutton", + "text_type": "mutton" + }, + { + "type": 424, + "meta": 0, + "name": "Cooked Mutton", + "text_type": "cooked_mutton" + }, + { + "type": 425, + "meta": 0, + "name": "Banner", + "text_type": "banner" + }, + { + "type": 427, + "meta": 0, + "name": "Spruce Door", + "text_type": "spruce_door" + }, + { + "type": 428, + "meta": 0, + "name": "Birch Door", + "text_type": "birch_door" + }, + { + "type": 429, + "meta": 0, + "name": "Jungle Door", + "text_type": "jungle_door" + }, + { + "type": 430, + "meta": 0, + "name": "Acacia Door", + "text_type": "acacia_door" + }, + { + "type": 431, + "meta": 0, + "name": "Dark Oak Door", + "text_type": "dark_oak_door" + }, + { + "type": 432, + "meta": 0, + "name": "Chorus Fruit", + "text_type": "chorus_fruit" + }, + { + "type": 433, + "meta": 0, + "name": "Popped Chorus Fruit", + "text_type": "popped_chorus_fruit" + }, + { + "type": 434, + "meta": 0, + "name": "Beetroot", + "text_type": "beetroot" + }, + { + "type": 435, + "meta": 0, + "name": "Beetroot Seeds", + "text_type": "beetroot_seeds" + }, + { + "type": 436, + "meta": 0, + "name": "Beetroot Soup", + "text_type": "beetroot_soup" + }, + { + "type": 437, + "meta": 0, + "name": "Dragon's Breath", + "text_type": "dragon_breath" + }, + { + "type": 438, + "meta": 0, + "name": "Splash Potion", + "text_type": "splash_potion" + }, + { + "type": 439, + "meta": 0, + "name": "Spectral Arrow", + "text_type": "spectral_arrow" + }, + { + "type": 440, + "meta": 0, + "name": "Tipped Arrow", + "text_type": "tipped_arrow" + }, + { + "type": 441, + "meta": 0, + "name": "Lingering Potion", + "text_type": "lingering_potion" + }, + { + "type": 442, + "meta": 0, + "name": "Shield", + "text_type": "shield" + }, + { + "type": 443, + "meta": 0, + "name": "Elytra", + "text_type": "elytra" + }, + { + "type": 444, + "meta": 0, + "name": "Spruce Boat", + "text_type": "spruce_boat" + }, + { + "type": 445, + "meta": 0, + "name": "Birch Boat", + "text_type": "birch_boat" + }, + { + "type": 446, + "meta": 0, + "name": "Jungle Boat", + "text_type": "jungle_boat" + }, + { + "type": 447, + "meta": 0, + "name": "Acacia Boat", + "text_type": "acacia_boat" + }, + { + "type": 448, + "meta": 0, + "name": "Dark Oak Boat", + "text_type": "dark_oak_boat" + }, + { + "type": 449, + "meta": 0, + "name": "Totem of Undying", + "text_type": "totem_of_undying" + }, + { + "type": 450, + "meta": 0, + "name": "Shulker Shell", + "text_type": "shulker_shell" + }, + { + "type": 452, + "meta": 0, + "name": "Iron Nugget", + "text_type": "iron_nugget" + }, + { + "type": 2256, + "meta": 0, + "name": "13 Disc", + "text_type": "record_13" + }, + { + "type": 2257, + "meta": 0, + "name": "Cat Disc", + "text_type": "record_cat" + }, + { + "type": 2258, + "meta": 0, + "name": "Blocks Disc", + "text_type": "record_blocks" + }, + { + "type": 2259, + "meta": 0, + "name": "Chirp Disc", + "text_type": "record_chirp" + }, + { + "type": 2260, + "meta": 0, + "name": "Far Disc", + "text_type": "record_far" + }, + { + "type": 2261, + "meta": 0, + "name": "Mall Disc", + "text_type": "record_mall" + }, + { + "type": 2262, + "meta": 0, + "name": "Mellohi Disc", + "text_type": "record_mellohi" + }, + { + "type": 2263, + "meta": 0, + "name": "Stal Disc", + "text_type": "record_stal" + }, + { + "type": 2264, + "meta": 0, + "name": "Strad Disc", + "text_type": "record_strad" + }, + { + "type": 2265, + "meta": 0, + "name": "Ward Disc", + "text_type": "record_ward" + }, + { + "type": 2266, + "meta": 0, + "name": "11 Disc", + "text_type": "record_11" + }, + { + "type": 2267, + "meta": 0, + "name": "Wait Disc", + "text_type": "record_wait" + } +] \ No newline at end of file diff --git a/cwd/shaders/block.fs b/cwd/shaders/block.fs new file mode 100644 index 0000000..e239f7b --- /dev/null +++ b/cwd/shaders/block.fs @@ -0,0 +1,16 @@ +#version 330 core +in vec2 TexCoord; + +uniform sampler2D textureAtlas; +uniform int block; + +vec4 GetTextureByBlockId(int BlockId) { + return vec4(0,0,0,0); +} + +void main() +{ + vec4 TextureCoords = GetTextureByBlockId(block); + gl_FragmentColor = texture(blockTexture,TexCoord); +} + diff --git a/cwd/shaders/block.vs b/cwd/shaders/block.vs new file mode 100644 index 0000000..7a36a5d --- /dev/null +++ b/cwd/shaders/block.vs @@ -0,0 +1,15 @@ +#version 330 core +layout (location = 0) in vec3 position; +layout (location = 2) in vec2 UvCoordinates; + +out vec2 UvPosition; + +uniform mat4 model; +uniform mat4 view; +uniform mat4 projection; + +void main() +{ + gl_Position = projection * view * model * vec4(position, 1.0f); + UvPosition = vec2(UvCoordinates.x,UvCoordinates.y); +} \ No newline at end of file diff --git a/cwd/shaders/simple.fs b/cwd/shaders/simple.fs new file mode 100644 index 0000000..cc7f812 --- /dev/null +++ b/cwd/shaders/simple.fs @@ -0,0 +1,15 @@ +#version 330 core +in vec2 TexCoord; + +out vec4 color; + +uniform sampler2D blockTexture; +uniform int block; +uniform float time; + +void main() +{ + color = texture(blockTexture,TexCoord); + //color = vec4(TexCoord.x,TexCoord.y,0.0,1.0); +} + diff --git a/cwd/shaders/simple.vs b/cwd/shaders/simple.vs new file mode 100644 index 0000000..ca99e85 --- /dev/null +++ b/cwd/shaders/simple.vs @@ -0,0 +1,16 @@ +#version 330 core +layout (location = 0) in vec3 position; +layout (location = 2) in vec2 texCoord; + +out vec2 TexCoord; + +uniform mat4 model; +uniform mat4 view; +uniform mat4 projection; + +void main() +{ + gl_Position = projection * view * model * vec4(position, 1.0f); + TexCoord = vec2(texCoord.x, texCoord.y); + //TexCoord = texCoord; +} \ No newline at end of file diff --git a/cwd/textures.json b/cwd/textures.json new file mode 100644 index 0000000..54b679b --- /dev/null +++ b/cwd/textures.json @@ -0,0 +1,10011 @@ +{"frames": [ + +{ + "filename": "blocks/air.png", + "frame": {"x":48,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/anvil_base.png", + "frame": {"x":80,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/anvil_top_damaged_0.png", + "frame": {"x":112,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/anvil_top_damaged_1.png", + "frame": {"x":96,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/anvil_top_damaged_2.png", + "frame": {"x":64,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/beacon.png", + "frame": {"x":32,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/bed_feet_end.png", + "frame": {"x":2000,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/bed_feet_side.png", + "frame": {"x":2032,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/bed_feet_top.png", + "frame": {"x":16,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/bed_head_end.png", + "frame": {"x":0,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/bed_head_side.png", + "frame": {"x":128,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/bed_head_top.png", + "frame": {"x":160,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/bedrock.png", + "frame": {"x":240,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/beetroots_stage_0.png", + "frame": {"x":272,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/beetroots_stage_1.png", + "frame": {"x":304,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/beetroots_stage_2.png", + "frame": {"x":288,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/beetroots_stage_3.png", + "frame": {"x":256,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/bone_block_side.png", + "frame": {"x":224,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/bone_block_top.png", + "frame": {"x":144,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/bookshelf.png", + "frame": {"x":176,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/brewing_stand.png", + "frame": {"x":208,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/brewing_stand_base.png", + "frame": {"x":192,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/brick.png", + "frame": {"x":2016,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cactus_bottom.png", + "frame": {"x":1984,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cactus_side.png", + "frame": {"x":1712,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cactus_top.png", + "frame": {"x":1744,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cake_bottom.png", + "frame": {"x":1776,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cake_inner.png", + "frame": {"x":1760,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cake_side.png", + "frame": {"x":1728,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cake_top.png", + "frame": {"x":1696,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/carrots_stage_0.png", + "frame": {"x":1616,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/carrots_stage_1.png", + "frame": {"x":1648,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/carrots_stage_2.png", + "frame": {"x":1680,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/carrots_stage_3.png", + "frame": {"x":1664,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cauldron_bottom.png", + "frame": {"x":1792,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cauldron_inner.png", + "frame": {"x":1824,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cauldron_side.png", + "frame": {"x":1904,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cauldron_top.png", + "frame": {"x":1936,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/chain_command_block_back.png", + "frame": {"x":1296,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/chain_command_block_conditional.png", + "frame": {"x":1344,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/chain_command_block_front.png", + "frame": {"x":1312,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/chain_command_block_side.png", + "frame": {"x":1328,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/chorus_flower.png", + "frame": {"x":1968,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/chorus_flower_dead.png", + "frame": {"x":1952,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/chorus_plant.png", + "frame": {"x":1920,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/clay.png", + "frame": {"x":1888,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/coal_block.png", + "frame": {"x":1808,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/coal_ore.png", + "frame": {"x":1840,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/coarse_dirt.png", + "frame": {"x":1872,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cobblestone.png", + "frame": {"x":1856,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cobblestone_mossy.png", + "frame": {"x":320,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cocoa_stage_0.png", + "frame": {"x":352,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cocoa_stage_1.png", + "frame": {"x":816,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/cocoa_stage_2.png", + "frame": {"x":848,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/command_block_back.png", + "frame": {"x":1280,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/command_block_conditional.png", + "frame": {"x":1136,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/command_block_front.png", + "frame": {"x":960,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/command_block_side.png", + "frame": {"x":1120,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/comparator_off.png", + "frame": {"x":880,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/comparator_on.png", + "frame": {"x":864,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/crafting_table_front.png", + "frame": {"x":832,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/crafting_table_side.png", + "frame": {"x":800,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/crafting_table_top.png", + "frame": {"x":720,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/daylight_detector_inverted_top.png", + "frame": {"x":752,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/daylight_detector_side.png", + "frame": {"x":784,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/daylight_detector_top.png", + "frame": {"x":768,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/deadbush.png", + "frame": {"x":896,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/debug.png", + "frame": {"x":928,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/debug2.png", + "frame": {"x":1008,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/destroy_stage_0.png", + "frame": {"x":1040,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/destroy_stage_1.png", + "frame": {"x":1072,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/destroy_stage_2.png", + "frame": {"x":1056,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/destroy_stage_3.png", + "frame": {"x":1024,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/destroy_stage_4.png", + "frame": {"x":992,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/destroy_stage_5.png", + "frame": {"x":912,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/destroy_stage_6.png", + "frame": {"x":944,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/destroy_stage_7.png", + "frame": {"x":976,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/destroy_stage_8.png", + "frame": {"x":960,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/destroy_stage_9.png", + "frame": {"x":736,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/diamond_block.png", + "frame": {"x":704,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/diamond_ore.png", + "frame": {"x":432,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/dirt.png", + "frame": {"x":464,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/dirt_podzol_side.png", + "frame": {"x":496,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/dirt_podzol_top.png", + "frame": {"x":480,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/dispenser_front_horizontal.png", + "frame": {"x":448,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/dispenser_front_vertical.png", + "frame": {"x":416,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_acacia_lower.png", + "frame": {"x":336,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_acacia_upper.png", + "frame": {"x":368,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_birch_lower.png", + "frame": {"x":400,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_birch_upper.png", + "frame": {"x":384,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_dark_oak_lower.png", + "frame": {"x":512,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_dark_oak_upper.png", + "frame": {"x":544,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_iron_lower.png", + "frame": {"x":624,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_iron_upper.png", + "frame": {"x":656,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_jungle_lower.png", + "frame": {"x":688,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_jungle_upper.png", + "frame": {"x":672,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_spruce_lower.png", + "frame": {"x":640,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_spruce_upper.png", + "frame": {"x":608,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_wood_lower.png", + "frame": {"x":528,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/door_wood_upper.png", + "frame": {"x":560,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_fern_bottom.png", + "frame": {"x":592,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_fern_top.png", + "frame": {"x":576,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_grass_bottom.png", + "frame": {"x":1632,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_grass_top.png", + "frame": {"x":1600,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_paeonia_bottom.png", + "frame": {"x":560,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_paeonia_top.png", + "frame": {"x":592,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_rose_bottom.png", + "frame": {"x":624,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_rose_top.png", + "frame": {"x":608,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_sunflower_back.png", + "frame": {"x":576,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_sunflower_bottom.png", + "frame": {"x":544,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_sunflower_front.png", + "frame": {"x":464,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_sunflower_top.png", + "frame": {"x":496,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_syringa_bottom.png", + "frame": {"x":528,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/double_plant_syringa_top.png", + "frame": {"x":512,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/dragon_egg.png", + "frame": {"x":640,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/dropper_front_horizontal.png", + "frame": {"x":672,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/dropper_front_vertical.png", + "frame": {"x":752,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/emerald_block.png", + "frame": {"x":784,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/emerald_ore.png", + "frame": {"x":816,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/enchanting_table_bottom.png", + "frame": {"x":800,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/enchanting_table_side.png", + "frame": {"x":768,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/enchanting_table_top.png", + "frame": {"x":736,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/end_bricks.png", + "frame": {"x":656,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/end_rod.png", + "frame": {"x":688,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/end_stone.png", + "frame": {"x":720,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/endframe_eye.png", + "frame": {"x":704,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/endframe_side.png", + "frame": {"x":480,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/endframe_top.png", + "frame": {"x":448,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/farmland_dry.png", + "frame": {"x":176,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/farmland_wet.png", + "frame": {"x":208,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/fern.png", + "frame": {"x":240,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/fire_layer_0.png", + "frame": {"x":32,"y":2592,"w":16,"h":512}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":512}, + "sourceSize": {"w":16,"h":512}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/fire_layer_1.png", + "frame": {"x":96,"y":2592,"w":16,"h":512}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":512}, + "sourceSize": {"w":16,"h":512}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_allium.png", + "frame": {"x":224,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_blue_orchid.png", + "frame": {"x":192,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_dandelion.png", + "frame": {"x":160,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_houstonia.png", + "frame": {"x":112,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_oxeye_daisy.png", + "frame": {"x":144,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_paeonia.png", + "frame": {"x":128,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_pot.png", + "frame": {"x":256,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_rose.png", + "frame": {"x":288,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_tulip_orange.png", + "frame": {"x":368,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_tulip_pink.png", + "frame": {"x":400,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_tulip_red.png", + "frame": {"x":432,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/flower_tulip_white.png", + "frame": {"x":416,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/frosted_ice_0.png", + "frame": {"x":384,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/frosted_ice_1.png", + "frame": {"x":352,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/frosted_ice_2.png", + "frame": {"x":272,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/frosted_ice_3.png", + "frame": {"x":304,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/furnace_front_off.png", + "frame": {"x":336,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/furnace_front_on.png", + "frame": {"x":320,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/furnace_side.png", + "frame": {"x":832,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/furnace_top.png", + "frame": {"x":864,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass.png", + "frame": {"x":1328,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_black.png", + "frame": {"x":1360,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_blue.png", + "frame": {"x":1392,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_brown.png", + "frame": {"x":1376,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_cyan.png", + "frame": {"x":1344,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_gray.png", + "frame": {"x":1312,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_green.png", + "frame": {"x":1232,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_light_blue.png", + "frame": {"x":1264,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_lime.png", + "frame": {"x":1296,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_magenta.png", + "frame": {"x":1280,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_orange.png", + "frame": {"x":1408,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top.png", + "frame": {"x":1440,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_black.png", + "frame": {"x":1520,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_blue.png", + "frame": {"x":1552,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_brown.png", + "frame": {"x":1584,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_cyan.png", + "frame": {"x":1568,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_gray.png", + "frame": {"x":1536,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_green.png", + "frame": {"x":1504,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_light_blue.png", + "frame": {"x":1424,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_lime.png", + "frame": {"x":1456,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_magenta.png", + "frame": {"x":1488,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_orange.png", + "frame": {"x":1472,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_pink.png", + "frame": {"x":1248,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_purple.png", + "frame": {"x":1216,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_red.png", + "frame": {"x":944,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_silver.png", + "frame": {"x":976,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_white.png", + "frame": {"x":1008,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pane_top_yellow.png", + "frame": {"x":992,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_pink.png", + "frame": {"x":960,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_purple.png", + "frame": {"x":928,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_red.png", + "frame": {"x":848,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_silver.png", + "frame": {"x":880,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_white.png", + "frame": {"x":912,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glass_yellow.png", + "frame": {"x":896,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/glowstone.png", + "frame": {"x":1024,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/gold_block.png", + "frame": {"x":1056,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/gold_ore.png", + "frame": {"x":1136,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/grass.png", + "frame": {"x":1168,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/grass_path_side.png", + "frame": {"x":1200,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/grass_path_top.png", + "frame": {"x":1184,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/grass_side.png", + "frame": {"x":1152,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/grass_side_overlay.png", + "frame": {"x":1088,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/grass_side_snowed.png", + "frame": {"x":1040,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/grass_top.png", + "frame": {"x":1072,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/gravel.png", + "frame": {"x":1104,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay.png", + "frame": {"x":1088,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_black.png", + "frame": {"x":96,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_blue.png", + "frame": {"x":1632,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_brown.png", + "frame": {"x":1072,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_cyan.png", + "frame": {"x":1104,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_gray.png", + "frame": {"x":1136,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_green.png", + "frame": {"x":1120,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_light_blue.png", + "frame": {"x":1088,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_lime.png", + "frame": {"x":1056,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_magenta.png", + "frame": {"x":976,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_orange.png", + "frame": {"x":1008,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_pink.png", + "frame": {"x":1040,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_purple.png", + "frame": {"x":1024,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_red.png", + "frame": {"x":1152,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_silver.png", + "frame": {"x":1184,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_white.png", + "frame": {"x":1264,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hardened_clay_stained_yellow.png", + "frame": {"x":1296,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hay_block_side.png", + "frame": {"x":1328,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hay_block_top.png", + "frame": {"x":1312,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hopper_inside.png", + "frame": {"x":1280,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hopper_outside.png", + "frame": {"x":1248,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/hopper_top.png", + "frame": {"x":1168,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/ice.png", + "frame": {"x":1200,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/ice_packed.png", + "frame": {"x":1232,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/iron_bars.png", + "frame": {"x":1216,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/iron_block.png", + "frame": {"x":992,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/iron_ore.png", + "frame": {"x":960,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/iron_trapdoor.png", + "frame": {"x":688,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/itemframe_background.png", + "frame": {"x":720,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/jukebox_side.png", + "frame": {"x":752,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/jukebox_top.png", + "frame": {"x":736,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/ladder.png", + "frame": {"x":704,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/lapis_block.png", + "frame": {"x":672,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/lapis_ore.png", + "frame": {"x":592,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/lava_flow.png", + "frame": {"x":64,"y":2592,"w":32,"h":512}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":512}, + "sourceSize": {"w":32,"h":512}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/lava_still.png", + "frame": {"x":0,"y":2592,"w":16,"h":320}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":320}, + "sourceSize": {"w":16,"h":320}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/leaves_acacia.png", + "frame": {"x":624,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/leaves_big_oak.png", + "frame": {"x":656,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/leaves_birch.png", + "frame": {"x":640,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/leaves_jungle.png", + "frame": {"x":768,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/leaves_oak.png", + "frame": {"x":800,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/leaves_spruce.png", + "frame": {"x":880,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/lever.png", + "frame": {"x":912,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_acacia.png", + "frame": {"x":944,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_acacia_top.png", + "frame": {"x":928,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_big_oak.png", + "frame": {"x":896,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_big_oak_top.png", + "frame": {"x":864,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_birch.png", + "frame": {"x":784,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_birch_top.png", + "frame": {"x":816,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_jungle.png", + "frame": {"x":1344,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_jungle_top.png", + "frame": {"x":832,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_oak.png", + "frame": {"x":608,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_oak_top.png", + "frame": {"x":1824,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_spruce.png", + "frame": {"x":1792,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/log_spruce_top.png", + "frame": {"x":1712,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/magma.png", + "frame": {"x":224,"y":160,"w":16,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":48}, + "sourceSize": {"w":16,"h":48}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/melon_side.png", + "frame": {"x":1728,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/melon_stem_connected.png", + "frame": {"x":1856,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/melon_stem_disconnected.png", + "frame": {"x":1872,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/melon_top.png", + "frame": {"x":1952,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/mob_spawner.png", + "frame": {"x":1984,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/mushroom_block_inside.png", + "frame": {"x":1936,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/mushroom_block_skin_brown.png", + "frame": {"x":1888,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/mushroom_block_skin_red.png", + "frame": {"x":1920,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/mushroom_block_skin_stem.png", + "frame": {"x":1904,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/mushroom_brown.png", + "frame": {"x":1696,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/mushroom_red.png", + "frame": {"x":1488,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/mycelium_side.png", + "frame": {"x":1472,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/mycelium_top.png", + "frame": {"x":1440,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/nether_brick.png", + "frame": {"x":1408,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/nether_wart_block.png", + "frame": {"x":1392,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/nether_wart_stage_0.png", + "frame": {"x":1504,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/nether_wart_stage_1.png", + "frame": {"x":1520,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/nether_wart_stage_2.png", + "frame": {"x":1600,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/netherrack.png", + "frame": {"x":1632,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/noteblock.png", + "frame": {"x":1664,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/observer_back.png", + "frame": {"x":1648,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/observer_back_lit.png", + "frame": {"x":1616,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/observer_front.png", + "frame": {"x":1584,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/observer_side.png", + "frame": {"x":1536,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/observer_top.png", + "frame": {"x":1568,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/obsidian.png", + "frame": {"x":1552,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/piston_bottom.png", + "frame": {"x":1360,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/piston_inner.png", + "frame": {"x":1376,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/piston_side.png", + "frame": {"x":1424,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/piston_top_normal.png", + "frame": {"x":1456,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/piston_top_sticky.png", + "frame": {"x":1680,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/planks_acacia.png", + "frame": {"x":1968,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/planks_big_oak.png", + "frame": {"x":2000,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/planks_birch.png", + "frame": {"x":2016,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/planks_jungle.png", + "frame": {"x":1744,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/planks_oak.png", + "frame": {"x":1760,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/planks_spruce.png", + "frame": {"x":1840,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/portal.png", + "frame": {"x":48,"y":2592,"w":16,"h":512}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":512}, + "sourceSize": {"w":16,"h":512}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/potatoes_stage_0.png", + "frame": {"x":1776,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/potatoes_stage_1.png", + "frame": {"x":848,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/potatoes_stage_2.png", + "frame": {"x":1120,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/potatoes_stage_3.png", + "frame": {"x":1584,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/prismarine_bricks.png", + "frame": {"x":1616,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/prismarine_dark.png", + "frame": {"x":1648,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/prismarine_rough.png", + "frame": {"x":1360,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/pumpkin_face_off.png", + "frame": {"x":1600,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/pumpkin_face_on.png", + "frame": {"x":1568,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/pumpkin_side.png", + "frame": {"x":1488,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/pumpkin_stem_connected.png", + "frame": {"x":1520,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/pumpkin_stem_disconnected.png", + "frame": {"x":1552,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/pumpkin_top.png", + "frame": {"x":1536,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/purpur_block.png", + "frame": {"x":1664,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/purpur_pillar.png", + "frame": {"x":1696,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/purpur_pillar_top.png", + "frame": {"x":1776,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/quartz_block_bottom.png", + "frame": {"x":1808,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/quartz_block_chiseled.png", + "frame": {"x":1840,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/quartz_block_chiseled_top.png", + "frame": {"x":1824,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/quartz_block_lines.png", + "frame": {"x":1792,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/quartz_block_lines_top.png", + "frame": {"x":1760,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/quartz_block_side.png", + "frame": {"x":1680,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/quartz_block_top.png", + "frame": {"x":1712,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/quartz_ore.png", + "frame": {"x":1744,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/rail_activator.png", + "frame": {"x":1728,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/rail_activator_powered.png", + "frame": {"x":1504,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/rail_detector.png", + "frame": {"x":1472,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/rail_detector_powered.png", + "frame": {"x":1200,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/rail_golden.png", + "frame": {"x":1232,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/rail_golden_powered.png", + "frame": {"x":1264,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/rail_normal.png", + "frame": {"x":1248,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/rail_normal_turned.png", + "frame": {"x":1216,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/red_nether_brick.png", + "frame": {"x":1184,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/red_sand.png", + "frame": {"x":1104,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/red_sandstone_bottom.png", + "frame": {"x":1136,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/red_sandstone_carved.png", + "frame": {"x":1168,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/red_sandstone_normal.png", + "frame": {"x":1152,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/red_sandstone_smooth.png", + "frame": {"x":1280,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/red_sandstone_top.png", + "frame": {"x":1312,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/redstone_block.png", + "frame": {"x":1392,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/redstone_dust_dot.png", + "frame": {"x":1424,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/redstone_dust_line0.png", + "frame": {"x":1456,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/redstone_dust_line1.png", + "frame": {"x":1440,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/redstone_dust_overlay.png", + "frame": {"x":1408,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/redstone_lamp_off.png", + "frame": {"x":1376,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/redstone_lamp_on.png", + "frame": {"x":1296,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/redstone_ore.png", + "frame": {"x":1328,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/redstone_torch_off.png", + "frame": {"x":1360,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/redstone_torch_on.png", + "frame": {"x":1344,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/reeds.png", + "frame": {"x":1856,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/repeater_off.png", + "frame": {"x":1888,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/repeater_on.png", + "frame": {"x":304,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/repeating_command_block_back.png", + "frame": {"x":1824,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/repeating_command_block_conditional.png", + "frame": {"x":2000,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/repeating_command_block_front.png", + "frame": {"x":1968,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/repeating_command_block_side.png", + "frame": {"x":1984,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sand.png", + "frame": {"x":320,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sandstone_bottom.png", + "frame": {"x":288,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sandstone_carved.png", + "frame": {"x":208,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sandstone_normal.png", + "frame": {"x":240,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sandstone_smooth.png", + "frame": {"x":272,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sandstone_top.png", + "frame": {"x":256,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sapling_acacia.png", + "frame": {"x":384,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sapling_birch.png", + "frame": {"x":416,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sapling_jungle.png", + "frame": {"x":496,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sapling_oak.png", + "frame": {"x":528,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sapling_roofed_oak.png", + "frame": {"x":560,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sapling_spruce.png", + "frame": {"x":544,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sea_lantern.png", + "frame": {"x":1216,"y":544,"w":16,"h":80}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":80}, + "sourceSize": {"w":16,"h":80}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_black.png", + "frame": {"x":480,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_blue.png", + "frame": {"x":400,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_brown.png", + "frame": {"x":432,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_cyan.png", + "frame": {"x":464,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_gray.png", + "frame": {"x":448,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_green.png", + "frame": {"x":224,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_light_blue.png", + "frame": {"x":192,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_lime.png", + "frame": {"x":1968,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_magenta.png", + "frame": {"x":2000,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_orange.png", + "frame": {"x":2032,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_pink.png", + "frame": {"x":2016,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_purple.png", + "frame": {"x":1984,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_red.png", + "frame": {"x":1952,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_silver.png", + "frame": {"x":1872,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_white.png", + "frame": {"x":1904,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/shulker_top_yellow.png", + "frame": {"x":1936,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/slime.png", + "frame": {"x":1920,"y":64,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/snow.png", + "frame": {"x":0,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/soul_sand.png", + "frame": {"x":32,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sponge.png", + "frame": {"x":112,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/sponge_wet.png", + "frame": {"x":144,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stone.png", + "frame": {"x":176,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stone_andesite.png", + "frame": {"x":160,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stone_andesite_smooth.png", + "frame": {"x":128,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stone_diorite.png", + "frame": {"x":96,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stone_diorite_smooth.png", + "frame": {"x":16,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stone_granite.png", + "frame": {"x":48,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stone_granite_smooth.png", + "frame": {"x":80,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stone_slab_side.png", + "frame": {"x":64,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stone_slab_top.png", + "frame": {"x":80,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stonebrick.png", + "frame": {"x":1580,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stonebrick_carved.png", + "frame": {"x":0,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stonebrick_cracked.png", + "frame": {"x":32,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/stonebrick_mossy.png", + "frame": {"x":64,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/structure_block.png", + "frame": {"x":48,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/structure_block_corner.png", + "frame": {"x":16,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/structure_block_data.png", + "frame": {"x":2028,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/structure_block_load.png", + "frame": {"x":1948,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/structure_block_save.png", + "frame": {"x":1980,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/tallgrass.png", + "frame": {"x":2012,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/tallgrass_green.png", + "frame": {"x":1996,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/tnt_bottom.png", + "frame": {"x":80,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/tnt_side.png", + "frame": {"x":112,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/tnt_top.png", + "frame": {"x":192,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/torch_on.png", + "frame": {"x":224,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/trapdoor.png", + "frame": {"x":256,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/trip_wire.png", + "frame": {"x":240,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/trip_wire_source.png", + "frame": {"x":208,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/vine.png", + "frame": {"x":176,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/water_flow.png", + "frame": {"x":112,"y":2592,"w":32,"h":1024}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":1024}, + "sourceSize": {"w":32,"h":1024}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/water_overlay.png", + "frame": {"x":128,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/water_still.png", + "frame": {"x":16,"y":2592,"w":16,"h":512}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":512}, + "sourceSize": {"w":16,"h":512}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/waterlily.png", + "frame": {"x":144,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/web.png", + "frame": {"x":1964,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wheat_stage_0.png", + "frame": {"x":1932,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wheat_stage_1.png", + "frame": {"x":1660,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wheat_stage_2.png", + "frame": {"x":1692,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wheat_stage_3.png", + "frame": {"x":1724,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wheat_stage_4.png", + "frame": {"x":1708,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wheat_stage_5.png", + "frame": {"x":1676,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wheat_stage_6.png", + "frame": {"x":1644,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wheat_stage_7.png", + "frame": {"x":1564,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_black.png", + "frame": {"x":1596,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_blue.png", + "frame": {"x":1628,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_brown.png", + "frame": {"x":1612,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_cyan.png", + "frame": {"x":1740,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_gray.png", + "frame": {"x":1772,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_green.png", + "frame": {"x":1852,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_light_blue.png", + "frame": {"x":1884,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_lime.png", + "frame": {"x":1916,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_magenta.png", + "frame": {"x":1900,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_orange.png", + "frame": {"x":1868,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_pink.png", + "frame": {"x":1836,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_purple.png", + "frame": {"x":1756,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_red.png", + "frame": {"x":1788,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_silver.png", + "frame": {"x":1820,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_white.png", + "frame": {"x":1804,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "blocks/wool_colored_yellow.png", + "frame": {"x":272,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "colormap/foliage.png", + "frame": {"x":768,"y":800,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "colormap/grass.png", + "frame": {"x":1536,"y":800,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "effect/dither.png", + "frame": {"x":0,"y":0,"w":4,"h":4}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":4,"h":4}, + "sourceSize": {"w":4,"h":4}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/alex.png", + "frame": {"x":1840,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/armorstand/wood.png", + "frame": {"x":1760,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/arrow.png", + "frame": {"x":1952,"y":128,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/base.png", + "frame": {"x":1376,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/border.png", + "frame": {"x":1504,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/bricks.png", + "frame": {"x":1696,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/circle.png", + "frame": {"x":1568,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/creeper.png", + "frame": {"x":1632,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/cross.png", + "frame": {"x":976,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/curly_border.png", + "frame": {"x":896,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/diagonal_left.png", + "frame": {"x":1728,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/diagonal_right.png", + "frame": {"x":1856,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/diagonal_up_left.png", + "frame": {"x":0,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/diagonal_up_right.png", + "frame": {"x":1920,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/flower.png", + "frame": {"x":1984,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/gradient.png", + "frame": {"x":1792,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/gradient_up.png", + "frame": {"x":1664,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/half_horizontal.png", + "frame": {"x":1280,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/half_horizontal_bottom.png", + "frame": {"x":1600,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/half_vertical.png", + "frame": {"x":896,"y":224,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/half_vertical_right.png", + "frame": {"x":320,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/mojang.png", + "frame": {"x":704,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/rhombus.png", + "frame": {"x":896,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/skull.png", + "frame": {"x":1152,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/small_stripes.png", + "frame": {"x":1088,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/square_bottom_left.png", + "frame": {"x":1088,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/square_bottom_right.png", + "frame": {"x":960,"y":224,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/square_top_left.png", + "frame": {"x":384,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/square_top_right.png", + "frame": {"x":448,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/straight_cross.png", + "frame": {"x":320,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/stripe_bottom.png", + "frame": {"x":192,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/stripe_center.png", + "frame": {"x":512,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/stripe_downleft.png", + "frame": {"x":640,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/stripe_downright.png", + "frame": {"x":832,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/stripe_left.png", + "frame": {"x":768,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/stripe_middle.png", + "frame": {"x":896,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/stripe_right.png", + "frame": {"x":704,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/stripe_top.png", + "frame": {"x":576,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/triangle_bottom.png", + "frame": {"x":256,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/triangle_top.png", + "frame": {"x":128,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/triangles_bottom.png", + "frame": {"x":1280,"y":224,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner/triangles_top.png", + "frame": {"x":1344,"y":224,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/banner_base.png", + "frame": {"x":1216,"y":224,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/bat.png", + "frame": {"x":1024,"y":224,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/beacon_beam.png", + "frame": {"x":544,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/bear/polarbear.png", + "frame": {"x":1408,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/blaze.png", + "frame": {"x":1120,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/boat/boat_acacia.png", + "frame": {"x":1664,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/boat/boat_birch.png", + "frame": {"x":1920,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/boat/boat_darkoak.png", + "frame": {"x":0,"y":288,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/boat/boat_jungle.png", + "frame": {"x":1792,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/boat/boat_oak.png", + "frame": {"x":1536,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/boat/boat_spruce.png", + "frame": {"x":960,"y":288,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/cat/black.png", + "frame": {"x":1888,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/cat/ocelot.png", + "frame": {"x":0,"y":160,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/cat/red.png", + "frame": {"x":64,"y":160,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/cat/siamese.png", + "frame": {"x":1984,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/chest/christmas.png", + "frame": {"x":1152,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/chest/christmas_double.png", + "frame": {"x":448,"y":352,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/chest/ender.png", + "frame": {"x":576,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/chest/normal.png", + "frame": {"x":384,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/chest/normal_double.png", + "frame": {"x":192,"y":352,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/chest/trapped.png", + "frame": {"x":640,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/chest/trapped_double.png", + "frame": {"x":768,"y":352,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/chicken.png", + "frame": {"x":1408,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/cow/cow.png", + "frame": {"x":1536,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/cow/mooshroom.png", + "frame": {"x":1600,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/creeper/creeper.png", + "frame": {"x":928,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/creeper/creeper_armor.png", + "frame": {"x":1760,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/elytra.png", + "frame": {"x":1472,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/enchanting_table_book.png", + "frame": {"x":1280,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/end_gateway_beam.png", + "frame": {"x":396,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/end_portal.png", + "frame": {"x":1536,"y":1056,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/endercrystal/endercrystal.png", + "frame": {"x":960,"y":352,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/endercrystal/endercrystal_beam.png", + "frame": {"x":1664,"y":1824,"w":16,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":256}, + "sourceSize": {"w":16,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/enderdragon/dragon.png", + "frame": {"x":0,"y":2080,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/enderdragon/dragon_exploding.png", + "frame": {"x":768,"y":2080,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/enderdragon/dragon_eyes.png", + "frame": {"x":256,"y":2080,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/enderdragon/dragon_fireball.png", + "frame": {"x":76,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/enderman/enderman.png", + "frame": {"x":832,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/enderman/enderman_eyes.png", + "frame": {"x":896,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/endermite.png", + "frame": {"x":1024,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/experience_orb.png", + "frame": {"x":128,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/explosion.png", + "frame": {"x":1216,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/ghast/ghast.png", + "frame": {"x":1216,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/ghast/ghast_shooting.png", + "frame": {"x":1088,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/guardian.png", + "frame": {"x":1280,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/guardian_beam.png", + "frame": {"x":448,"y":128,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/guardian_elder.png", + "frame": {"x":1344,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/armor/horse_armor_diamond.png", + "frame": {"x":1088,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/armor/horse_armor_gold.png", + "frame": {"x":1344,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/armor/horse_armor_iron.png", + "frame": {"x":1472,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/donkey.png", + "frame": {"x":960,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_black.png", + "frame": {"x":832,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_brown.png", + "frame": {"x":128,"y":800,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_chestnut.png", + "frame": {"x":384,"y":800,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_creamy.png", + "frame": {"x":1856,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_darkbrown.png", + "frame": {"x":1728,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_gray.png", + "frame": {"x":128,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_markings_blackdots.png", + "frame": {"x":1360,"y":544,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_markings_white.png", + "frame": {"x":1872,"y":544,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_markings_whitedots.png", + "frame": {"x":1488,"y":544,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_markings_whitefield.png", + "frame": {"x":1232,"y":544,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_skeleton.png", + "frame": {"x":0,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_white.png", + "frame": {"x":576,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/horse_zombie.png", + "frame": {"x":448,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/horse/mule.png", + "frame": {"x":704,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/illager/evoker.png", + "frame": {"x":1216,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/illager/fangs.png", + "frame": {"x":1376,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/illager/vex.png", + "frame": {"x":1408,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/illager/vex_charging.png", + "frame": {"x":1600,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/illager/vindicator.png", + "frame": {"x":1920,"y":288,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/iron_golem.png", + "frame": {"x":256,"y":800,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/lead_knot.png", + "frame": {"x":800,"y":96,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_black.png", + "frame": {"x":1792,"y":288,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_blue.png", + "frame": {"x":0,"y":352,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_brown.png", + "frame": {"x":1664,"y":288,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_cyan.png", + "frame": {"x":1472,"y":288,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_gray.png", + "frame": {"x":1088,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_green.png", + "frame": {"x":816,"y":160,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_light_blue.png", + "frame": {"x":1328,"y":160,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_lime.png", + "frame": {"x":128,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_magenta.png", + "frame": {"x":256,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_orange.png", + "frame": {"x":1072,"y":160,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_pink.png", + "frame": {"x":384,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_purple.png", + "frame": {"x":0,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_red.png", + "frame": {"x":1200,"y":160,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_silver.png", + "frame": {"x":1456,"y":160,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_white.png", + "frame": {"x":1840,"y":160,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/decor/decor_yellow.png", + "frame": {"x":1584,"y":160,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/llama.png", + "frame": {"x":1712,"y":160,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/llama_brown.png", + "frame": {"x":512,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/llama_creamy.png", + "frame": {"x":768,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/llama_gray.png", + "frame": {"x":640,"y":224,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/llama_white.png", + "frame": {"x":1152,"y":416,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/llama/spit.png", + "frame": {"x":1344,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/minecart.png", + "frame": {"x":960,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/pig/pig.png", + "frame": {"x":1760,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/pig/pig_saddle.png", + "frame": {"x":160,"y":160,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/projectiles/arrow.png", + "frame": {"x":1824,"y":128,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/projectiles/spectral_arrow.png", + "frame": {"x":1856,"y":128,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/projectiles/tipped_arrow.png", + "frame": {"x":128,"y":160,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/rabbit/black.png", + "frame": {"x":1056,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/rabbit/brown.png", + "frame": {"x":1184,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/rabbit/caerbannog.png", + "frame": {"x":1248,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/rabbit/gold.png", + "frame": {"x":992,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/rabbit/salt.png", + "frame": {"x":1312,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/rabbit/toast.png", + "frame": {"x":1440,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/rabbit/white.png", + "frame": {"x":1632,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/rabbit/white_splotched.png", + "frame": {"x":1568,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/sheep/sheep.png", + "frame": {"x":1696,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/sheep/sheep_fur.png", + "frame": {"x":1504,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/base.png", + "frame": {"x":368,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/border.png", + "frame": {"x":240,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/bricks.png", + "frame": {"x":432,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/circle.png", + "frame": {"x":304,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/creeper.png", + "frame": {"x":496,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/cross.png", + "frame": {"x":944,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/curly_border.png", + "frame": {"x":752,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/diagonal_left.png", + "frame": {"x":688,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/diagonal_right.png", + "frame": {"x":560,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/diagonal_up_left.png", + "frame": {"x":624,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/diagonal_up_right.png", + "frame": {"x":1008,"y":160,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/flower.png", + "frame": {"x":1216,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/gradient.png", + "frame": {"x":0,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/gradient_up.png", + "frame": {"x":1536,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/half_horizontal.png", + "frame": {"x":1664,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/half_horizontal_bottom.png", + "frame": {"x":1600,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/half_vertical.png", + "frame": {"x":1472,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/half_vertical_right.png", + "frame": {"x":1408,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/mojang.png", + "frame": {"x":1280,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/rhombus.png", + "frame": {"x":1216,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/skull.png", + "frame": {"x":1728,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/small_stripes.png", + "frame": {"x":1920,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/square_bottom_left.png", + "frame": {"x":64,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/square_bottom_right.png", + "frame": {"x":192,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/square_top_left.png", + "frame": {"x":128,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/square_top_right.png", + "frame": {"x":0,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/straight_cross.png", + "frame": {"x":1984,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/stripe_bottom.png", + "frame": {"x":1856,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/stripe_center.png", + "frame": {"x":1792,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/stripe_downleft.png", + "frame": {"x":1344,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/stripe_downright.png", + "frame": {"x":1152,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/stripe_left.png", + "frame": {"x":384,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/stripe_middle.png", + "frame": {"x":512,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/stripe_right.png", + "frame": {"x":448,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/stripe_top.png", + "frame": {"x":320,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/triangle_bottom.png", + "frame": {"x":256,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/triangle_top.png", + "frame": {"x":128,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/triangles_bottom.png", + "frame": {"x":64,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield/triangles_top.png", + "frame": {"x":576,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield_base.png", + "frame": {"x":768,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shield_base_nopattern.png", + "frame": {"x":960,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_black.png", + "frame": {"x":1088,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_blue.png", + "frame": {"x":1024,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_brown.png", + "frame": {"x":256,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_cyan.png", + "frame": {"x":896,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_gray.png", + "frame": {"x":832,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_green.png", + "frame": {"x":704,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_light_blue.png", + "frame": {"x":640,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_lime.png", + "frame": {"x":192,"y":480,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_magenta.png", + "frame": {"x":768,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_orange.png", + "frame": {"x":832,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_pink.png", + "frame": {"x":896,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_purple.png", + "frame": {"x":1024,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_red.png", + "frame": {"x":1088,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_silver.png", + "frame": {"x":960,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_white.png", + "frame": {"x":384,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/shulker_yellow.png", + "frame": {"x":320,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/shulker/spark.png", + "frame": {"x":544,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/sign.png", + "frame": {"x":608,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/silverfish.png", + "frame": {"x":800,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/skeleton/skeleton.png", + "frame": {"x":864,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/skeleton/stray.png", + "frame": {"x":480,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/skeleton/stray_overlay.png", + "frame": {"x":256,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/skeleton/wither_skeleton.png", + "frame": {"x":1696,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/slime/magmacube.png", + "frame": {"x":192,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/slime/slime.png", + "frame": {"x":128,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/snowman.png", + "frame": {"x":448,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/spider/cave_spider.png", + "frame": {"x":64,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/spider/spider.png", + "frame": {"x":1952,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/spider_eyes.png", + "frame": {"x":1888,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/squid.png", + "frame": {"x":320,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/steve.png", + "frame": {"x":640,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/sweep.png", + "frame": {"x":672,"y":128,"w":128,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":32}, + "sourceSize": {"w":128,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/villager/butcher.png", + "frame": {"x":512,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/villager/farmer.png", + "frame": {"x":576,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/villager/librarian.png", + "frame": {"x":704,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/villager/priest.png", + "frame": {"x":1152,"y":544,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/villager/smith.png", + "frame": {"x":1344,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/villager/villager.png", + "frame": {"x":320,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/witch.png", + "frame": {"x":256,"y":672,"w":64,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":128}, + "sourceSize": {"w":64,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/wither/wither.png", + "frame": {"x":384,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/wither/wither_armor.png", + "frame": {"x":256,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/wither/wither_invulnerable.png", + "frame": {"x":128,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/wolf/wolf.png", + "frame": {"x":384,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/wolf/wolf_angry.png", + "frame": {"x":0,"y":128,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/wolf/wolf_collar.png", + "frame": {"x":1824,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/wolf/wolf_tame.png", + "frame": {"x":1152,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/zombie/husk.png", + "frame": {"x":448,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/zombie/zombie.png", + "frame": {"x":576,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/zombie/zombie_villager.png", + "frame": {"x":768,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/zombie_pigman.png", + "frame": {"x":704,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/zombie_villager/zombie_butcher.png", + "frame": {"x":832,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/zombie_villager/zombie_farmer.png", + "frame": {"x":640,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/zombie_villager/zombie_librarian.png", + "frame": {"x":512,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/zombie_villager/zombie_priest.png", + "frame": {"x":192,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/zombie_villager/zombie_smith.png", + "frame": {"x":64,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "entity/zombie_villager/zombie_villager.png", + "frame": {"x":1536,"y":352,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "environment/clouds.png", + "frame": {"x":1680,"y":1824,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "environment/end_sky.png", + "frame": {"x":0,"y":800,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "environment/moon_phases.png", + "frame": {"x":1408,"y":352,"w":128,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":64}, + "sourceSize": {"w":128,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "environment/rain.png", + "frame": {"x":1600,"y":1824,"w":64,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":256}, + "sourceSize": {"w":64,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "environment/snow.png", + "frame": {"x":256,"y":1824,"w":64,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":256}, + "sourceSize": {"w":64,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "environment/sun.png", + "frame": {"x":1664,"y":96,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/achievement/achievement_background.png", + "frame": {"x":576,"y":1824,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/achievement/achievement_icons.png", + "frame": {"x":1344,"y":1824,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/bars.png", + "frame": {"x":1024,"y":2080,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/book.png", + "frame": {"x":1088,"y":1824,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/anvil.png", + "frame": {"x":320,"y":1824,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/beacon.png", + "frame": {"x":1792,"y":2336,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/brewing_stand.png", + "frame": {"x":1280,"y":2336,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/crafting_table.png", + "frame": {"x":1536,"y":2336,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/creative_inventory/tab_inventory.png", + "frame": {"x":1024,"y":2336,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/creative_inventory/tab_item_search.png", + "frame": {"x":1536,"y":2080,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/creative_inventory/tab_items.png", + "frame": {"x":768,"y":2336,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/creative_inventory/tabs.png", + "frame": {"x":1280,"y":2080,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/dispenser.png", + "frame": {"x":1792,"y":2080,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/enchanting_table.png", + "frame": {"x":512,"y":2336,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/furnace.png", + "frame": {"x":0,"y":2336,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/generic_54.png", + "frame": {"x":256,"y":2336,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/hopper.png", + "frame": {"x":832,"y":1824,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/horse.png", + "frame": {"x":256,"y":1056,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/inventory.png", + "frame": {"x":0,"y":1824,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/shulker_box.png", + "frame": {"x":0,"y":1312,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/stats_icons.png", + "frame": {"x":1600,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/container/villager.png", + "frame": {"x":512,"y":1312,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/demo_background.png", + "frame": {"x":256,"y":1312,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/icons.png", + "frame": {"x":1792,"y":1056,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/options_background.png", + "frame": {"x":1360,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/presets/chaos.png", + "frame": {"x":1280,"y":1056,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/presets/delight.png", + "frame": {"x":0,"y":1056,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/presets/drought.png", + "frame": {"x":512,"y":1056,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/presets/isles.png", + "frame": {"x":1024,"y":1056,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/presets/luck.png", + "frame": {"x":768,"y":1056,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/presets/madness.png", + "frame": {"x":768,"y":1312,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/presets/water.png", + "frame": {"x":1280,"y":1312,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/resource_packs.png", + "frame": {"x":512,"y":1568,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/server_selection.png", + "frame": {"x":1024,"y":1568,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/spectator_widgets.png", + "frame": {"x":1792,"y":1568,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/stream_indicator.png", + "frame": {"x":1040,"y":416,"w":16,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":64}, + "sourceSize": {"w":16,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/title/background/panorama_0.png", + "frame": {"x":1280,"y":1568,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/title/background/panorama_1.png", + "frame": {"x":1536,"y":1568,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/title/background/panorama_2.png", + "frame": {"x":768,"y":1568,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/title/background/panorama_3.png", + "frame": {"x":256,"y":1568,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/title/background/panorama_4.png", + "frame": {"x":1024,"y":1312,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/title/background/panorama_5.png", + "frame": {"x":1536,"y":1312,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/title/minecraft.png", + "frame": {"x":0,"y":1568,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/title/mojang.png", + "frame": {"x":1792,"y":1312,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/widgets.png", + "frame": {"x":1792,"y":800,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "gui/world_selection.png", + "frame": {"x":512,"y":2080,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/acacia_boat.png", + "frame": {"x":352,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/apple.png", + "frame": {"x":384,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/apple_golden.png", + "frame": {"x":464,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/arrow.png", + "frame": {"x":496,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/banner_overlay.png", + "frame": {"x":544,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/barrier.png", + "frame": {"x":512,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bed.png", + "frame": {"x":528,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/beef_cooked.png", + "frame": {"x":480,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/beef_raw.png", + "frame": {"x":448,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/beetroot.png", + "frame": {"x":368,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/beetroot_seeds.png", + "frame": {"x":400,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/beetroot_soup.png", + "frame": {"x":432,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/birch_boat.png", + "frame": {"x":416,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/blaze_powder.png", + "frame": {"x":192,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/blaze_rod.png", + "frame": {"x":160,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bone.png", + "frame": {"x":1936,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/book_enchanted.png", + "frame": {"x":1968,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/book_normal.png", + "frame": {"x":2000,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/book_writable.png", + "frame": {"x":1984,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/book_written.png", + "frame": {"x":1952,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bow_pulling_0.png", + "frame": {"x":1920,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bow_pulling_1.png", + "frame": {"x":1840,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bow_pulling_2.png", + "frame": {"x":1872,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bow_standby.png", + "frame": {"x":1904,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bowl.png", + "frame": {"x":1888,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bread.png", + "frame": {"x":2016,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/brewing_stand.png", + "frame": {"x":0,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/brick.png", + "frame": {"x":80,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/broken_elytra.png", + "frame": {"x":112,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bucket_empty.png", + "frame": {"x":144,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bucket_lava.png", + "frame": {"x":128,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bucket_milk.png", + "frame": {"x":96,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/bucket_water.png", + "frame": {"x":64,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/cake.png", + "frame": {"x":2032,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/carrot.png", + "frame": {"x":16,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/carrot_golden.png", + "frame": {"x":48,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/carrot_on_a_stick.png", + "frame": {"x":32,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/cauldron.png", + "frame": {"x":1120,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/chainmail_boots.png", + "frame": {"x":224,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/chainmail_chestplate.png", + "frame": {"x":240,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/chainmail_helmet.png", + "frame": {"x":208,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/chainmail_leggings.png", + "frame": {"x":176,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/charcoal.png", + "frame": {"x":256,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/chicken_cooked.png", + "frame": {"x":288,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/chicken_raw.png", + "frame": {"x":320,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/chorus_fruit.png", + "frame": {"x":336,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/chorus_fruit_popped.png", + "frame": {"x":304,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clay_ball.png", + "frame": {"x":272,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_00.png", + "frame": {"x":1856,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_01.png", + "frame": {"x":1824,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_02.png", + "frame": {"x":1312,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_03.png", + "frame": {"x":1328,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_04.png", + "frame": {"x":1296,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_05.png", + "frame": {"x":1264,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_06.png", + "frame": {"x":1344,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_07.png", + "frame": {"x":1376,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_08.png", + "frame": {"x":1408,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_09.png", + "frame": {"x":1424,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_10.png", + "frame": {"x":1392,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_11.png", + "frame": {"x":1280,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_12.png", + "frame": {"x":1248,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_13.png", + "frame": {"x":1120,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_14.png", + "frame": {"x":1136,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_15.png", + "frame": {"x":1104,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_16.png", + "frame": {"x":1072,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_17.png", + "frame": {"x":1152,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_18.png", + "frame": {"x":1184,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_19.png", + "frame": {"x":1216,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_20.png", + "frame": {"x":1232,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_21.png", + "frame": {"x":1200,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_22.png", + "frame": {"x":1168,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_23.png", + "frame": {"x":1440,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_24.png", + "frame": {"x":1472,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_25.png", + "frame": {"x":1696,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_26.png", + "frame": {"x":1712,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_27.png", + "frame": {"x":1680,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_28.png", + "frame": {"x":1648,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_29.png", + "frame": {"x":1728,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_30.png", + "frame": {"x":1760,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_31.png", + "frame": {"x":1792,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_32.png", + "frame": {"x":1808,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_33.png", + "frame": {"x":1776,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_34.png", + "frame": {"x":1744,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_35.png", + "frame": {"x":1664,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_36.png", + "frame": {"x":1632,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_37.png", + "frame": {"x":1504,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_38.png", + "frame": {"x":1520,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_39.png", + "frame": {"x":1488,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_40.png", + "frame": {"x":1456,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_41.png", + "frame": {"x":1536,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_42.png", + "frame": {"x":1568,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_43.png", + "frame": {"x":1600,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_44.png", + "frame": {"x":1616,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_45.png", + "frame": {"x":1584,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_46.png", + "frame": {"x":1552,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_47.png", + "frame": {"x":560,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_48.png", + "frame": {"x":592,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_49.png", + "frame": {"x":1600,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_50.png", + "frame": {"x":1616,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_51.png", + "frame": {"x":1584,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_52.png", + "frame": {"x":1552,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_53.png", + "frame": {"x":1632,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_54.png", + "frame": {"x":1664,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_55.png", + "frame": {"x":1696,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_56.png", + "frame": {"x":1712,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_57.png", + "frame": {"x":1680,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_58.png", + "frame": {"x":1648,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_59.png", + "frame": {"x":1568,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_60.png", + "frame": {"x":1536,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_61.png", + "frame": {"x":1408,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_62.png", + "frame": {"x":1424,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/clock_63.png", + "frame": {"x":1392,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/coal.png", + "frame": {"x":1360,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/comparator.png", + "frame": {"x":1440,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_00.png", + "frame": {"x":1472,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_01.png", + "frame": {"x":1504,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_02.png", + "frame": {"x":1520,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_03.png", + "frame": {"x":1488,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_04.png", + "frame": {"x":1456,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_05.png", + "frame": {"x":1728,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_06.png", + "frame": {"x":1760,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_07.png", + "frame": {"x":1984,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_08.png", + "frame": {"x":2000,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_09.png", + "frame": {"x":1968,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_10.png", + "frame": {"x":1936,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_11.png", + "frame": {"x":2016,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_12.png", + "frame": {"x":0,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_13.png", + "frame": {"x":48,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_14.png", + "frame": {"x":32,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_15.png", + "frame": {"x":64,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_16.png", + "frame": {"x":16,"y":48,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_17.png", + "frame": {"x":2032,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_18.png", + "frame": {"x":1952,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_19.png", + "frame": {"x":1920,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_20.png", + "frame": {"x":1792,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_21.png", + "frame": {"x":1808,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_22.png", + "frame": {"x":1776,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_23.png", + "frame": {"x":1744,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_24.png", + "frame": {"x":1824,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_25.png", + "frame": {"x":1856,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_26.png", + "frame": {"x":1888,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_27.png", + "frame": {"x":1904,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_28.png", + "frame": {"x":1872,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_29.png", + "frame": {"x":1840,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_30.png", + "frame": {"x":1376,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/compass_31.png", + "frame": {"x":1344,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/cookie.png", + "frame": {"x":816,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dark_oak_boat.png", + "frame": {"x":832,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond.png", + "frame": {"x":800,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond_axe.png", + "frame": {"x":768,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond_boots.png", + "frame": {"x":848,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond_chestplate.png", + "frame": {"x":880,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond_helmet.png", + "frame": {"x":912,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond_hoe.png", + "frame": {"x":928,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond_horse_armor.png", + "frame": {"x":896,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond_leggings.png", + "frame": {"x":864,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond_pickaxe.png", + "frame": {"x":784,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond_shovel.png", + "frame": {"x":752,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/diamond_sword.png", + "frame": {"x":624,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/door_acacia.png", + "frame": {"x":640,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/door_birch.png", + "frame": {"x":608,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/door_dark_oak.png", + "frame": {"x":576,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/door_iron.png", + "frame": {"x":656,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/door_jungle.png", + "frame": {"x":688,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/door_spruce.png", + "frame": {"x":720,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/door_wood.png", + "frame": {"x":736,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dragon_breath.png", + "frame": {"x":704,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_black.png", + "frame": {"x":672,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_blue.png", + "frame": {"x":944,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_brown.png", + "frame": {"x":976,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_cyan.png", + "frame": {"x":1200,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_gray.png", + "frame": {"x":1216,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_green.png", + "frame": {"x":1184,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_light_blue.png", + "frame": {"x":1152,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_lime.png", + "frame": {"x":1232,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_magenta.png", + "frame": {"x":1264,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_orange.png", + "frame": {"x":1312,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_pink.png", + "frame": {"x":1296,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_purple.png", + "frame": {"x":1328,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_red.png", + "frame": {"x":1280,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_silver.png", + "frame": {"x":1248,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_white.png", + "frame": {"x":1168,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/dye_powder_yellow.png", + "frame": {"x":1136,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/egg.png", + "frame": {"x":1008,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/elytra.png", + "frame": {"x":1024,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/emerald.png", + "frame": {"x":992,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/empty_armor_slot_boots.png", + "frame": {"x":960,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/empty_armor_slot_chestplate.png", + "frame": {"x":1040,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/empty_armor_slot_helmet.png", + "frame": {"x":1072,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/empty_armor_slot_leggings.png", + "frame": {"x":1104,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/empty_armor_slot_shield.png", + "frame": {"x":1120,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/end_crystal.png", + "frame": {"x":1088,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/ender_eye.png", + "frame": {"x":1056,"y":32,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/ender_pearl.png", + "frame": {"x":1088,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/experience_bottle.png", + "frame": {"x":1056,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/feather.png", + "frame": {"x":1020,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fireball.png", + "frame": {"x":1036,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fireworks.png", + "frame": {"x":1004,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fireworks_charge.png", + "frame": {"x":972,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fireworks_charge_overlay.png", + "frame": {"x":1052,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fish_clownfish_raw.png", + "frame": {"x":1084,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fish_cod_cooked.png", + "frame": {"x":1116,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fish_cod_raw.png", + "frame": {"x":1132,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fish_pufferfish_raw.png", + "frame": {"x":1100,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fish_salmon_cooked.png", + "frame": {"x":1068,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fish_salmon_raw.png", + "frame": {"x":988,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fishing_rod_cast.png", + "frame": {"x":956,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/fishing_rod_uncast.png", + "frame": {"x":828,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/flint.png", + "frame": {"x":844,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/flint_and_steel.png", + "frame": {"x":812,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/flower_pot.png", + "frame": {"x":780,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/ghast_tear.png", + "frame": {"x":860,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/glowstone_dust.png", + "frame": {"x":892,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_axe.png", + "frame": {"x":924,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_boots.png", + "frame": {"x":940,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_chestplate.png", + "frame": {"x":908,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_helmet.png", + "frame": {"x":876,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_hoe.png", + "frame": {"x":1148,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_horse_armor.png", + "frame": {"x":1180,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_ingot.png", + "frame": {"x":1404,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_leggings.png", + "frame": {"x":1420,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_nugget.png", + "frame": {"x":1388,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_pickaxe.png", + "frame": {"x":1356,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_shovel.png", + "frame": {"x":1436,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gold_sword.png", + "frame": {"x":1468,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/gunpowder.png", + "frame": {"x":1516,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/hopper.png", + "frame": {"x":1500,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_axe.png", + "frame": {"x":1532,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_boots.png", + "frame": {"x":1484,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_chestplate.png", + "frame": {"x":1452,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_helmet.png", + "frame": {"x":1372,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_hoe.png", + "frame": {"x":1340,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_horse_armor.png", + "frame": {"x":1212,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_ingot.png", + "frame": {"x":1228,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_leggings.png", + "frame": {"x":1196,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_nugget.png", + "frame": {"x":1164,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_pickaxe.png", + "frame": {"x":1244,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_shovel.png", + "frame": {"x":1276,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/iron_sword.png", + "frame": {"x":1308,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/item_frame.png", + "frame": {"x":1324,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/jungle_boat.png", + "frame": {"x":1292,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/lead.png", + "frame": {"x":1260,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/leather.png", + "frame": {"x":796,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/leather_boots.png", + "frame": {"x":764,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/leather_boots_overlay.png", + "frame": {"x":236,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/leather_chestplate.png", + "frame": {"x":252,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/leather_chestplate_overlay.png", + "frame": {"x":220,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/leather_helmet.png", + "frame": {"x":188,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/leather_helmet_overlay.png", + "frame": {"x":268,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/leather_leggings.png", + "frame": {"x":300,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/leather_leggings_overlay.png", + "frame": {"x":332,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/magma_cream.png", + "frame": {"x":348,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/map_empty.png", + "frame": {"x":316,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/map_filled.png", + "frame": {"x":284,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/map_filled_markings.png", + "frame": {"x":172,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/melon.png", + "frame": {"x":60,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/melon_speckled.png", + "frame": {"x":44,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/minecart_chest.png", + "frame": {"x":28,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/minecart_command_block.png", + "frame": {"x":12,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/minecart_furnace.png", + "frame": {"x":108,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/minecart_hopper.png", + "frame": {"x":140,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/minecart_normal.png", + "frame": {"x":156,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/minecart_tnt.png", + "frame": {"x":124,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/mushroom_stew.png", + "frame": {"x":92,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/mutton_cooked.png", + "frame": {"x":364,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/mutton_raw.png", + "frame": {"x":620,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/name_tag.png", + "frame": {"x":636,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/nether_star.png", + "frame": {"x":604,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/nether_wart.png", + "frame": {"x":572,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/netherbrick.png", + "frame": {"x":652,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/oak_boat.png", + "frame": {"x":684,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/painting.png", + "frame": {"x":732,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/paper.png", + "frame": {"x":716,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/porkchop_cooked.png", + "frame": {"x":748,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/porkchop_raw.png", + "frame": {"x":700,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/potato.png", + "frame": {"x":668,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/potato_baked.png", + "frame": {"x":588,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/potato_poisonous.png", + "frame": {"x":556,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/potion_bottle_drinkable.png", + "frame": {"x":428,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/potion_bottle_empty.png", + "frame": {"x":444,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/potion_bottle_lingering.png", + "frame": {"x":412,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/potion_bottle_splash.png", + "frame": {"x":380,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/potion_overlay.png", + "frame": {"x":460,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/prismarine_crystals.png", + "frame": {"x":492,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/prismarine_shard.png", + "frame": {"x":524,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/pumpkin_pie.png", + "frame": {"x":540,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/quartz.png", + "frame": {"x":508,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/rabbit_cooked.png", + "frame": {"x":476,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/rabbit_foot.png", + "frame": {"x":204,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/rabbit_hide.png", + "frame": {"x":1548,"y":0,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/rabbit_raw.png", + "frame": {"x":528,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/rabbit_stew.png", + "frame": {"x":512,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_11.png", + "frame": {"x":480,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_13.png", + "frame": {"x":560,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_blocks.png", + "frame": {"x":592,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_cat.png", + "frame": {"x":624,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_chirp.png", + "frame": {"x":640,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_far.png", + "frame": {"x":608,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_mall.png", + "frame": {"x":576,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_mellohi.png", + "frame": {"x":496,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_stal.png", + "frame": {"x":464,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_strad.png", + "frame": {"x":336,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_wait.png", + "frame": {"x":352,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/record_ward.png", + "frame": {"x":320,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/redstone_dust.png", + "frame": {"x":288,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/reeds.png", + "frame": {"x":368,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/repeater.png", + "frame": {"x":400,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/rotten_flesh.png", + "frame": {"x":432,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/ruby.png", + "frame": {"x":448,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/saddle.png", + "frame": {"x":416,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/seeds_melon.png", + "frame": {"x":384,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/seeds_pumpkin.png", + "frame": {"x":656,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/seeds_wheat.png", + "frame": {"x":688,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/shears.png", + "frame": {"x":912,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/shulker_shell.png", + "frame": {"x":928,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/sign.png", + "frame": {"x":896,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/slimeball.png", + "frame": {"x":864,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/snowball.png", + "frame": {"x":944,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/spawn_egg.png", + "frame": {"x":976,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/spawn_egg_overlay.png", + "frame": {"x":1024,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/spectral_arrow.png", + "frame": {"x":1008,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/spider_eye.png", + "frame": {"x":1040,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/spider_eye_fermented.png", + "frame": {"x":992,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/spruce_boat.png", + "frame": {"x":960,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/stick.png", + "frame": {"x":880,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/stone_axe.png", + "frame": {"x":848,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/stone_hoe.png", + "frame": {"x":720,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/stone_pickaxe.png", + "frame": {"x":736,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/stone_shovel.png", + "frame": {"x":704,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/stone_sword.png", + "frame": {"x":672,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/string.png", + "frame": {"x":752,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/structure_void.png", + "frame": {"x":784,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/sugar.png", + "frame": {"x":816,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/tipped_arrow_base.png", + "frame": {"x":832,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/tipped_arrow_head.png", + "frame": {"x":800,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/totem.png", + "frame": {"x":768,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/wheat.png", + "frame": {"x":304,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/wood_axe.png", + "frame": {"x":160,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/wood_hoe.png", + "frame": {"x":96,"y":16,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/wood_pickaxe.png", + "frame": {"x":512,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/wood_shovel.png", + "frame": {"x":352,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/wood_sword.png", + "frame": {"x":368,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "items/wooden_armorstand.png", + "frame": {"x":336,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "map/map_background.png", + "frame": {"x":1904,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "map/map_icons.png", + "frame": {"x":64,"y":96,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "misc/enchanted_item_glint.png", + "frame": {"x":1440,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "misc/forcefield.png", + "frame": {"x":576,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "misc/pumpkinblur.png", + "frame": {"x":1024,"y":800,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "misc/shadow.png", + "frame": {"x":1056,"y":416,"w":64,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":64}, + "sourceSize": {"w":64,"h":64}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "misc/underwater.png", + "frame": {"x":1808,"y":80,"w":16,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":16}, + "sourceSize": {"w":16,"h":16}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "misc/unknown_pack.png", + "frame": {"x":1744,"y":544,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "misc/unknown_server.png", + "frame": {"x":1616,"y":544,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "misc/vignette.png", + "frame": {"x":1280,"y":800,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/chainmail_layer_1.png", + "frame": {"x":352,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/chainmail_layer_2.png", + "frame": {"x":736,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/diamond_layer_1.png", + "frame": {"x":544,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/diamond_layer_2.png", + "frame": {"x":416,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/gold_layer_1.png", + "frame": {"x":0,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/gold_layer_2.png", + "frame": {"x":160,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/iron_layer_1.png", + "frame": {"x":288,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/iron_layer_2.png", + "frame": {"x":96,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/leather_layer_1.png", + "frame": {"x":224,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/leather_layer_1_overlay.png", + "frame": {"x":480,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/leather_layer_2.png", + "frame": {"x":672,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "models/armor/leather_layer_2_overlay.png", + "frame": {"x":608,"y":96,"w":64,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":64,"h":32}, + "sourceSize": {"w":64,"h":32}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "painting/paintings_kristoffer_zetterstrand.png", + "frame": {"x":512,"y":800,"w":256,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":256}, + "sourceSize": {"w":256,"h":256}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "particle/footprint.png", + "frame": {"x":4,"y":0,"w":8,"h":8}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":8,"h":8}, + "sourceSize": {"w":8,"h":8}, + "pivot": {"x":0.5,"y":0.5} +}, +{ + "filename": "particle/particles.png", + "frame": {"x":320,"y":672,"w":128,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":128}, + "sourceSize": {"w":128,"h":128}, + "pivot": {"x":0.5,"y":0.5} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "textures.png", + "format": "RGBA8888", + "size": {"w":2048,"h":3616}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:303b950f49fe2819e529126e36e6a3a1:a82dadf6fc811fbb440215bcd32f00f8:cf827d152df04949dfee256cd0c8efd8$" +} +} diff --git a/cwd/textures.png b/cwd/textures.png new file mode 100644 index 0000000..de47a34 Binary files /dev/null and b/cwd/textures.png differ diff --git a/cwd/textures.tps b/cwd/textures.tps new file mode 100644 index 0000000..914d320 --- /dev/null +++ b/cwd/textures.tps @@ -0,0 +1,1581 @@ + + + + fileFormatVersion + 4 + texturePackerVersion + 4.4.0 + fileName + /home/lag1924/dev/AltCraft/cwd/textures.tps + autoSDSettings + + + scale + 1 + extension + + spriteFilter + + acceptFractionalValues + + maxTextureSize + + width + -1 + height + -1 + + + + allowRotation + + shapeDebug + + dpi + 72 + dataFormat + json-array + textureFileName + + flipPVR + + pvrCompressionQuality + PVR_QUALITY_NORMAL + atfCompressData + + mipMapMinSize + 32768 + etc1CompressionQuality + ETC1_QUALITY_LOW_PERCEPTUAL + etc2CompressionQuality + ETC2_QUALITY_LOW_PERCEPTUAL + dxtCompressionMode + DXT_PERCEPTUAL + jxrColorFormat + JXR_YUV444 + jxrTrimFlexBits + 0 + jxrCompressionLevel + 0 + ditherType + NearestNeighbour + backgroundColor + 0 + libGdx + + filtering + + x + Linear + y + Linear + + + shapePadding + 0 + jpgQuality + 80 + pngOptimizationLevel + 0 + webpQualityLevel + 101 + textureSubPath + + atfFormats + + textureFormat + png + borderPadding + 0 + maxTextureSize + + width + 4096 + height + 4096 + + fixedTextureSize + + width + -1 + height + -1 + + algorithmSettings + + algorithm + Basic + freeSizeMode + Best + sizeConstraints + AnySize + forceSquared + + maxRects + + heuristic + Best + + basic + + sortBy + Best + order + Ascending + + polygon + + alignToGrid + 1 + + + andEngine + + minFilter + Linear + packageName + Texture + wrap + + s + Clamp + t + Clamp + + magFilter + MagLinear + + dataFileNames + + data + + name + textures.json + + + multiPack + + forceIdenticalLayout + + outputFormat + RGBA8888 + alphaHandling + ClearTransparentPixels + contentProtection + + key + + + autoAliasEnabled + + trimSpriteNames + + prependSmartFolderName + + autodetectAnimations + + globalSpriteSettings + + scale + 1 + scaleMode + Smooth + extrude + 0 + trimThreshold + 1 + trimMargin + 1 + trimMode + None + tracerTolerance + 200 + heuristicMask + + defaultPivotPoint + 0.5,0.5 + writePivotPoints + + + individualSpriteSettings + + assets/minecraft/textures/blocks/air.png + assets/minecraft/textures/blocks/anvil_base.png + assets/minecraft/textures/blocks/anvil_top_damaged_0.png + assets/minecraft/textures/blocks/anvil_top_damaged_1.png + assets/minecraft/textures/blocks/anvil_top_damaged_2.png + assets/minecraft/textures/blocks/beacon.png + assets/minecraft/textures/blocks/bed_feet_end.png + assets/minecraft/textures/blocks/bed_feet_side.png + assets/minecraft/textures/blocks/bed_feet_top.png + assets/minecraft/textures/blocks/bed_head_end.png + assets/minecraft/textures/blocks/bed_head_side.png + assets/minecraft/textures/blocks/bed_head_top.png + assets/minecraft/textures/blocks/bedrock.png + assets/minecraft/textures/blocks/beetroots_stage_0.png + assets/minecraft/textures/blocks/beetroots_stage_1.png + assets/minecraft/textures/blocks/beetroots_stage_2.png + assets/minecraft/textures/blocks/beetroots_stage_3.png + assets/minecraft/textures/blocks/bone_block_side.png + assets/minecraft/textures/blocks/bone_block_top.png + assets/minecraft/textures/blocks/bookshelf.png + assets/minecraft/textures/blocks/brewing_stand.png + assets/minecraft/textures/blocks/brewing_stand_base.png + assets/minecraft/textures/blocks/brick.png + assets/minecraft/textures/blocks/cactus_bottom.png + assets/minecraft/textures/blocks/cactus_side.png + assets/minecraft/textures/blocks/cactus_top.png + assets/minecraft/textures/blocks/cake_bottom.png + assets/minecraft/textures/blocks/cake_inner.png + assets/minecraft/textures/blocks/cake_side.png + assets/minecraft/textures/blocks/cake_top.png + assets/minecraft/textures/blocks/carrots_stage_0.png + assets/minecraft/textures/blocks/carrots_stage_1.png + assets/minecraft/textures/blocks/carrots_stage_2.png + assets/minecraft/textures/blocks/carrots_stage_3.png + assets/minecraft/textures/blocks/cauldron_bottom.png + assets/minecraft/textures/blocks/cauldron_inner.png + assets/minecraft/textures/blocks/cauldron_side.png + assets/minecraft/textures/blocks/cauldron_top.png + assets/minecraft/textures/blocks/chorus_flower.png + assets/minecraft/textures/blocks/chorus_flower_dead.png + assets/minecraft/textures/blocks/chorus_plant.png + assets/minecraft/textures/blocks/clay.png + assets/minecraft/textures/blocks/coal_block.png + assets/minecraft/textures/blocks/coal_ore.png + assets/minecraft/textures/blocks/coarse_dirt.png + assets/minecraft/textures/blocks/cobblestone.png + assets/minecraft/textures/blocks/cobblestone_mossy.png + assets/minecraft/textures/blocks/cocoa_stage_0.png + assets/minecraft/textures/blocks/cocoa_stage_1.png + assets/minecraft/textures/blocks/cocoa_stage_2.png + assets/minecraft/textures/blocks/comparator_off.png + assets/minecraft/textures/blocks/comparator_on.png + assets/minecraft/textures/blocks/crafting_table_front.png + assets/minecraft/textures/blocks/crafting_table_side.png + assets/minecraft/textures/blocks/crafting_table_top.png + assets/minecraft/textures/blocks/daylight_detector_inverted_top.png + assets/minecraft/textures/blocks/daylight_detector_side.png + assets/minecraft/textures/blocks/daylight_detector_top.png + assets/minecraft/textures/blocks/deadbush.png + assets/minecraft/textures/blocks/debug.png + assets/minecraft/textures/blocks/debug2.png + assets/minecraft/textures/blocks/destroy_stage_0.png + assets/minecraft/textures/blocks/destroy_stage_1.png + assets/minecraft/textures/blocks/destroy_stage_2.png + assets/minecraft/textures/blocks/destroy_stage_3.png + assets/minecraft/textures/blocks/destroy_stage_4.png + assets/minecraft/textures/blocks/destroy_stage_5.png + assets/minecraft/textures/blocks/destroy_stage_6.png + assets/minecraft/textures/blocks/destroy_stage_7.png + assets/minecraft/textures/blocks/destroy_stage_8.png + assets/minecraft/textures/blocks/destroy_stage_9.png + assets/minecraft/textures/blocks/diamond_block.png + assets/minecraft/textures/blocks/diamond_ore.png + assets/minecraft/textures/blocks/dirt.png + assets/minecraft/textures/blocks/dirt_podzol_side.png + assets/minecraft/textures/blocks/dirt_podzol_top.png + assets/minecraft/textures/blocks/dispenser_front_horizontal.png + assets/minecraft/textures/blocks/dispenser_front_vertical.png + assets/minecraft/textures/blocks/door_acacia_lower.png + assets/minecraft/textures/blocks/door_acacia_upper.png + assets/minecraft/textures/blocks/door_birch_lower.png + assets/minecraft/textures/blocks/door_birch_upper.png + assets/minecraft/textures/blocks/door_dark_oak_lower.png + assets/minecraft/textures/blocks/door_dark_oak_upper.png + assets/minecraft/textures/blocks/door_iron_lower.png + assets/minecraft/textures/blocks/door_iron_upper.png + assets/minecraft/textures/blocks/door_jungle_lower.png + assets/minecraft/textures/blocks/door_jungle_upper.png + assets/minecraft/textures/blocks/door_spruce_lower.png + assets/minecraft/textures/blocks/door_spruce_upper.png + assets/minecraft/textures/blocks/door_wood_lower.png + assets/minecraft/textures/blocks/door_wood_upper.png + assets/minecraft/textures/blocks/double_plant_fern_bottom.png + assets/minecraft/textures/blocks/double_plant_fern_top.png + assets/minecraft/textures/blocks/double_plant_grass_bottom.png + assets/minecraft/textures/blocks/double_plant_grass_top.png + assets/minecraft/textures/blocks/double_plant_paeonia_bottom.png + assets/minecraft/textures/blocks/double_plant_paeonia_top.png + assets/minecraft/textures/blocks/double_plant_rose_bottom.png + assets/minecraft/textures/blocks/double_plant_rose_top.png + assets/minecraft/textures/blocks/double_plant_sunflower_back.png + assets/minecraft/textures/blocks/double_plant_sunflower_bottom.png + assets/minecraft/textures/blocks/double_plant_sunflower_front.png + assets/minecraft/textures/blocks/double_plant_sunflower_top.png + assets/minecraft/textures/blocks/double_plant_syringa_bottom.png + assets/minecraft/textures/blocks/double_plant_syringa_top.png + assets/minecraft/textures/blocks/dragon_egg.png + assets/minecraft/textures/blocks/dropper_front_horizontal.png + assets/minecraft/textures/blocks/dropper_front_vertical.png + assets/minecraft/textures/blocks/emerald_block.png + assets/minecraft/textures/blocks/emerald_ore.png + assets/minecraft/textures/blocks/enchanting_table_bottom.png + assets/minecraft/textures/blocks/enchanting_table_side.png + assets/minecraft/textures/blocks/enchanting_table_top.png + assets/minecraft/textures/blocks/end_bricks.png + assets/minecraft/textures/blocks/end_rod.png + assets/minecraft/textures/blocks/end_stone.png + assets/minecraft/textures/blocks/endframe_eye.png + assets/minecraft/textures/blocks/endframe_side.png + assets/minecraft/textures/blocks/endframe_top.png + assets/minecraft/textures/blocks/farmland_dry.png + assets/minecraft/textures/blocks/farmland_wet.png + assets/minecraft/textures/blocks/fern.png + assets/minecraft/textures/blocks/flower_allium.png + assets/minecraft/textures/blocks/flower_blue_orchid.png + assets/minecraft/textures/blocks/flower_dandelion.png + assets/minecraft/textures/blocks/flower_houstonia.png + assets/minecraft/textures/blocks/flower_oxeye_daisy.png + assets/minecraft/textures/blocks/flower_paeonia.png + assets/minecraft/textures/blocks/flower_pot.png + assets/minecraft/textures/blocks/flower_rose.png + assets/minecraft/textures/blocks/flower_tulip_orange.png + assets/minecraft/textures/blocks/flower_tulip_pink.png + assets/minecraft/textures/blocks/flower_tulip_red.png + assets/minecraft/textures/blocks/flower_tulip_white.png + assets/minecraft/textures/blocks/frosted_ice_0.png + assets/minecraft/textures/blocks/frosted_ice_1.png + assets/minecraft/textures/blocks/frosted_ice_2.png + assets/minecraft/textures/blocks/frosted_ice_3.png + assets/minecraft/textures/blocks/furnace_front_off.png + assets/minecraft/textures/blocks/furnace_front_on.png + assets/minecraft/textures/blocks/furnace_side.png + assets/minecraft/textures/blocks/furnace_top.png + assets/minecraft/textures/blocks/glass.png + assets/minecraft/textures/blocks/glass_black.png + assets/minecraft/textures/blocks/glass_blue.png + assets/minecraft/textures/blocks/glass_brown.png + assets/minecraft/textures/blocks/glass_cyan.png + assets/minecraft/textures/blocks/glass_gray.png + assets/minecraft/textures/blocks/glass_green.png + assets/minecraft/textures/blocks/glass_light_blue.png + assets/minecraft/textures/blocks/glass_lime.png + assets/minecraft/textures/blocks/glass_magenta.png + assets/minecraft/textures/blocks/glass_orange.png + assets/minecraft/textures/blocks/glass_pane_top.png + assets/minecraft/textures/blocks/glass_pane_top_black.png + assets/minecraft/textures/blocks/glass_pane_top_blue.png + assets/minecraft/textures/blocks/glass_pane_top_brown.png + assets/minecraft/textures/blocks/glass_pane_top_cyan.png + assets/minecraft/textures/blocks/glass_pane_top_gray.png + assets/minecraft/textures/blocks/glass_pane_top_green.png + assets/minecraft/textures/blocks/glass_pane_top_light_blue.png + assets/minecraft/textures/blocks/glass_pane_top_lime.png + assets/minecraft/textures/blocks/glass_pane_top_magenta.png + assets/minecraft/textures/blocks/glass_pane_top_orange.png + assets/minecraft/textures/blocks/glass_pane_top_pink.png + assets/minecraft/textures/blocks/glass_pane_top_purple.png + assets/minecraft/textures/blocks/glass_pane_top_red.png + assets/minecraft/textures/blocks/glass_pane_top_silver.png + assets/minecraft/textures/blocks/glass_pane_top_white.png + assets/minecraft/textures/blocks/glass_pane_top_yellow.png + assets/minecraft/textures/blocks/glass_pink.png + assets/minecraft/textures/blocks/glass_purple.png + assets/minecraft/textures/blocks/glass_red.png + assets/minecraft/textures/blocks/glass_silver.png + assets/minecraft/textures/blocks/glass_white.png + assets/minecraft/textures/blocks/glass_yellow.png + assets/minecraft/textures/blocks/glowstone.png + assets/minecraft/textures/blocks/gold_block.png + assets/minecraft/textures/blocks/gold_ore.png + assets/minecraft/textures/blocks/grass.png + assets/minecraft/textures/blocks/grass_path_side.png + assets/minecraft/textures/blocks/grass_path_top.png + assets/minecraft/textures/blocks/grass_side.png + assets/minecraft/textures/blocks/grass_side_overlay.png + assets/minecraft/textures/blocks/grass_side_snowed.png + assets/minecraft/textures/blocks/grass_top.png + assets/minecraft/textures/blocks/gravel.png + assets/minecraft/textures/blocks/hardened_clay.png + assets/minecraft/textures/blocks/hardened_clay_stained_black.png + assets/minecraft/textures/blocks/hardened_clay_stained_blue.png + assets/minecraft/textures/blocks/hardened_clay_stained_brown.png + assets/minecraft/textures/blocks/hardened_clay_stained_cyan.png + assets/minecraft/textures/blocks/hardened_clay_stained_gray.png + assets/minecraft/textures/blocks/hardened_clay_stained_green.png + assets/minecraft/textures/blocks/hardened_clay_stained_light_blue.png + assets/minecraft/textures/blocks/hardened_clay_stained_lime.png + assets/minecraft/textures/blocks/hardened_clay_stained_magenta.png + assets/minecraft/textures/blocks/hardened_clay_stained_orange.png + assets/minecraft/textures/blocks/hardened_clay_stained_pink.png + assets/minecraft/textures/blocks/hardened_clay_stained_purple.png + assets/minecraft/textures/blocks/hardened_clay_stained_red.png + assets/minecraft/textures/blocks/hardened_clay_stained_silver.png + assets/minecraft/textures/blocks/hardened_clay_stained_white.png + assets/minecraft/textures/blocks/hardened_clay_stained_yellow.png + assets/minecraft/textures/blocks/hay_block_side.png + assets/minecraft/textures/blocks/hay_block_top.png + assets/minecraft/textures/blocks/hopper_inside.png + assets/minecraft/textures/blocks/hopper_outside.png + assets/minecraft/textures/blocks/hopper_top.png + assets/minecraft/textures/blocks/ice.png + assets/minecraft/textures/blocks/ice_packed.png + assets/minecraft/textures/blocks/iron_bars.png + assets/minecraft/textures/blocks/iron_block.png + assets/minecraft/textures/blocks/iron_ore.png + assets/minecraft/textures/blocks/iron_trapdoor.png + assets/minecraft/textures/blocks/itemframe_background.png + assets/minecraft/textures/blocks/jukebox_side.png + assets/minecraft/textures/blocks/jukebox_top.png + assets/minecraft/textures/blocks/ladder.png + assets/minecraft/textures/blocks/lapis_block.png + assets/minecraft/textures/blocks/lapis_ore.png + assets/minecraft/textures/blocks/leaves_acacia.png + assets/minecraft/textures/blocks/leaves_big_oak.png + assets/minecraft/textures/blocks/leaves_birch.png + assets/minecraft/textures/blocks/leaves_jungle.png + assets/minecraft/textures/blocks/leaves_oak.png + assets/minecraft/textures/blocks/leaves_spruce.png + assets/minecraft/textures/blocks/lever.png + assets/minecraft/textures/blocks/log_acacia.png + assets/minecraft/textures/blocks/log_acacia_top.png + assets/minecraft/textures/blocks/log_big_oak.png + assets/minecraft/textures/blocks/log_big_oak_top.png + assets/minecraft/textures/blocks/log_birch.png + assets/minecraft/textures/blocks/log_birch_top.png + assets/minecraft/textures/blocks/log_jungle.png + assets/minecraft/textures/blocks/log_jungle_top.png + assets/minecraft/textures/blocks/log_oak.png + assets/minecraft/textures/blocks/log_oak_top.png + assets/minecraft/textures/blocks/log_spruce.png + assets/minecraft/textures/blocks/log_spruce_top.png + assets/minecraft/textures/blocks/melon_side.png + assets/minecraft/textures/blocks/melon_stem_connected.png + assets/minecraft/textures/blocks/melon_stem_disconnected.png + assets/minecraft/textures/blocks/melon_top.png + assets/minecraft/textures/blocks/mob_spawner.png + assets/minecraft/textures/blocks/mushroom_block_inside.png + assets/minecraft/textures/blocks/mushroom_block_skin_brown.png + assets/minecraft/textures/blocks/mushroom_block_skin_red.png + assets/minecraft/textures/blocks/mushroom_block_skin_stem.png + assets/minecraft/textures/blocks/mushroom_brown.png + assets/minecraft/textures/blocks/mushroom_red.png + assets/minecraft/textures/blocks/mycelium_side.png + assets/minecraft/textures/blocks/mycelium_top.png + assets/minecraft/textures/blocks/nether_brick.png + assets/minecraft/textures/blocks/nether_wart_block.png + assets/minecraft/textures/blocks/nether_wart_stage_0.png + assets/minecraft/textures/blocks/nether_wart_stage_1.png + assets/minecraft/textures/blocks/nether_wart_stage_2.png + assets/minecraft/textures/blocks/netherrack.png + assets/minecraft/textures/blocks/noteblock.png + assets/minecraft/textures/blocks/observer_back.png + assets/minecraft/textures/blocks/observer_back_lit.png + assets/minecraft/textures/blocks/observer_front.png + assets/minecraft/textures/blocks/observer_side.png + assets/minecraft/textures/blocks/observer_top.png + assets/minecraft/textures/blocks/obsidian.png + assets/minecraft/textures/blocks/piston_bottom.png + assets/minecraft/textures/blocks/piston_inner.png + assets/minecraft/textures/blocks/piston_side.png + assets/minecraft/textures/blocks/piston_top_normal.png + assets/minecraft/textures/blocks/piston_top_sticky.png + assets/minecraft/textures/blocks/planks_acacia.png + assets/minecraft/textures/blocks/planks_big_oak.png + assets/minecraft/textures/blocks/planks_birch.png + assets/minecraft/textures/blocks/planks_jungle.png + assets/minecraft/textures/blocks/planks_oak.png + assets/minecraft/textures/blocks/planks_spruce.png + assets/minecraft/textures/blocks/potatoes_stage_0.png + assets/minecraft/textures/blocks/potatoes_stage_1.png + assets/minecraft/textures/blocks/potatoes_stage_2.png + assets/minecraft/textures/blocks/potatoes_stage_3.png + assets/minecraft/textures/blocks/prismarine_bricks.png + assets/minecraft/textures/blocks/prismarine_dark.png + assets/minecraft/textures/blocks/pumpkin_face_off.png + assets/minecraft/textures/blocks/pumpkin_face_on.png + assets/minecraft/textures/blocks/pumpkin_side.png + assets/minecraft/textures/blocks/pumpkin_stem_connected.png + assets/minecraft/textures/blocks/pumpkin_stem_disconnected.png + assets/minecraft/textures/blocks/pumpkin_top.png + assets/minecraft/textures/blocks/purpur_block.png + assets/minecraft/textures/blocks/purpur_pillar.png + assets/minecraft/textures/blocks/purpur_pillar_top.png + assets/minecraft/textures/blocks/quartz_block_bottom.png + assets/minecraft/textures/blocks/quartz_block_chiseled.png + assets/minecraft/textures/blocks/quartz_block_chiseled_top.png + assets/minecraft/textures/blocks/quartz_block_lines.png + assets/minecraft/textures/blocks/quartz_block_lines_top.png + assets/minecraft/textures/blocks/quartz_block_side.png + assets/minecraft/textures/blocks/quartz_block_top.png + assets/minecraft/textures/blocks/quartz_ore.png + assets/minecraft/textures/blocks/rail_activator.png + assets/minecraft/textures/blocks/rail_activator_powered.png + assets/minecraft/textures/blocks/rail_detector.png + assets/minecraft/textures/blocks/rail_detector_powered.png + assets/minecraft/textures/blocks/rail_golden.png + assets/minecraft/textures/blocks/rail_golden_powered.png + assets/minecraft/textures/blocks/rail_normal.png + assets/minecraft/textures/blocks/rail_normal_turned.png + assets/minecraft/textures/blocks/red_nether_brick.png + assets/minecraft/textures/blocks/red_sand.png + assets/minecraft/textures/blocks/red_sandstone_bottom.png + assets/minecraft/textures/blocks/red_sandstone_carved.png + assets/minecraft/textures/blocks/red_sandstone_normal.png + assets/minecraft/textures/blocks/red_sandstone_smooth.png + assets/minecraft/textures/blocks/red_sandstone_top.png + assets/minecraft/textures/blocks/redstone_block.png + assets/minecraft/textures/blocks/redstone_dust_dot.png + assets/minecraft/textures/blocks/redstone_dust_line0.png + assets/minecraft/textures/blocks/redstone_dust_line1.png + assets/minecraft/textures/blocks/redstone_dust_overlay.png + assets/minecraft/textures/blocks/redstone_lamp_off.png + assets/minecraft/textures/blocks/redstone_lamp_on.png + assets/minecraft/textures/blocks/redstone_ore.png + assets/minecraft/textures/blocks/redstone_torch_off.png + assets/minecraft/textures/blocks/redstone_torch_on.png + assets/minecraft/textures/blocks/reeds.png + assets/minecraft/textures/blocks/repeater_off.png + assets/minecraft/textures/blocks/repeater_on.png + assets/minecraft/textures/blocks/sand.png + assets/minecraft/textures/blocks/sandstone_bottom.png + assets/minecraft/textures/blocks/sandstone_carved.png + assets/minecraft/textures/blocks/sandstone_normal.png + assets/minecraft/textures/blocks/sandstone_smooth.png + assets/minecraft/textures/blocks/sandstone_top.png + assets/minecraft/textures/blocks/sapling_acacia.png + assets/minecraft/textures/blocks/sapling_birch.png + assets/minecraft/textures/blocks/sapling_jungle.png + assets/minecraft/textures/blocks/sapling_oak.png + assets/minecraft/textures/blocks/sapling_roofed_oak.png + assets/minecraft/textures/blocks/sapling_spruce.png + assets/minecraft/textures/blocks/shulker_top_black.png + assets/minecraft/textures/blocks/shulker_top_blue.png + assets/minecraft/textures/blocks/shulker_top_brown.png + assets/minecraft/textures/blocks/shulker_top_cyan.png + assets/minecraft/textures/blocks/shulker_top_gray.png + assets/minecraft/textures/blocks/shulker_top_green.png + assets/minecraft/textures/blocks/shulker_top_light_blue.png + assets/minecraft/textures/blocks/shulker_top_lime.png + assets/minecraft/textures/blocks/shulker_top_magenta.png + assets/minecraft/textures/blocks/shulker_top_orange.png + assets/minecraft/textures/blocks/shulker_top_pink.png + assets/minecraft/textures/blocks/shulker_top_purple.png + assets/minecraft/textures/blocks/shulker_top_red.png + assets/minecraft/textures/blocks/shulker_top_silver.png + assets/minecraft/textures/blocks/shulker_top_white.png + assets/minecraft/textures/blocks/shulker_top_yellow.png + assets/minecraft/textures/blocks/slime.png + assets/minecraft/textures/blocks/snow.png + assets/minecraft/textures/blocks/soul_sand.png + assets/minecraft/textures/blocks/sponge.png + assets/minecraft/textures/blocks/sponge_wet.png + assets/minecraft/textures/blocks/stone.png + assets/minecraft/textures/blocks/stone_andesite.png + assets/minecraft/textures/blocks/stone_andesite_smooth.png + assets/minecraft/textures/blocks/stone_diorite.png + assets/minecraft/textures/blocks/stone_diorite_smooth.png + assets/minecraft/textures/blocks/stone_granite.png + assets/minecraft/textures/blocks/stone_granite_smooth.png + assets/minecraft/textures/blocks/stone_slab_side.png + assets/minecraft/textures/blocks/stone_slab_top.png + assets/minecraft/textures/blocks/stonebrick.png + assets/minecraft/textures/blocks/stonebrick_carved.png + assets/minecraft/textures/blocks/stonebrick_cracked.png + assets/minecraft/textures/blocks/stonebrick_mossy.png + assets/minecraft/textures/blocks/structure_block.png + assets/minecraft/textures/blocks/structure_block_corner.png + assets/minecraft/textures/blocks/structure_block_data.png + assets/minecraft/textures/blocks/structure_block_load.png + assets/minecraft/textures/blocks/structure_block_save.png + assets/minecraft/textures/blocks/tallgrass.png + assets/minecraft/textures/blocks/tallgrass_green.png + assets/minecraft/textures/blocks/tnt_bottom.png + assets/minecraft/textures/blocks/tnt_side.png + assets/minecraft/textures/blocks/tnt_top.png + assets/minecraft/textures/blocks/torch_on.png + assets/minecraft/textures/blocks/trapdoor.png + assets/minecraft/textures/blocks/trip_wire.png + assets/minecraft/textures/blocks/trip_wire_source.png + assets/minecraft/textures/blocks/vine.png + assets/minecraft/textures/blocks/water_overlay.png + assets/minecraft/textures/blocks/waterlily.png + assets/minecraft/textures/blocks/web.png + assets/minecraft/textures/blocks/wheat_stage_0.png + assets/minecraft/textures/blocks/wheat_stage_1.png + assets/minecraft/textures/blocks/wheat_stage_2.png + assets/minecraft/textures/blocks/wheat_stage_3.png + assets/minecraft/textures/blocks/wheat_stage_4.png + assets/minecraft/textures/blocks/wheat_stage_5.png + assets/minecraft/textures/blocks/wheat_stage_6.png + assets/minecraft/textures/blocks/wheat_stage_7.png + assets/minecraft/textures/blocks/wool_colored_black.png + assets/minecraft/textures/blocks/wool_colored_blue.png + assets/minecraft/textures/blocks/wool_colored_brown.png + assets/minecraft/textures/blocks/wool_colored_cyan.png + assets/minecraft/textures/blocks/wool_colored_gray.png + assets/minecraft/textures/blocks/wool_colored_green.png + assets/minecraft/textures/blocks/wool_colored_light_blue.png + assets/minecraft/textures/blocks/wool_colored_lime.png + assets/minecraft/textures/blocks/wool_colored_magenta.png + assets/minecraft/textures/blocks/wool_colored_orange.png + assets/minecraft/textures/blocks/wool_colored_pink.png + assets/minecraft/textures/blocks/wool_colored_purple.png + assets/minecraft/textures/blocks/wool_colored_red.png + assets/minecraft/textures/blocks/wool_colored_silver.png + assets/minecraft/textures/blocks/wool_colored_white.png + assets/minecraft/textures/blocks/wool_colored_yellow.png + assets/minecraft/textures/entity/beacon_beam.png + assets/minecraft/textures/entity/end_gateway_beam.png + assets/minecraft/textures/entity/enderdragon/dragon_fireball.png + assets/minecraft/textures/gui/options_background.png + assets/minecraft/textures/items/acacia_boat.png + assets/minecraft/textures/items/apple.png + assets/minecraft/textures/items/apple_golden.png + assets/minecraft/textures/items/arrow.png + assets/minecraft/textures/items/banner_overlay.png + assets/minecraft/textures/items/barrier.png + assets/minecraft/textures/items/bed.png + assets/minecraft/textures/items/beef_cooked.png + assets/minecraft/textures/items/beef_raw.png + assets/minecraft/textures/items/beetroot.png + assets/minecraft/textures/items/beetroot_seeds.png + assets/minecraft/textures/items/beetroot_soup.png + assets/minecraft/textures/items/birch_boat.png + assets/minecraft/textures/items/blaze_powder.png + assets/minecraft/textures/items/blaze_rod.png + assets/minecraft/textures/items/bone.png + assets/minecraft/textures/items/book_enchanted.png + assets/minecraft/textures/items/book_normal.png + assets/minecraft/textures/items/book_writable.png + assets/minecraft/textures/items/book_written.png + assets/minecraft/textures/items/bow_pulling_0.png + assets/minecraft/textures/items/bow_pulling_1.png + assets/minecraft/textures/items/bow_pulling_2.png + assets/minecraft/textures/items/bow_standby.png + assets/minecraft/textures/items/bowl.png + assets/minecraft/textures/items/bread.png + assets/minecraft/textures/items/brewing_stand.png + assets/minecraft/textures/items/brick.png + assets/minecraft/textures/items/broken_elytra.png + assets/minecraft/textures/items/bucket_empty.png + assets/minecraft/textures/items/bucket_lava.png + assets/minecraft/textures/items/bucket_milk.png + assets/minecraft/textures/items/bucket_water.png + assets/minecraft/textures/items/cake.png + assets/minecraft/textures/items/carrot.png + assets/minecraft/textures/items/carrot_golden.png + assets/minecraft/textures/items/carrot_on_a_stick.png + assets/minecraft/textures/items/cauldron.png + assets/minecraft/textures/items/chainmail_boots.png + assets/minecraft/textures/items/chainmail_chestplate.png + assets/minecraft/textures/items/chainmail_helmet.png + assets/minecraft/textures/items/chainmail_leggings.png + assets/minecraft/textures/items/charcoal.png + assets/minecraft/textures/items/chicken_cooked.png + assets/minecraft/textures/items/chicken_raw.png + assets/minecraft/textures/items/chorus_fruit.png + assets/minecraft/textures/items/chorus_fruit_popped.png + assets/minecraft/textures/items/clay_ball.png + assets/minecraft/textures/items/clock_00.png + assets/minecraft/textures/items/clock_01.png + assets/minecraft/textures/items/clock_02.png + assets/minecraft/textures/items/clock_03.png + assets/minecraft/textures/items/clock_04.png + assets/minecraft/textures/items/clock_05.png + assets/minecraft/textures/items/clock_06.png + assets/minecraft/textures/items/clock_07.png + assets/minecraft/textures/items/clock_08.png + assets/minecraft/textures/items/clock_09.png + assets/minecraft/textures/items/clock_10.png + assets/minecraft/textures/items/clock_11.png + assets/minecraft/textures/items/clock_12.png + assets/minecraft/textures/items/clock_13.png + assets/minecraft/textures/items/clock_14.png + assets/minecraft/textures/items/clock_15.png + assets/minecraft/textures/items/clock_16.png + assets/minecraft/textures/items/clock_17.png + assets/minecraft/textures/items/clock_18.png + assets/minecraft/textures/items/clock_19.png + assets/minecraft/textures/items/clock_20.png + assets/minecraft/textures/items/clock_21.png + assets/minecraft/textures/items/clock_22.png + assets/minecraft/textures/items/clock_23.png + assets/minecraft/textures/items/clock_24.png + assets/minecraft/textures/items/clock_25.png + assets/minecraft/textures/items/clock_26.png + assets/minecraft/textures/items/clock_27.png + assets/minecraft/textures/items/clock_28.png + assets/minecraft/textures/items/clock_29.png + assets/minecraft/textures/items/clock_30.png + assets/minecraft/textures/items/clock_31.png + assets/minecraft/textures/items/clock_32.png + assets/minecraft/textures/items/clock_33.png + assets/minecraft/textures/items/clock_34.png + assets/minecraft/textures/items/clock_35.png + assets/minecraft/textures/items/clock_36.png + assets/minecraft/textures/items/clock_37.png + assets/minecraft/textures/items/clock_38.png + assets/minecraft/textures/items/clock_39.png + assets/minecraft/textures/items/clock_40.png + assets/minecraft/textures/items/clock_41.png + assets/minecraft/textures/items/clock_42.png + assets/minecraft/textures/items/clock_43.png + assets/minecraft/textures/items/clock_44.png + assets/minecraft/textures/items/clock_45.png + assets/minecraft/textures/items/clock_46.png + assets/minecraft/textures/items/clock_47.png + assets/minecraft/textures/items/clock_48.png + assets/minecraft/textures/items/clock_49.png + assets/minecraft/textures/items/clock_50.png + assets/minecraft/textures/items/clock_51.png + assets/minecraft/textures/items/clock_52.png + assets/minecraft/textures/items/clock_53.png + assets/minecraft/textures/items/clock_54.png + assets/minecraft/textures/items/clock_55.png + assets/minecraft/textures/items/clock_56.png + assets/minecraft/textures/items/clock_57.png + assets/minecraft/textures/items/clock_58.png + assets/minecraft/textures/items/clock_59.png + assets/minecraft/textures/items/clock_60.png + assets/minecraft/textures/items/clock_61.png + assets/minecraft/textures/items/clock_62.png + assets/minecraft/textures/items/clock_63.png + assets/minecraft/textures/items/coal.png + assets/minecraft/textures/items/comparator.png + assets/minecraft/textures/items/compass_00.png + assets/minecraft/textures/items/compass_01.png + assets/minecraft/textures/items/compass_02.png + assets/minecraft/textures/items/compass_03.png + assets/minecraft/textures/items/compass_04.png + assets/minecraft/textures/items/compass_05.png + assets/minecraft/textures/items/compass_06.png + assets/minecraft/textures/items/compass_07.png + assets/minecraft/textures/items/compass_08.png + assets/minecraft/textures/items/compass_09.png + assets/minecraft/textures/items/compass_10.png + assets/minecraft/textures/items/compass_11.png + assets/minecraft/textures/items/compass_12.png + assets/minecraft/textures/items/compass_13.png + assets/minecraft/textures/items/compass_14.png + assets/minecraft/textures/items/compass_15.png + assets/minecraft/textures/items/compass_16.png + assets/minecraft/textures/items/compass_17.png + assets/minecraft/textures/items/compass_18.png + assets/minecraft/textures/items/compass_19.png + assets/minecraft/textures/items/compass_20.png + assets/minecraft/textures/items/compass_21.png + assets/minecraft/textures/items/compass_22.png + assets/minecraft/textures/items/compass_23.png + assets/minecraft/textures/items/compass_24.png + assets/minecraft/textures/items/compass_25.png + assets/minecraft/textures/items/compass_26.png + assets/minecraft/textures/items/compass_27.png + assets/minecraft/textures/items/compass_28.png + assets/minecraft/textures/items/compass_29.png + assets/minecraft/textures/items/compass_30.png + assets/minecraft/textures/items/compass_31.png + assets/minecraft/textures/items/cookie.png + assets/minecraft/textures/items/dark_oak_boat.png + assets/minecraft/textures/items/diamond.png + assets/minecraft/textures/items/diamond_axe.png + assets/minecraft/textures/items/diamond_boots.png + assets/minecraft/textures/items/diamond_chestplate.png + assets/minecraft/textures/items/diamond_helmet.png + assets/minecraft/textures/items/diamond_hoe.png + assets/minecraft/textures/items/diamond_horse_armor.png + assets/minecraft/textures/items/diamond_leggings.png + assets/minecraft/textures/items/diamond_pickaxe.png + assets/minecraft/textures/items/diamond_shovel.png + assets/minecraft/textures/items/diamond_sword.png + assets/minecraft/textures/items/door_acacia.png + assets/minecraft/textures/items/door_birch.png + assets/minecraft/textures/items/door_dark_oak.png + assets/minecraft/textures/items/door_iron.png + assets/minecraft/textures/items/door_jungle.png + assets/minecraft/textures/items/door_spruce.png + assets/minecraft/textures/items/door_wood.png + assets/minecraft/textures/items/dragon_breath.png + assets/minecraft/textures/items/dye_powder_black.png + assets/minecraft/textures/items/dye_powder_blue.png + assets/minecraft/textures/items/dye_powder_brown.png + assets/minecraft/textures/items/dye_powder_cyan.png + assets/minecraft/textures/items/dye_powder_gray.png + assets/minecraft/textures/items/dye_powder_green.png + assets/minecraft/textures/items/dye_powder_light_blue.png + assets/minecraft/textures/items/dye_powder_lime.png + assets/minecraft/textures/items/dye_powder_magenta.png + assets/minecraft/textures/items/dye_powder_orange.png + assets/minecraft/textures/items/dye_powder_pink.png + assets/minecraft/textures/items/dye_powder_purple.png + assets/minecraft/textures/items/dye_powder_red.png + assets/minecraft/textures/items/dye_powder_silver.png + assets/minecraft/textures/items/dye_powder_white.png + assets/minecraft/textures/items/dye_powder_yellow.png + assets/minecraft/textures/items/egg.png + assets/minecraft/textures/items/elytra.png + assets/minecraft/textures/items/emerald.png + assets/minecraft/textures/items/empty_armor_slot_boots.png + assets/minecraft/textures/items/empty_armor_slot_chestplate.png + assets/minecraft/textures/items/empty_armor_slot_helmet.png + assets/minecraft/textures/items/empty_armor_slot_leggings.png + assets/minecraft/textures/items/empty_armor_slot_shield.png + assets/minecraft/textures/items/end_crystal.png + assets/minecraft/textures/items/ender_eye.png + assets/minecraft/textures/items/ender_pearl.png + assets/minecraft/textures/items/experience_bottle.png + assets/minecraft/textures/items/feather.png + assets/minecraft/textures/items/fireball.png + assets/minecraft/textures/items/fireworks.png + assets/minecraft/textures/items/fireworks_charge.png + assets/minecraft/textures/items/fireworks_charge_overlay.png + assets/minecraft/textures/items/fish_clownfish_raw.png + assets/minecraft/textures/items/fish_cod_cooked.png + assets/minecraft/textures/items/fish_cod_raw.png + assets/minecraft/textures/items/fish_pufferfish_raw.png + assets/minecraft/textures/items/fish_salmon_cooked.png + assets/minecraft/textures/items/fish_salmon_raw.png + assets/minecraft/textures/items/fishing_rod_cast.png + assets/minecraft/textures/items/fishing_rod_uncast.png + assets/minecraft/textures/items/flint.png + assets/minecraft/textures/items/flint_and_steel.png + assets/minecraft/textures/items/flower_pot.png + assets/minecraft/textures/items/ghast_tear.png + assets/minecraft/textures/items/glowstone_dust.png + assets/minecraft/textures/items/gold_axe.png + assets/minecraft/textures/items/gold_boots.png + assets/minecraft/textures/items/gold_chestplate.png + assets/minecraft/textures/items/gold_helmet.png + assets/minecraft/textures/items/gold_hoe.png + assets/minecraft/textures/items/gold_horse_armor.png + assets/minecraft/textures/items/gold_ingot.png + assets/minecraft/textures/items/gold_leggings.png + assets/minecraft/textures/items/gold_nugget.png + assets/minecraft/textures/items/gold_pickaxe.png + assets/minecraft/textures/items/gold_shovel.png + assets/minecraft/textures/items/gold_sword.png + assets/minecraft/textures/items/gunpowder.png + assets/minecraft/textures/items/hopper.png + assets/minecraft/textures/items/iron_axe.png + assets/minecraft/textures/items/iron_boots.png + assets/minecraft/textures/items/iron_chestplate.png + assets/minecraft/textures/items/iron_helmet.png + assets/minecraft/textures/items/iron_hoe.png + assets/minecraft/textures/items/iron_horse_armor.png + assets/minecraft/textures/items/iron_ingot.png + assets/minecraft/textures/items/iron_leggings.png + assets/minecraft/textures/items/iron_nugget.png + assets/minecraft/textures/items/iron_pickaxe.png + assets/minecraft/textures/items/iron_shovel.png + assets/minecraft/textures/items/iron_sword.png + assets/minecraft/textures/items/item_frame.png + assets/minecraft/textures/items/jungle_boat.png + assets/minecraft/textures/items/lead.png + assets/minecraft/textures/items/leather.png + assets/minecraft/textures/items/leather_boots.png + assets/minecraft/textures/items/leather_boots_overlay.png + assets/minecraft/textures/items/leather_chestplate.png + assets/minecraft/textures/items/leather_chestplate_overlay.png + assets/minecraft/textures/items/leather_helmet.png + assets/minecraft/textures/items/leather_helmet_overlay.png + assets/minecraft/textures/items/leather_leggings.png + assets/minecraft/textures/items/leather_leggings_overlay.png + assets/minecraft/textures/items/magma_cream.png + assets/minecraft/textures/items/map_empty.png + assets/minecraft/textures/items/map_filled.png + assets/minecraft/textures/items/map_filled_markings.png + assets/minecraft/textures/items/melon.png + assets/minecraft/textures/items/melon_speckled.png + assets/minecraft/textures/items/minecart_chest.png + assets/minecraft/textures/items/minecart_command_block.png + assets/minecraft/textures/items/minecart_furnace.png + assets/minecraft/textures/items/minecart_hopper.png + assets/minecraft/textures/items/minecart_normal.png + assets/minecraft/textures/items/minecart_tnt.png + assets/minecraft/textures/items/mushroom_stew.png + assets/minecraft/textures/items/mutton_cooked.png + assets/minecraft/textures/items/mutton_raw.png + assets/minecraft/textures/items/name_tag.png + assets/minecraft/textures/items/nether_star.png + assets/minecraft/textures/items/nether_wart.png + assets/minecraft/textures/items/netherbrick.png + assets/minecraft/textures/items/oak_boat.png + assets/minecraft/textures/items/painting.png + assets/minecraft/textures/items/paper.png + assets/minecraft/textures/items/porkchop_cooked.png + assets/minecraft/textures/items/porkchop_raw.png + assets/minecraft/textures/items/potato.png + assets/minecraft/textures/items/potato_baked.png + assets/minecraft/textures/items/potato_poisonous.png + assets/minecraft/textures/items/potion_bottle_drinkable.png + assets/minecraft/textures/items/potion_bottle_empty.png + assets/minecraft/textures/items/potion_bottle_lingering.png + assets/minecraft/textures/items/potion_bottle_splash.png + assets/minecraft/textures/items/potion_overlay.png + assets/minecraft/textures/items/prismarine_crystals.png + assets/minecraft/textures/items/prismarine_shard.png + assets/minecraft/textures/items/pumpkin_pie.png + assets/minecraft/textures/items/quartz.png + assets/minecraft/textures/items/rabbit_cooked.png + assets/minecraft/textures/items/rabbit_foot.png + assets/minecraft/textures/items/rabbit_hide.png + assets/minecraft/textures/items/rabbit_raw.png + assets/minecraft/textures/items/rabbit_stew.png + assets/minecraft/textures/items/record_11.png + assets/minecraft/textures/items/record_13.png + assets/minecraft/textures/items/record_blocks.png + assets/minecraft/textures/items/record_cat.png + assets/minecraft/textures/items/record_chirp.png + assets/minecraft/textures/items/record_far.png + assets/minecraft/textures/items/record_mall.png + assets/minecraft/textures/items/record_mellohi.png + assets/minecraft/textures/items/record_stal.png + assets/minecraft/textures/items/record_strad.png + assets/minecraft/textures/items/record_wait.png + assets/minecraft/textures/items/record_ward.png + assets/minecraft/textures/items/redstone_dust.png + assets/minecraft/textures/items/reeds.png + assets/minecraft/textures/items/repeater.png + assets/minecraft/textures/items/rotten_flesh.png + assets/minecraft/textures/items/ruby.png + assets/minecraft/textures/items/saddle.png + assets/minecraft/textures/items/seeds_melon.png + assets/minecraft/textures/items/seeds_pumpkin.png + assets/minecraft/textures/items/seeds_wheat.png + assets/minecraft/textures/items/shears.png + assets/minecraft/textures/items/shulker_shell.png + assets/minecraft/textures/items/sign.png + assets/minecraft/textures/items/slimeball.png + assets/minecraft/textures/items/snowball.png + assets/minecraft/textures/items/spawn_egg.png + assets/minecraft/textures/items/spawn_egg_overlay.png + assets/minecraft/textures/items/spectral_arrow.png + assets/minecraft/textures/items/spider_eye.png + assets/minecraft/textures/items/spider_eye_fermented.png + assets/minecraft/textures/items/spruce_boat.png + assets/minecraft/textures/items/stick.png + assets/minecraft/textures/items/stone_axe.png + assets/minecraft/textures/items/stone_hoe.png + assets/minecraft/textures/items/stone_pickaxe.png + assets/minecraft/textures/items/stone_shovel.png + assets/minecraft/textures/items/stone_sword.png + assets/minecraft/textures/items/string.png + assets/minecraft/textures/items/structure_void.png + assets/minecraft/textures/items/sugar.png + assets/minecraft/textures/items/tipped_arrow_base.png + assets/minecraft/textures/items/tipped_arrow_head.png + assets/minecraft/textures/items/totem.png + assets/minecraft/textures/items/wheat.png + assets/minecraft/textures/items/wood_axe.png + assets/minecraft/textures/items/wood_hoe.png + assets/minecraft/textures/items/wood_pickaxe.png + assets/minecraft/textures/items/wood_shovel.png + assets/minecraft/textures/items/wood_sword.png + assets/minecraft/textures/items/wooden_armorstand.png + assets/minecraft/textures/misc/forcefield.png + assets/minecraft/textures/misc/underwater.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 4,4,8,8 + scale9Paddings + 4,4,8,8 + scale9FromFile + + + assets/minecraft/textures/blocks/chain_command_block_back.png + assets/minecraft/textures/blocks/chain_command_block_conditional.png + assets/minecraft/textures/blocks/chain_command_block_front.png + assets/minecraft/textures/blocks/chain_command_block_side.png + assets/minecraft/textures/blocks/command_block_back.png + assets/minecraft/textures/blocks/command_block_conditional.png + assets/minecraft/textures/blocks/command_block_front.png + assets/minecraft/textures/blocks/command_block_side.png + assets/minecraft/textures/blocks/prismarine_rough.png + assets/minecraft/textures/blocks/repeating_command_block_back.png + assets/minecraft/textures/blocks/repeating_command_block_conditional.png + assets/minecraft/textures/blocks/repeating_command_block_front.png + assets/minecraft/textures/blocks/repeating_command_block_side.png + assets/minecraft/textures/gui/stream_indicator.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 4,16,8,32 + scale9Paddings + 4,16,8,32 + scale9FromFile + + + assets/minecraft/textures/blocks/fire_layer_0.png + assets/minecraft/textures/blocks/fire_layer_1.png + assets/minecraft/textures/blocks/portal.png + assets/minecraft/textures/blocks/water_still.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 4,128,8,256 + scale9Paddings + 4,128,8,256 + scale9FromFile + + + assets/minecraft/textures/blocks/lava_flow.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 8,128,16,256 + scale9Paddings + 8,128,16,256 + scale9FromFile + + + assets/minecraft/textures/blocks/lava_still.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 4,80,8,160 + scale9Paddings + 4,80,8,160 + scale9FromFile + + + assets/minecraft/textures/blocks/magma.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 4,12,8,24 + scale9Paddings + 4,12,8,24 + scale9FromFile + + + assets/minecraft/textures/blocks/sea_lantern.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 4,20,8,40 + scale9Paddings + 4,20,8,40 + scale9FromFile + + + assets/minecraft/textures/blocks/water_flow.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 8,256,16,512 + scale9Paddings + 8,256,16,512 + scale9FromFile + + + assets/minecraft/textures/colormap/foliage.png + assets/minecraft/textures/colormap/grass.png + assets/minecraft/textures/entity/end_portal.png + assets/minecraft/textures/entity/enderdragon/dragon.png + assets/minecraft/textures/entity/enderdragon/dragon_exploding.png + assets/minecraft/textures/entity/enderdragon/dragon_eyes.png + assets/minecraft/textures/environment/clouds.png + assets/minecraft/textures/gui/achievement/achievement_background.png + assets/minecraft/textures/gui/achievement/achievement_icons.png + assets/minecraft/textures/gui/bars.png + assets/minecraft/textures/gui/book.png + assets/minecraft/textures/gui/container/anvil.png + assets/minecraft/textures/gui/container/beacon.png + assets/minecraft/textures/gui/container/brewing_stand.png + assets/minecraft/textures/gui/container/crafting_table.png + assets/minecraft/textures/gui/container/creative_inventory/tab_inventory.png + assets/minecraft/textures/gui/container/creative_inventory/tab_item_search.png + assets/minecraft/textures/gui/container/creative_inventory/tab_items.png + assets/minecraft/textures/gui/container/creative_inventory/tabs.png + assets/minecraft/textures/gui/container/dispenser.png + assets/minecraft/textures/gui/container/enchanting_table.png + assets/minecraft/textures/gui/container/furnace.png + assets/minecraft/textures/gui/container/generic_54.png + assets/minecraft/textures/gui/container/hopper.png + assets/minecraft/textures/gui/container/horse.png + assets/minecraft/textures/gui/container/inventory.png + assets/minecraft/textures/gui/container/shulker_box.png + assets/minecraft/textures/gui/container/villager.png + assets/minecraft/textures/gui/demo_background.png + assets/minecraft/textures/gui/icons.png + assets/minecraft/textures/gui/presets/chaos.png + assets/minecraft/textures/gui/presets/delight.png + assets/minecraft/textures/gui/presets/drought.png + assets/minecraft/textures/gui/presets/isles.png + assets/minecraft/textures/gui/presets/luck.png + assets/minecraft/textures/gui/presets/madness.png + assets/minecraft/textures/gui/presets/water.png + assets/minecraft/textures/gui/resource_packs.png + assets/minecraft/textures/gui/server_selection.png + assets/minecraft/textures/gui/spectator_widgets.png + assets/minecraft/textures/gui/title/background/panorama_0.png + assets/minecraft/textures/gui/title/background/panorama_1.png + assets/minecraft/textures/gui/title/background/panorama_2.png + assets/minecraft/textures/gui/title/background/panorama_3.png + assets/minecraft/textures/gui/title/background/panorama_4.png + assets/minecraft/textures/gui/title/background/panorama_5.png + assets/minecraft/textures/gui/title/minecraft.png + assets/minecraft/textures/gui/title/mojang.png + assets/minecraft/textures/gui/widgets.png + assets/minecraft/textures/gui/world_selection.png + assets/minecraft/textures/misc/pumpkinblur.png + assets/minecraft/textures/misc/vignette.png + assets/minecraft/textures/painting/paintings_kristoffer_zetterstrand.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 64,64,128,128 + scale9Paddings + 64,64,128,128 + scale9FromFile + + + assets/minecraft/textures/effect/dither.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 1,1,2,2 + scale9Paddings + 1,1,2,2 + scale9FromFile + + + assets/minecraft/textures/entity/alex.png + assets/minecraft/textures/entity/armorstand/wood.png + assets/minecraft/textures/entity/banner/base.png + assets/minecraft/textures/entity/banner/border.png + assets/minecraft/textures/entity/banner/bricks.png + assets/minecraft/textures/entity/banner/circle.png + assets/minecraft/textures/entity/banner/creeper.png + assets/minecraft/textures/entity/banner/cross.png + assets/minecraft/textures/entity/banner/curly_border.png + assets/minecraft/textures/entity/banner/diagonal_left.png + assets/minecraft/textures/entity/banner/diagonal_right.png + assets/minecraft/textures/entity/banner/diagonal_up_left.png + assets/minecraft/textures/entity/banner/diagonal_up_right.png + assets/minecraft/textures/entity/banner/flower.png + assets/minecraft/textures/entity/banner/gradient.png + assets/minecraft/textures/entity/banner/gradient_up.png + assets/minecraft/textures/entity/banner/half_horizontal.png + assets/minecraft/textures/entity/banner/half_horizontal_bottom.png + assets/minecraft/textures/entity/banner/half_vertical.png + assets/minecraft/textures/entity/banner/half_vertical_right.png + assets/minecraft/textures/entity/banner/mojang.png + assets/minecraft/textures/entity/banner/rhombus.png + assets/minecraft/textures/entity/banner/skull.png + assets/minecraft/textures/entity/banner/small_stripes.png + assets/minecraft/textures/entity/banner/square_bottom_left.png + assets/minecraft/textures/entity/banner/square_bottom_right.png + assets/minecraft/textures/entity/banner/square_top_left.png + assets/minecraft/textures/entity/banner/square_top_right.png + assets/minecraft/textures/entity/banner/straight_cross.png + assets/minecraft/textures/entity/banner/stripe_bottom.png + assets/minecraft/textures/entity/banner/stripe_center.png + assets/minecraft/textures/entity/banner/stripe_downleft.png + assets/minecraft/textures/entity/banner/stripe_downright.png + assets/minecraft/textures/entity/banner/stripe_left.png + assets/minecraft/textures/entity/banner/stripe_middle.png + assets/minecraft/textures/entity/banner/stripe_right.png + assets/minecraft/textures/entity/banner/stripe_top.png + assets/minecraft/textures/entity/banner/triangle_bottom.png + assets/minecraft/textures/entity/banner/triangle_top.png + assets/minecraft/textures/entity/banner/triangles_bottom.png + assets/minecraft/textures/entity/banner/triangles_top.png + assets/minecraft/textures/entity/banner_base.png + assets/minecraft/textures/entity/bat.png + assets/minecraft/textures/entity/chest/christmas.png + assets/minecraft/textures/entity/chest/ender.png + assets/minecraft/textures/entity/chest/normal.png + assets/minecraft/textures/entity/chest/trapped.png + assets/minecraft/textures/entity/experience_orb.png + assets/minecraft/textures/entity/guardian.png + assets/minecraft/textures/entity/guardian_elder.png + assets/minecraft/textures/entity/illager/evoker.png + assets/minecraft/textures/entity/illager/vex.png + assets/minecraft/textures/entity/illager/vex_charging.png + assets/minecraft/textures/entity/illager/vindicator.png + assets/minecraft/textures/entity/shield/base.png + assets/minecraft/textures/entity/shield/border.png + assets/minecraft/textures/entity/shield/bricks.png + assets/minecraft/textures/entity/shield/circle.png + assets/minecraft/textures/entity/shield/creeper.png + assets/minecraft/textures/entity/shield/cross.png + assets/minecraft/textures/entity/shield/curly_border.png + assets/minecraft/textures/entity/shield/diagonal_left.png + assets/minecraft/textures/entity/shield/diagonal_right.png + assets/minecraft/textures/entity/shield/diagonal_up_left.png + assets/minecraft/textures/entity/shield/diagonal_up_right.png + assets/minecraft/textures/entity/shield/flower.png + assets/minecraft/textures/entity/shield/gradient.png + assets/minecraft/textures/entity/shield/gradient_up.png + assets/minecraft/textures/entity/shield/half_horizontal.png + assets/minecraft/textures/entity/shield/half_horizontal_bottom.png + assets/minecraft/textures/entity/shield/half_vertical.png + assets/minecraft/textures/entity/shield/half_vertical_right.png + assets/minecraft/textures/entity/shield/mojang.png + assets/minecraft/textures/entity/shield/rhombus.png + assets/minecraft/textures/entity/shield/skull.png + assets/minecraft/textures/entity/shield/small_stripes.png + assets/minecraft/textures/entity/shield/square_bottom_left.png + assets/minecraft/textures/entity/shield/square_bottom_right.png + assets/minecraft/textures/entity/shield/square_top_left.png + assets/minecraft/textures/entity/shield/square_top_right.png + assets/minecraft/textures/entity/shield/straight_cross.png + assets/minecraft/textures/entity/shield/stripe_bottom.png + assets/minecraft/textures/entity/shield/stripe_center.png + assets/minecraft/textures/entity/shield/stripe_downleft.png + assets/minecraft/textures/entity/shield/stripe_downright.png + assets/minecraft/textures/entity/shield/stripe_left.png + assets/minecraft/textures/entity/shield/stripe_middle.png + assets/minecraft/textures/entity/shield/stripe_right.png + assets/minecraft/textures/entity/shield/stripe_top.png + assets/minecraft/textures/entity/shield/triangle_bottom.png + assets/minecraft/textures/entity/shield/triangle_top.png + assets/minecraft/textures/entity/shield/triangles_bottom.png + assets/minecraft/textures/entity/shield/triangles_top.png + assets/minecraft/textures/entity/shield_base.png + assets/minecraft/textures/entity/shield_base_nopattern.png + assets/minecraft/textures/entity/shulker/shulker_black.png + assets/minecraft/textures/entity/shulker/shulker_blue.png + assets/minecraft/textures/entity/shulker/shulker_brown.png + assets/minecraft/textures/entity/shulker/shulker_cyan.png + assets/minecraft/textures/entity/shulker/shulker_gray.png + assets/minecraft/textures/entity/shulker/shulker_green.png + assets/minecraft/textures/entity/shulker/shulker_light_blue.png + assets/minecraft/textures/entity/shulker/shulker_lime.png + assets/minecraft/textures/entity/shulker/shulker_magenta.png + assets/minecraft/textures/entity/shulker/shulker_orange.png + assets/minecraft/textures/entity/shulker/shulker_pink.png + assets/minecraft/textures/entity/shulker/shulker_purple.png + assets/minecraft/textures/entity/shulker/shulker_red.png + assets/minecraft/textures/entity/shulker/shulker_silver.png + assets/minecraft/textures/entity/shulker/shulker_white.png + assets/minecraft/textures/entity/shulker/shulker_yellow.png + assets/minecraft/textures/entity/snowman.png + assets/minecraft/textures/entity/steve.png + assets/minecraft/textures/entity/villager/butcher.png + assets/minecraft/textures/entity/villager/farmer.png + assets/minecraft/textures/entity/villager/librarian.png + assets/minecraft/textures/entity/villager/priest.png + assets/minecraft/textures/entity/villager/smith.png + assets/minecraft/textures/entity/villager/villager.png + assets/minecraft/textures/entity/wither/wither.png + assets/minecraft/textures/entity/wither/wither_armor.png + assets/minecraft/textures/entity/wither/wither_invulnerable.png + assets/minecraft/textures/entity/zombie/husk.png + assets/minecraft/textures/entity/zombie/zombie.png + assets/minecraft/textures/entity/zombie/zombie_villager.png + assets/minecraft/textures/entity/zombie_pigman.png + assets/minecraft/textures/entity/zombie_villager/zombie_butcher.png + assets/minecraft/textures/entity/zombie_villager/zombie_farmer.png + assets/minecraft/textures/entity/zombie_villager/zombie_librarian.png + assets/minecraft/textures/entity/zombie_villager/zombie_priest.png + assets/minecraft/textures/entity/zombie_villager/zombie_smith.png + assets/minecraft/textures/entity/zombie_villager/zombie_villager.png + assets/minecraft/textures/map/map_background.png + assets/minecraft/textures/misc/enchanted_item_glint.png + assets/minecraft/textures/misc/shadow.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 16,16,32,32 + scale9Paddings + 16,16,32,32 + scale9FromFile + + + assets/minecraft/textures/entity/arrow.png + assets/minecraft/textures/entity/guardian_beam.png + assets/minecraft/textures/entity/lead_knot.png + assets/minecraft/textures/entity/projectiles/arrow.png + assets/minecraft/textures/entity/projectiles/spectral_arrow.png + assets/minecraft/textures/entity/projectiles/tipped_arrow.png + assets/minecraft/textures/environment/sun.png + assets/minecraft/textures/map/map_icons.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 8,8,16,16 + scale9Paddings + 8,8,16,16 + scale9FromFile + + + assets/minecraft/textures/entity/bear/polarbear.png + assets/minecraft/textures/entity/boat/boat_acacia.png + assets/minecraft/textures/entity/boat/boat_birch.png + assets/minecraft/textures/entity/boat/boat_darkoak.png + assets/minecraft/textures/entity/boat/boat_jungle.png + assets/minecraft/textures/entity/boat/boat_oak.png + assets/minecraft/textures/entity/boat/boat_spruce.png + assets/minecraft/textures/entity/chest/christmas_double.png + assets/minecraft/textures/entity/chest/normal_double.png + assets/minecraft/textures/entity/chest/trapped_double.png + assets/minecraft/textures/entity/endercrystal/endercrystal.png + assets/minecraft/textures/entity/llama/decor/decor_black.png + assets/minecraft/textures/entity/llama/decor/decor_blue.png + assets/minecraft/textures/entity/llama/decor/decor_brown.png + assets/minecraft/textures/entity/llama/decor/decor_cyan.png + assets/minecraft/textures/entity/llama/decor/decor_gray.png + assets/minecraft/textures/entity/llama/decor/decor_green.png + assets/minecraft/textures/entity/llama/decor/decor_light_blue.png + assets/minecraft/textures/entity/llama/decor/decor_lime.png + assets/minecraft/textures/entity/llama/decor/decor_magenta.png + assets/minecraft/textures/entity/llama/decor/decor_orange.png + assets/minecraft/textures/entity/llama/decor/decor_pink.png + assets/minecraft/textures/entity/llama/decor/decor_purple.png + assets/minecraft/textures/entity/llama/decor/decor_red.png + assets/minecraft/textures/entity/llama/decor/decor_silver.png + assets/minecraft/textures/entity/llama/decor/decor_white.png + assets/minecraft/textures/entity/llama/decor/decor_yellow.png + assets/minecraft/textures/entity/llama/llama.png + assets/minecraft/textures/entity/llama/llama_brown.png + assets/minecraft/textures/entity/llama/llama_creamy.png + assets/minecraft/textures/entity/llama/llama_gray.png + assets/minecraft/textures/entity/llama/llama_white.png + assets/minecraft/textures/environment/moon_phases.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 32,16,64,32 + scale9Paddings + 32,16,64,32 + scale9FromFile + + + assets/minecraft/textures/entity/blaze.png + assets/minecraft/textures/entity/cat/black.png + assets/minecraft/textures/entity/cat/ocelot.png + assets/minecraft/textures/entity/cat/red.png + assets/minecraft/textures/entity/cat/siamese.png + assets/minecraft/textures/entity/chicken.png + assets/minecraft/textures/entity/cow/cow.png + assets/minecraft/textures/entity/cow/mooshroom.png + assets/minecraft/textures/entity/creeper/creeper.png + assets/minecraft/textures/entity/creeper/creeper_armor.png + assets/minecraft/textures/entity/elytra.png + assets/minecraft/textures/entity/enchanting_table_book.png + assets/minecraft/textures/entity/enderman/enderman.png + assets/minecraft/textures/entity/enderman/enderman_eyes.png + assets/minecraft/textures/entity/endermite.png + assets/minecraft/textures/entity/ghast/ghast.png + assets/minecraft/textures/entity/ghast/ghast_shooting.png + assets/minecraft/textures/entity/illager/fangs.png + assets/minecraft/textures/entity/llama/spit.png + assets/minecraft/textures/entity/minecart.png + assets/minecraft/textures/entity/pig/pig.png + assets/minecraft/textures/entity/pig/pig_saddle.png + assets/minecraft/textures/entity/rabbit/black.png + assets/minecraft/textures/entity/rabbit/brown.png + assets/minecraft/textures/entity/rabbit/caerbannog.png + assets/minecraft/textures/entity/rabbit/gold.png + assets/minecraft/textures/entity/rabbit/salt.png + assets/minecraft/textures/entity/rabbit/toast.png + assets/minecraft/textures/entity/rabbit/white.png + assets/minecraft/textures/entity/rabbit/white_splotched.png + assets/minecraft/textures/entity/sheep/sheep.png + assets/minecraft/textures/entity/sheep/sheep_fur.png + assets/minecraft/textures/entity/shulker/spark.png + assets/minecraft/textures/entity/sign.png + assets/minecraft/textures/entity/silverfish.png + assets/minecraft/textures/entity/skeleton/skeleton.png + assets/minecraft/textures/entity/skeleton/stray.png + assets/minecraft/textures/entity/skeleton/stray_overlay.png + assets/minecraft/textures/entity/skeleton/wither_skeleton.png + assets/minecraft/textures/entity/slime/magmacube.png + assets/minecraft/textures/entity/slime/slime.png + assets/minecraft/textures/entity/spider/cave_spider.png + assets/minecraft/textures/entity/spider/spider.png + assets/minecraft/textures/entity/spider_eyes.png + assets/minecraft/textures/entity/squid.png + assets/minecraft/textures/entity/wolf/wolf.png + assets/minecraft/textures/entity/wolf/wolf_angry.png + assets/minecraft/textures/entity/wolf/wolf_collar.png + assets/minecraft/textures/entity/wolf/wolf_tame.png + assets/minecraft/textures/models/armor/chainmail_layer_1.png + assets/minecraft/textures/models/armor/chainmail_layer_2.png + assets/minecraft/textures/models/armor/diamond_layer_1.png + assets/minecraft/textures/models/armor/diamond_layer_2.png + assets/minecraft/textures/models/armor/gold_layer_1.png + assets/minecraft/textures/models/armor/gold_layer_2.png + assets/minecraft/textures/models/armor/iron_layer_1.png + assets/minecraft/textures/models/armor/iron_layer_2.png + assets/minecraft/textures/models/armor/leather_layer_1.png + assets/minecraft/textures/models/armor/leather_layer_1_overlay.png + assets/minecraft/textures/models/armor/leather_layer_2.png + assets/minecraft/textures/models/armor/leather_layer_2_overlay.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 16,8,32,16 + scale9Paddings + 16,8,32,16 + scale9FromFile + + + assets/minecraft/textures/entity/endercrystal/endercrystal_beam.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 4,64,8,128 + scale9Paddings + 4,64,8,128 + scale9FromFile + + + assets/minecraft/textures/entity/explosion.png + assets/minecraft/textures/entity/horse/armor/horse_armor_diamond.png + assets/minecraft/textures/entity/horse/armor/horse_armor_gold.png + assets/minecraft/textures/entity/horse/armor/horse_armor_iron.png + assets/minecraft/textures/entity/horse/donkey.png + assets/minecraft/textures/entity/horse/horse_black.png + assets/minecraft/textures/entity/horse/horse_brown.png + assets/minecraft/textures/entity/horse/horse_chestnut.png + assets/minecraft/textures/entity/horse/horse_creamy.png + assets/minecraft/textures/entity/horse/horse_darkbrown.png + assets/minecraft/textures/entity/horse/horse_gray.png + assets/minecraft/textures/entity/horse/horse_markings_blackdots.png + assets/minecraft/textures/entity/horse/horse_markings_white.png + assets/minecraft/textures/entity/horse/horse_markings_whitedots.png + assets/minecraft/textures/entity/horse/horse_markings_whitefield.png + assets/minecraft/textures/entity/horse/horse_skeleton.png + assets/minecraft/textures/entity/horse/horse_white.png + assets/minecraft/textures/entity/horse/horse_zombie.png + assets/minecraft/textures/entity/horse/mule.png + assets/minecraft/textures/entity/iron_golem.png + assets/minecraft/textures/environment/end_sky.png + assets/minecraft/textures/gui/container/stats_icons.png + assets/minecraft/textures/misc/unknown_pack.png + assets/minecraft/textures/misc/unknown_server.png + assets/minecraft/textures/particle/particles.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 32,32,64,64 + scale9Paddings + 32,32,64,64 + scale9FromFile + + + assets/minecraft/textures/entity/sweep.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 32,8,64,16 + scale9Paddings + 32,8,64,16 + scale9FromFile + + + assets/minecraft/textures/entity/witch.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 16,32,32,64 + scale9Paddings + 16,32,32,64 + scale9FromFile + + + assets/minecraft/textures/environment/rain.png + assets/minecraft/textures/environment/snow.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 16,64,32,128 + scale9Paddings + 16,64,32,128 + scale9FromFile + + + assets/minecraft/textures/particle/footprint.png + + pivotPoint + 0.5,0.5 + scale9Enabled + + scale9Borders + 2,2,4,4 + scale9Paddings + 2,2,4,4 + scale9FromFile + + + + fileList + + assets/minecraft/textures + + ignoreFileList + + replaceList + + ignoredWarnings + + commonDivisorX + 1 + commonDivisorY + 1 + packNormalMaps + + autodetectNormalMaps + + normalMapFilter + + normalMapSuffix + + normalMapSheetFileName + + exporterProperties + + + diff --git a/depedencies/include/GL/glxew.h b/depedencies/include/GL/glxew.h new file mode 100644 index 0000000..d803d26 --- /dev/null +++ b/depedencies/include/GL/glxew.h @@ -0,0 +1,1772 @@ +/* +** The OpenGL Extension Wrangler Library +** Copyright (C) 2008-2015, Nigel Stewart +** Copyright (C) 2002-2008, Milan Ikits +** Copyright (C) 2002-2008, Marcelo E. Magallon +** Copyright (C) 2002, Lev Povalahev +** All rights reserved. +** +** Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are met: +** +** * Redistributions of source code must retain the above copyright notice, +** this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright notice, +** this list of conditions and the following disclaimer in the documentation +** and/or other materials provided with the distribution. +** * The name of the author may be used to endorse or promote products +** derived from this software without specific prior written permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +** THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* + * Mesa 3-D graphics library + * Version: 7.0 + * + * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +/* +** Copyright (c) 2007 The Khronos Group Inc. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ + +#ifndef __glxew_h__ +#define __glxew_h__ +#define __GLXEW_H__ + +#ifdef __glxext_h_ +#error glxext.h included before glxew.h +#endif + +#if defined(GLX_H) || defined(__GLX_glx_h__) || defined(__glx_h__) +#error glx.h included before glxew.h +#endif + +#define __glxext_h_ + +#define GLX_H +#define __GLX_glx_h__ +#define __glx_h__ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* ---------------------------- GLX_VERSION_1_0 --------------------------- */ + +#ifndef GLX_VERSION_1_0 +#define GLX_VERSION_1_0 1 + +#define GLX_USE_GL 1 +#define GLX_BUFFER_SIZE 2 +#define GLX_LEVEL 3 +#define GLX_RGBA 4 +#define GLX_DOUBLEBUFFER 5 +#define GLX_STEREO 6 +#define GLX_AUX_BUFFERS 7 +#define GLX_RED_SIZE 8 +#define GLX_GREEN_SIZE 9 +#define GLX_BLUE_SIZE 10 +#define GLX_ALPHA_SIZE 11 +#define GLX_DEPTH_SIZE 12 +#define GLX_STENCIL_SIZE 13 +#define GLX_ACCUM_RED_SIZE 14 +#define GLX_ACCUM_GREEN_SIZE 15 +#define GLX_ACCUM_BLUE_SIZE 16 +#define GLX_ACCUM_ALPHA_SIZE 17 +#define GLX_BAD_SCREEN 1 +#define GLX_BAD_ATTRIBUTE 2 +#define GLX_NO_EXTENSION 3 +#define GLX_BAD_VISUAL 4 +#define GLX_BAD_CONTEXT 5 +#define GLX_BAD_VALUE 6 +#define GLX_BAD_ENUM 7 + +typedef XID GLXDrawable; +typedef XID GLXPixmap; +#ifdef __sun +typedef struct __glXContextRec *GLXContext; +#else +typedef struct __GLXcontextRec *GLXContext; +#endif + +typedef unsigned int GLXVideoDeviceNV; + +extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase); +extern Bool glXQueryVersion (Display *dpy, int *major, int *minor); +extern int glXGetConfig (Display *dpy, XVisualInfo *vis, int attrib, int *value); +extern XVisualInfo* glXChooseVisual (Display *dpy, int screen, int *attribList); +extern GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *vis, Pixmap pixmap); +extern void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pix); +extern GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); +extern void glXDestroyContext (Display *dpy, GLXContext ctx); +extern Bool glXIsDirect (Display *dpy, GLXContext ctx); +extern void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, GLulong mask); +extern Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx); +extern GLXContext glXGetCurrentContext (void); +extern GLXDrawable glXGetCurrentDrawable (void); +extern void glXWaitGL (void); +extern void glXWaitX (void); +extern void glXSwapBuffers (Display *dpy, GLXDrawable drawable); +extern void glXUseXFont (Font font, int first, int count, int listBase); + +#define GLXEW_VERSION_1_0 GLXEW_GET_VAR(__GLXEW_VERSION_1_0) + +#endif /* GLX_VERSION_1_0 */ + +/* ---------------------------- GLX_VERSION_1_1 --------------------------- */ + +#ifndef GLX_VERSION_1_1 +#define GLX_VERSION_1_1 + +#define GLX_VENDOR 0x1 +#define GLX_VERSION 0x2 +#define GLX_EXTENSIONS 0x3 + +extern const char* glXQueryExtensionsString (Display *dpy, int screen); +extern const char* glXGetClientString (Display *dpy, int name); +extern const char* glXQueryServerString (Display *dpy, int screen, int name); + +#define GLXEW_VERSION_1_1 GLXEW_GET_VAR(__GLXEW_VERSION_1_1) + +#endif /* GLX_VERSION_1_1 */ + +/* ---------------------------- GLX_VERSION_1_2 ---------------------------- */ + +#ifndef GLX_VERSION_1_2 +#define GLX_VERSION_1_2 1 + +typedef Display* ( * PFNGLXGETCURRENTDISPLAYPROC) (void); + +#define glXGetCurrentDisplay GLXEW_GET_FUN(__glewXGetCurrentDisplay) + +#define GLXEW_VERSION_1_2 GLXEW_GET_VAR(__GLXEW_VERSION_1_2) + +#endif /* GLX_VERSION_1_2 */ + +/* ---------------------------- GLX_VERSION_1_3 ---------------------------- */ + +#ifndef GLX_VERSION_1_3 +#define GLX_VERSION_1_3 1 + +#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 +#define GLX_RGBA_BIT 0x00000001 +#define GLX_WINDOW_BIT 0x00000001 +#define GLX_COLOR_INDEX_BIT 0x00000002 +#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 +#define GLX_PIXMAP_BIT 0x00000002 +#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 +#define GLX_PBUFFER_BIT 0x00000004 +#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 +#define GLX_AUX_BUFFERS_BIT 0x00000010 +#define GLX_CONFIG_CAVEAT 0x20 +#define GLX_DEPTH_BUFFER_BIT 0x00000020 +#define GLX_X_VISUAL_TYPE 0x22 +#define GLX_TRANSPARENT_TYPE 0x23 +#define GLX_TRANSPARENT_INDEX_VALUE 0x24 +#define GLX_TRANSPARENT_RED_VALUE 0x25 +#define GLX_TRANSPARENT_GREEN_VALUE 0x26 +#define GLX_TRANSPARENT_BLUE_VALUE 0x27 +#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 +#define GLX_STENCIL_BUFFER_BIT 0x00000040 +#define GLX_ACCUM_BUFFER_BIT 0x00000080 +#define GLX_NONE 0x8000 +#define GLX_SLOW_CONFIG 0x8001 +#define GLX_TRUE_COLOR 0x8002 +#define GLX_DIRECT_COLOR 0x8003 +#define GLX_PSEUDO_COLOR 0x8004 +#define GLX_STATIC_COLOR 0x8005 +#define GLX_GRAY_SCALE 0x8006 +#define GLX_STATIC_GRAY 0x8007 +#define GLX_TRANSPARENT_RGB 0x8008 +#define GLX_TRANSPARENT_INDEX 0x8009 +#define GLX_VISUAL_ID 0x800B +#define GLX_SCREEN 0x800C +#define GLX_NON_CONFORMANT_CONFIG 0x800D +#define GLX_DRAWABLE_TYPE 0x8010 +#define GLX_RENDER_TYPE 0x8011 +#define GLX_X_RENDERABLE 0x8012 +#define GLX_FBCONFIG_ID 0x8013 +#define GLX_RGBA_TYPE 0x8014 +#define GLX_COLOR_INDEX_TYPE 0x8015 +#define GLX_MAX_PBUFFER_WIDTH 0x8016 +#define GLX_MAX_PBUFFER_HEIGHT 0x8017 +#define GLX_MAX_PBUFFER_PIXELS 0x8018 +#define GLX_PRESERVED_CONTENTS 0x801B +#define GLX_LARGEST_PBUFFER 0x801C +#define GLX_WIDTH 0x801D +#define GLX_HEIGHT 0x801E +#define GLX_EVENT_MASK 0x801F +#define GLX_DAMAGED 0x8020 +#define GLX_SAVED 0x8021 +#define GLX_WINDOW 0x8022 +#define GLX_PBUFFER 0x8023 +#define GLX_PBUFFER_HEIGHT 0x8040 +#define GLX_PBUFFER_WIDTH 0x8041 +#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 +#define GLX_DONT_CARE 0xFFFFFFFF + +typedef XID GLXFBConfigID; +typedef XID GLXPbuffer; +typedef XID GLXWindow; +typedef struct __GLXFBConfigRec *GLXFBConfig; + +typedef struct { + int event_type; + int draw_type; + unsigned long serial; + Bool send_event; + Display *display; + GLXDrawable drawable; + unsigned int buffer_mask; + unsigned int aux_buffer; + int x, y; + int width, height; + int count; +} GLXPbufferClobberEvent; +typedef union __GLXEvent { + GLXPbufferClobberEvent glxpbufferclobber; + long pad[24]; +} GLXEvent; + +typedef GLXFBConfig* ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); +typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); +typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list); +typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); +typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); +typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); +typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); +typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); +typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void); +typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); +typedef GLXFBConfig* ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements); +typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask); +typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config); +typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx); +typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); +typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); +typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask); + +#define glXChooseFBConfig GLXEW_GET_FUN(__glewXChooseFBConfig) +#define glXCreateNewContext GLXEW_GET_FUN(__glewXCreateNewContext) +#define glXCreatePbuffer GLXEW_GET_FUN(__glewXCreatePbuffer) +#define glXCreatePixmap GLXEW_GET_FUN(__glewXCreatePixmap) +#define glXCreateWindow GLXEW_GET_FUN(__glewXCreateWindow) +#define glXDestroyPbuffer GLXEW_GET_FUN(__glewXDestroyPbuffer) +#define glXDestroyPixmap GLXEW_GET_FUN(__glewXDestroyPixmap) +#define glXDestroyWindow GLXEW_GET_FUN(__glewXDestroyWindow) +#define glXGetCurrentReadDrawable GLXEW_GET_FUN(__glewXGetCurrentReadDrawable) +#define glXGetFBConfigAttrib GLXEW_GET_FUN(__glewXGetFBConfigAttrib) +#define glXGetFBConfigs GLXEW_GET_FUN(__glewXGetFBConfigs) +#define glXGetSelectedEvent GLXEW_GET_FUN(__glewXGetSelectedEvent) +#define glXGetVisualFromFBConfig GLXEW_GET_FUN(__glewXGetVisualFromFBConfig) +#define glXMakeContextCurrent GLXEW_GET_FUN(__glewXMakeContextCurrent) +#define glXQueryContext GLXEW_GET_FUN(__glewXQueryContext) +#define glXQueryDrawable GLXEW_GET_FUN(__glewXQueryDrawable) +#define glXSelectEvent GLXEW_GET_FUN(__glewXSelectEvent) + +#define GLXEW_VERSION_1_3 GLXEW_GET_VAR(__GLXEW_VERSION_1_3) + +#endif /* GLX_VERSION_1_3 */ + +/* ---------------------------- GLX_VERSION_1_4 ---------------------------- */ + +#ifndef GLX_VERSION_1_4 +#define GLX_VERSION_1_4 1 + +#define GLX_SAMPLE_BUFFERS 100000 +#define GLX_SAMPLES 100001 + +extern void ( * glXGetProcAddress (const GLubyte *procName)) (void); + +#define GLXEW_VERSION_1_4 GLXEW_GET_VAR(__GLXEW_VERSION_1_4) + +#endif /* GLX_VERSION_1_4 */ + +/* -------------------------- GLX_3DFX_multisample ------------------------- */ + +#ifndef GLX_3DFX_multisample +#define GLX_3DFX_multisample 1 + +#define GLX_SAMPLE_BUFFERS_3DFX 0x8050 +#define GLX_SAMPLES_3DFX 0x8051 + +#define GLXEW_3DFX_multisample GLXEW_GET_VAR(__GLXEW_3DFX_multisample) + +#endif /* GLX_3DFX_multisample */ + +/* ------------------------ GLX_AMD_gpu_association ------------------------ */ + +#ifndef GLX_AMD_gpu_association +#define GLX_AMD_gpu_association 1 + +#define GLX_GPU_VENDOR_AMD 0x1F00 +#define GLX_GPU_RENDERER_STRING_AMD 0x1F01 +#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 +#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 +#define GLX_GPU_RAM_AMD 0x21A3 +#define GLX_GPU_CLOCK_AMD 0x21A4 +#define GLX_GPU_NUM_PIPES_AMD 0x21A5 +#define GLX_GPU_NUM_SIMD_AMD 0x21A6 +#define GLX_GPU_NUM_RB_AMD 0x21A7 +#define GLX_GPU_NUM_SPI_AMD 0x21A8 + +typedef void ( * PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC) (GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +typedef GLXContext ( * PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC) (unsigned int id, GLXContext share_list); +typedef GLXContext ( * PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (unsigned int id, GLXContext share_context, const int* attribList); +typedef Bool ( * PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC) (GLXContext ctx); +typedef unsigned int ( * PFNGLXGETCONTEXTGPUIDAMDPROC) (GLXContext ctx); +typedef GLXContext ( * PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); +typedef unsigned int ( * PFNGLXGETGPUIDSAMDPROC) (unsigned int maxCount, unsigned int* ids); +typedef int ( * PFNGLXGETGPUINFOAMDPROC) (unsigned int id, int property, GLenum dataType, unsigned int size, void* data); +typedef Bool ( * PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (GLXContext ctx); + +#define glXBlitContextFramebufferAMD GLXEW_GET_FUN(__glewXBlitContextFramebufferAMD) +#define glXCreateAssociatedContextAMD GLXEW_GET_FUN(__glewXCreateAssociatedContextAMD) +#define glXCreateAssociatedContextAttribsAMD GLXEW_GET_FUN(__glewXCreateAssociatedContextAttribsAMD) +#define glXDeleteAssociatedContextAMD GLXEW_GET_FUN(__glewXDeleteAssociatedContextAMD) +#define glXGetContextGPUIDAMD GLXEW_GET_FUN(__glewXGetContextGPUIDAMD) +#define glXGetCurrentAssociatedContextAMD GLXEW_GET_FUN(__glewXGetCurrentAssociatedContextAMD) +#define glXGetGPUIDsAMD GLXEW_GET_FUN(__glewXGetGPUIDsAMD) +#define glXGetGPUInfoAMD GLXEW_GET_FUN(__glewXGetGPUInfoAMD) +#define glXMakeAssociatedContextCurrentAMD GLXEW_GET_FUN(__glewXMakeAssociatedContextCurrentAMD) + +#define GLXEW_AMD_gpu_association GLXEW_GET_VAR(__GLXEW_AMD_gpu_association) + +#endif /* GLX_AMD_gpu_association */ + +/* --------------------- GLX_ARB_context_flush_control --------------------- */ + +#ifndef GLX_ARB_context_flush_control +#define GLX_ARB_context_flush_control 1 + +#define GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0x0000 +#define GLX_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097 +#define GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098 + +#define GLXEW_ARB_context_flush_control GLXEW_GET_VAR(__GLXEW_ARB_context_flush_control) + +#endif /* GLX_ARB_context_flush_control */ + +/* ------------------------- GLX_ARB_create_context ------------------------ */ + +#ifndef GLX_ARB_create_context +#define GLX_ARB_create_context 1 + +#define GLX_CONTEXT_DEBUG_BIT_ARB 0x0001 +#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 +#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 +#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 +#define GLX_CONTEXT_FLAGS_ARB 0x2094 + +typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display* dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list); + +#define glXCreateContextAttribsARB GLXEW_GET_FUN(__glewXCreateContextAttribsARB) + +#define GLXEW_ARB_create_context GLXEW_GET_VAR(__GLXEW_ARB_create_context) + +#endif /* GLX_ARB_create_context */ + +/* --------------------- GLX_ARB_create_context_profile -------------------- */ + +#ifndef GLX_ARB_create_context_profile +#define GLX_ARB_create_context_profile 1 + +#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 +#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 +#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 + +#define GLXEW_ARB_create_context_profile GLXEW_GET_VAR(__GLXEW_ARB_create_context_profile) + +#endif /* GLX_ARB_create_context_profile */ + +/* ------------------- GLX_ARB_create_context_robustness ------------------- */ + +#ifndef GLX_ARB_create_context_robustness +#define GLX_ARB_create_context_robustness 1 + +#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 +#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 +#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 +#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261 + +#define GLXEW_ARB_create_context_robustness GLXEW_GET_VAR(__GLXEW_ARB_create_context_robustness) + +#endif /* GLX_ARB_create_context_robustness */ + +/* ------------------------- GLX_ARB_fbconfig_float ------------------------ */ + +#ifndef GLX_ARB_fbconfig_float +#define GLX_ARB_fbconfig_float 1 + +#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004 +#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9 + +#define GLXEW_ARB_fbconfig_float GLXEW_GET_VAR(__GLXEW_ARB_fbconfig_float) + +#endif /* GLX_ARB_fbconfig_float */ + +/* ------------------------ GLX_ARB_framebuffer_sRGB ----------------------- */ + +#ifndef GLX_ARB_framebuffer_sRGB +#define GLX_ARB_framebuffer_sRGB 1 + +#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 + +#define GLXEW_ARB_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_ARB_framebuffer_sRGB) + +#endif /* GLX_ARB_framebuffer_sRGB */ + +/* ------------------------ GLX_ARB_get_proc_address ----------------------- */ + +#ifndef GLX_ARB_get_proc_address +#define GLX_ARB_get_proc_address 1 + +extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void); + +#define GLXEW_ARB_get_proc_address GLXEW_GET_VAR(__GLXEW_ARB_get_proc_address) + +#endif /* GLX_ARB_get_proc_address */ + +/* -------------------------- GLX_ARB_multisample -------------------------- */ + +#ifndef GLX_ARB_multisample +#define GLX_ARB_multisample 1 + +#define GLX_SAMPLE_BUFFERS_ARB 100000 +#define GLX_SAMPLES_ARB 100001 + +#define GLXEW_ARB_multisample GLXEW_GET_VAR(__GLXEW_ARB_multisample) + +#endif /* GLX_ARB_multisample */ + +/* ---------------- GLX_ARB_robustness_application_isolation --------------- */ + +#ifndef GLX_ARB_robustness_application_isolation +#define GLX_ARB_robustness_application_isolation 1 + +#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 + +#define GLXEW_ARB_robustness_application_isolation GLXEW_GET_VAR(__GLXEW_ARB_robustness_application_isolation) + +#endif /* GLX_ARB_robustness_application_isolation */ + +/* ---------------- GLX_ARB_robustness_share_group_isolation --------------- */ + +#ifndef GLX_ARB_robustness_share_group_isolation +#define GLX_ARB_robustness_share_group_isolation 1 + +#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 + +#define GLXEW_ARB_robustness_share_group_isolation GLXEW_GET_VAR(__GLXEW_ARB_robustness_share_group_isolation) + +#endif /* GLX_ARB_robustness_share_group_isolation */ + +/* ---------------------- GLX_ARB_vertex_buffer_object --------------------- */ + +#ifndef GLX_ARB_vertex_buffer_object +#define GLX_ARB_vertex_buffer_object 1 + +#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095 + +#define GLXEW_ARB_vertex_buffer_object GLXEW_GET_VAR(__GLXEW_ARB_vertex_buffer_object) + +#endif /* GLX_ARB_vertex_buffer_object */ + +/* ----------------------- GLX_ATI_pixel_format_float ---------------------- */ + +#ifndef GLX_ATI_pixel_format_float +#define GLX_ATI_pixel_format_float 1 + +#define GLX_RGBA_FLOAT_ATI_BIT 0x00000100 + +#define GLXEW_ATI_pixel_format_float GLXEW_GET_VAR(__GLXEW_ATI_pixel_format_float) + +#endif /* GLX_ATI_pixel_format_float */ + +/* ------------------------- GLX_ATI_render_texture ------------------------ */ + +#ifndef GLX_ATI_render_texture +#define GLX_ATI_render_texture 1 + +#define GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800 +#define GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801 +#define GLX_TEXTURE_FORMAT_ATI 0x9802 +#define GLX_TEXTURE_TARGET_ATI 0x9803 +#define GLX_MIPMAP_TEXTURE_ATI 0x9804 +#define GLX_TEXTURE_RGB_ATI 0x9805 +#define GLX_TEXTURE_RGBA_ATI 0x9806 +#define GLX_NO_TEXTURE_ATI 0x9807 +#define GLX_TEXTURE_CUBE_MAP_ATI 0x9808 +#define GLX_TEXTURE_1D_ATI 0x9809 +#define GLX_TEXTURE_2D_ATI 0x980A +#define GLX_MIPMAP_LEVEL_ATI 0x980B +#define GLX_CUBE_MAP_FACE_ATI 0x980C +#define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D +#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E +#define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F +#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810 +#define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811 +#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812 +#define GLX_FRONT_LEFT_ATI 0x9813 +#define GLX_FRONT_RIGHT_ATI 0x9814 +#define GLX_BACK_LEFT_ATI 0x9815 +#define GLX_BACK_RIGHT_ATI 0x9816 +#define GLX_AUX0_ATI 0x9817 +#define GLX_AUX1_ATI 0x9818 +#define GLX_AUX2_ATI 0x9819 +#define GLX_AUX3_ATI 0x981A +#define GLX_AUX4_ATI 0x981B +#define GLX_AUX5_ATI 0x981C +#define GLX_AUX6_ATI 0x981D +#define GLX_AUX7_ATI 0x981E +#define GLX_AUX8_ATI 0x981F +#define GLX_AUX9_ATI 0x9820 +#define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821 +#define GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822 + +typedef void ( * PFNGLXBINDTEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer); +typedef void ( * PFNGLXDRAWABLEATTRIBATIPROC) (Display *dpy, GLXDrawable draw, const int *attrib_list); +typedef void ( * PFNGLXRELEASETEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer); + +#define glXBindTexImageATI GLXEW_GET_FUN(__glewXBindTexImageATI) +#define glXDrawableAttribATI GLXEW_GET_FUN(__glewXDrawableAttribATI) +#define glXReleaseTexImageATI GLXEW_GET_FUN(__glewXReleaseTexImageATI) + +#define GLXEW_ATI_render_texture GLXEW_GET_VAR(__GLXEW_ATI_render_texture) + +#endif /* GLX_ATI_render_texture */ + +/* --------------------------- GLX_EXT_buffer_age -------------------------- */ + +#ifndef GLX_EXT_buffer_age +#define GLX_EXT_buffer_age 1 + +#define GLX_BACK_BUFFER_AGE_EXT 0x20F4 + +#define GLXEW_EXT_buffer_age GLXEW_GET_VAR(__GLXEW_EXT_buffer_age) + +#endif /* GLX_EXT_buffer_age */ + +/* ------------------- GLX_EXT_create_context_es2_profile ------------------ */ + +#ifndef GLX_EXT_create_context_es2_profile +#define GLX_EXT_create_context_es2_profile 1 + +#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 + +#define GLXEW_EXT_create_context_es2_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es2_profile) + +#endif /* GLX_EXT_create_context_es2_profile */ + +/* ------------------- GLX_EXT_create_context_es_profile ------------------- */ + +#ifndef GLX_EXT_create_context_es_profile +#define GLX_EXT_create_context_es_profile 1 + +#define GLX_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004 + +#define GLXEW_EXT_create_context_es_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es_profile) + +#endif /* GLX_EXT_create_context_es_profile */ + +/* --------------------- GLX_EXT_fbconfig_packed_float --------------------- */ + +#ifndef GLX_EXT_fbconfig_packed_float +#define GLX_EXT_fbconfig_packed_float 1 + +#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 +#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 + +#define GLXEW_EXT_fbconfig_packed_float GLXEW_GET_VAR(__GLXEW_EXT_fbconfig_packed_float) + +#endif /* GLX_EXT_fbconfig_packed_float */ + +/* ------------------------ GLX_EXT_framebuffer_sRGB ----------------------- */ + +#ifndef GLX_EXT_framebuffer_sRGB +#define GLX_EXT_framebuffer_sRGB 1 + +#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 + +#define GLXEW_EXT_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_EXT_framebuffer_sRGB) + +#endif /* GLX_EXT_framebuffer_sRGB */ + +/* ------------------------- GLX_EXT_import_context ------------------------ */ + +#ifndef GLX_EXT_import_context +#define GLX_EXT_import_context 1 + +#define GLX_SHARE_CONTEXT_EXT 0x800A +#define GLX_VISUAL_ID_EXT 0x800B +#define GLX_SCREEN_EXT 0x800C + +typedef XID GLXContextID; + +typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display* dpy, GLXContext context); +typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context); +typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display* dpy, GLXContextID contextID); +typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display* dpy, GLXContext context, int attribute,int *value); + +#define glXFreeContextEXT GLXEW_GET_FUN(__glewXFreeContextEXT) +#define glXGetContextIDEXT GLXEW_GET_FUN(__glewXGetContextIDEXT) +#define glXImportContextEXT GLXEW_GET_FUN(__glewXImportContextEXT) +#define glXQueryContextInfoEXT GLXEW_GET_FUN(__glewXQueryContextInfoEXT) + +#define GLXEW_EXT_import_context GLXEW_GET_VAR(__GLXEW_EXT_import_context) + +#endif /* GLX_EXT_import_context */ + +/* -------------------------- GLX_EXT_scene_marker ------------------------- */ + +#ifndef GLX_EXT_scene_marker +#define GLX_EXT_scene_marker 1 + +#define GLXEW_EXT_scene_marker GLXEW_GET_VAR(__GLXEW_EXT_scene_marker) + +#endif /* GLX_EXT_scene_marker */ + +/* -------------------------- GLX_EXT_stereo_tree -------------------------- */ + +#ifndef GLX_EXT_stereo_tree +#define GLX_EXT_stereo_tree 1 + +#define GLX_STEREO_NOTIFY_EXT 0x00000000 +#define GLX_STEREO_NOTIFY_MASK_EXT 0x00000001 +#define GLX_STEREO_TREE_EXT 0x20F5 + +#define GLXEW_EXT_stereo_tree GLXEW_GET_VAR(__GLXEW_EXT_stereo_tree) + +#endif /* GLX_EXT_stereo_tree */ + +/* -------------------------- GLX_EXT_swap_control ------------------------- */ + +#ifndef GLX_EXT_swap_control +#define GLX_EXT_swap_control 1 + +#define GLX_SWAP_INTERVAL_EXT 0x20F1 +#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2 + +typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display* dpy, GLXDrawable drawable, int interval); + +#define glXSwapIntervalEXT GLXEW_GET_FUN(__glewXSwapIntervalEXT) + +#define GLXEW_EXT_swap_control GLXEW_GET_VAR(__GLXEW_EXT_swap_control) + +#endif /* GLX_EXT_swap_control */ + +/* ----------------------- GLX_EXT_swap_control_tear ----------------------- */ + +#ifndef GLX_EXT_swap_control_tear +#define GLX_EXT_swap_control_tear 1 + +#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3 + +#define GLXEW_EXT_swap_control_tear GLXEW_GET_VAR(__GLXEW_EXT_swap_control_tear) + +#endif /* GLX_EXT_swap_control_tear */ + +/* ---------------------- GLX_EXT_texture_from_pixmap ---------------------- */ + +#ifndef GLX_EXT_texture_from_pixmap +#define GLX_EXT_texture_from_pixmap 1 + +#define GLX_TEXTURE_1D_BIT_EXT 0x00000001 +#define GLX_TEXTURE_2D_BIT_EXT 0x00000002 +#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 +#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 +#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1 +#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2 +#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3 +#define GLX_Y_INVERTED_EXT 0x20D4 +#define GLX_TEXTURE_FORMAT_EXT 0x20D5 +#define GLX_TEXTURE_TARGET_EXT 0x20D6 +#define GLX_MIPMAP_TEXTURE_EXT 0x20D7 +#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8 +#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 +#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA +#define GLX_TEXTURE_1D_EXT 0x20DB +#define GLX_TEXTURE_2D_EXT 0x20DC +#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD +#define GLX_FRONT_LEFT_EXT 0x20DE +#define GLX_FRONT_RIGHT_EXT 0x20DF +#define GLX_BACK_LEFT_EXT 0x20E0 +#define GLX_BACK_RIGHT_EXT 0x20E1 +#define GLX_AUX0_EXT 0x20E2 +#define GLX_AUX1_EXT 0x20E3 +#define GLX_AUX2_EXT 0x20E4 +#define GLX_AUX3_EXT 0x20E5 +#define GLX_AUX4_EXT 0x20E6 +#define GLX_AUX5_EXT 0x20E7 +#define GLX_AUX6_EXT 0x20E8 +#define GLX_AUX7_EXT 0x20E9 +#define GLX_AUX8_EXT 0x20EA +#define GLX_AUX9_EXT 0x20EB + +typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display* display, GLXDrawable drawable, int buffer, const int *attrib_list); +typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display* display, GLXDrawable drawable, int buffer); + +#define glXBindTexImageEXT GLXEW_GET_FUN(__glewXBindTexImageEXT) +#define glXReleaseTexImageEXT GLXEW_GET_FUN(__glewXReleaseTexImageEXT) + +#define GLXEW_EXT_texture_from_pixmap GLXEW_GET_VAR(__GLXEW_EXT_texture_from_pixmap) + +#endif /* GLX_EXT_texture_from_pixmap */ + +/* -------------------------- GLX_EXT_visual_info -------------------------- */ + +#ifndef GLX_EXT_visual_info +#define GLX_EXT_visual_info 1 + +#define GLX_X_VISUAL_TYPE_EXT 0x22 +#define GLX_TRANSPARENT_TYPE_EXT 0x23 +#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 +#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 +#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 +#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 +#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 +#define GLX_NONE_EXT 0x8000 +#define GLX_TRUE_COLOR_EXT 0x8002 +#define GLX_DIRECT_COLOR_EXT 0x8003 +#define GLX_PSEUDO_COLOR_EXT 0x8004 +#define GLX_STATIC_COLOR_EXT 0x8005 +#define GLX_GRAY_SCALE_EXT 0x8006 +#define GLX_STATIC_GRAY_EXT 0x8007 +#define GLX_TRANSPARENT_RGB_EXT 0x8008 +#define GLX_TRANSPARENT_INDEX_EXT 0x8009 + +#define GLXEW_EXT_visual_info GLXEW_GET_VAR(__GLXEW_EXT_visual_info) + +#endif /* GLX_EXT_visual_info */ + +/* ------------------------- GLX_EXT_visual_rating ------------------------- */ + +#ifndef GLX_EXT_visual_rating +#define GLX_EXT_visual_rating 1 + +#define GLX_VISUAL_CAVEAT_EXT 0x20 +#define GLX_SLOW_VISUAL_EXT 0x8001 +#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D + +#define GLXEW_EXT_visual_rating GLXEW_GET_VAR(__GLXEW_EXT_visual_rating) + +#endif /* GLX_EXT_visual_rating */ + +/* -------------------------- GLX_INTEL_swap_event ------------------------- */ + +#ifndef GLX_INTEL_swap_event +#define GLX_INTEL_swap_event 1 + +#define GLX_EXCHANGE_COMPLETE_INTEL 0x8180 +#define GLX_COPY_COMPLETE_INTEL 0x8181 +#define GLX_FLIP_COMPLETE_INTEL 0x8182 +#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000 + +#define GLXEW_INTEL_swap_event GLXEW_GET_VAR(__GLXEW_INTEL_swap_event) + +#endif /* GLX_INTEL_swap_event */ + +/* -------------------------- GLX_MESA_agp_offset -------------------------- */ + +#ifndef GLX_MESA_agp_offset +#define GLX_MESA_agp_offset 1 + +typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void* pointer); + +#define glXGetAGPOffsetMESA GLXEW_GET_FUN(__glewXGetAGPOffsetMESA) + +#define GLXEW_MESA_agp_offset GLXEW_GET_VAR(__GLXEW_MESA_agp_offset) + +#endif /* GLX_MESA_agp_offset */ + +/* ------------------------ GLX_MESA_copy_sub_buffer ----------------------- */ + +#ifndef GLX_MESA_copy_sub_buffer +#define GLX_MESA_copy_sub_buffer 1 + +typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display* dpy, GLXDrawable drawable, int x, int y, int width, int height); + +#define glXCopySubBufferMESA GLXEW_GET_FUN(__glewXCopySubBufferMESA) + +#define GLXEW_MESA_copy_sub_buffer GLXEW_GET_VAR(__GLXEW_MESA_copy_sub_buffer) + +#endif /* GLX_MESA_copy_sub_buffer */ + +/* ------------------------ GLX_MESA_pixmap_colormap ----------------------- */ + +#ifndef GLX_MESA_pixmap_colormap +#define GLX_MESA_pixmap_colormap 1 + +typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display* dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap); + +#define glXCreateGLXPixmapMESA GLXEW_GET_FUN(__glewXCreateGLXPixmapMESA) + +#define GLXEW_MESA_pixmap_colormap GLXEW_GET_VAR(__GLXEW_MESA_pixmap_colormap) + +#endif /* GLX_MESA_pixmap_colormap */ + +/* ------------------------ GLX_MESA_query_renderer ------------------------ */ + +#ifndef GLX_MESA_query_renderer +#define GLX_MESA_query_renderer 1 + +#define GLX_RENDERER_VENDOR_ID_MESA 0x8183 +#define GLX_RENDERER_DEVICE_ID_MESA 0x8184 +#define GLX_RENDERER_VERSION_MESA 0x8185 +#define GLX_RENDERER_ACCELERATED_MESA 0x8186 +#define GLX_RENDERER_VIDEO_MEMORY_MESA 0x8187 +#define GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA 0x8188 +#define GLX_RENDERER_PREFERRED_PROFILE_MESA 0x8189 +#define GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA 0x818A +#define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA 0x818B +#define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA 0x818C +#define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA 0x818D +#define GLX_RENDERER_ID_MESA 0x818E + +typedef Bool ( * PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int* value); +typedef const char* ( * PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) (int attribute); +typedef Bool ( * PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display* dpy, int screen, int renderer, int attribute, unsigned int *value); +typedef const char* ( * PFNGLXQUERYRENDERERSTRINGMESAPROC) (Display *dpy, int screen, int renderer, int attribute); + +#define glXQueryCurrentRendererIntegerMESA GLXEW_GET_FUN(__glewXQueryCurrentRendererIntegerMESA) +#define glXQueryCurrentRendererStringMESA GLXEW_GET_FUN(__glewXQueryCurrentRendererStringMESA) +#define glXQueryRendererIntegerMESA GLXEW_GET_FUN(__glewXQueryRendererIntegerMESA) +#define glXQueryRendererStringMESA GLXEW_GET_FUN(__glewXQueryRendererStringMESA) + +#define GLXEW_MESA_query_renderer GLXEW_GET_VAR(__GLXEW_MESA_query_renderer) + +#endif /* GLX_MESA_query_renderer */ + +/* ------------------------ GLX_MESA_release_buffers ----------------------- */ + +#ifndef GLX_MESA_release_buffers +#define GLX_MESA_release_buffers 1 + +typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display* dpy, GLXDrawable d); + +#define glXReleaseBuffersMESA GLXEW_GET_FUN(__glewXReleaseBuffersMESA) + +#define GLXEW_MESA_release_buffers GLXEW_GET_VAR(__GLXEW_MESA_release_buffers) + +#endif /* GLX_MESA_release_buffers */ + +/* ------------------------- GLX_MESA_set_3dfx_mode ------------------------ */ + +#ifndef GLX_MESA_set_3dfx_mode +#define GLX_MESA_set_3dfx_mode 1 + +#define GLX_3DFX_WINDOW_MODE_MESA 0x1 +#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 + +typedef GLboolean ( * PFNGLXSET3DFXMODEMESAPROC) (GLint mode); + +#define glXSet3DfxModeMESA GLXEW_GET_FUN(__glewXSet3DfxModeMESA) + +#define GLXEW_MESA_set_3dfx_mode GLXEW_GET_VAR(__GLXEW_MESA_set_3dfx_mode) + +#endif /* GLX_MESA_set_3dfx_mode */ + +/* ------------------------- GLX_MESA_swap_control ------------------------- */ + +#ifndef GLX_MESA_swap_control +#define GLX_MESA_swap_control 1 + +typedef int ( * PFNGLXGETSWAPINTERVALMESAPROC) (void); +typedef int ( * PFNGLXSWAPINTERVALMESAPROC) (unsigned int interval); + +#define glXGetSwapIntervalMESA GLXEW_GET_FUN(__glewXGetSwapIntervalMESA) +#define glXSwapIntervalMESA GLXEW_GET_FUN(__glewXSwapIntervalMESA) + +#define GLXEW_MESA_swap_control GLXEW_GET_VAR(__GLXEW_MESA_swap_control) + +#endif /* GLX_MESA_swap_control */ + +/* --------------------------- GLX_NV_copy_buffer -------------------------- */ + +#ifndef GLX_NV_copy_buffer +#define GLX_NV_copy_buffer 1 + +typedef void ( * PFNGLXCOPYBUFFERSUBDATANVPROC) (Display* dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +typedef void ( * PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display* dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); + +#define glXCopyBufferSubDataNV GLXEW_GET_FUN(__glewXCopyBufferSubDataNV) +#define glXNamedCopyBufferSubDataNV GLXEW_GET_FUN(__glewXNamedCopyBufferSubDataNV) + +#define GLXEW_NV_copy_buffer GLXEW_GET_VAR(__GLXEW_NV_copy_buffer) + +#endif /* GLX_NV_copy_buffer */ + +/* --------------------------- GLX_NV_copy_image --------------------------- */ + +#ifndef GLX_NV_copy_image +#define GLX_NV_copy_image 1 + +typedef void ( * PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); + +#define glXCopyImageSubDataNV GLXEW_GET_FUN(__glewXCopyImageSubDataNV) + +#define GLXEW_NV_copy_image GLXEW_GET_VAR(__GLXEW_NV_copy_image) + +#endif /* GLX_NV_copy_image */ + +/* ------------------------ GLX_NV_delay_before_swap ----------------------- */ + +#ifndef GLX_NV_delay_before_swap +#define GLX_NV_delay_before_swap 1 + +typedef Bool ( * PFNGLXDELAYBEFORESWAPNVPROC) (Display* dpy, GLXDrawable drawable, GLfloat seconds); + +#define glXDelayBeforeSwapNV GLXEW_GET_FUN(__glewXDelayBeforeSwapNV) + +#define GLXEW_NV_delay_before_swap GLXEW_GET_VAR(__GLXEW_NV_delay_before_swap) + +#endif /* GLX_NV_delay_before_swap */ + +/* -------------------------- GLX_NV_float_buffer -------------------------- */ + +#ifndef GLX_NV_float_buffer +#define GLX_NV_float_buffer 1 + +#define GLX_FLOAT_COMPONENTS_NV 0x20B0 + +#define GLXEW_NV_float_buffer GLXEW_GET_VAR(__GLXEW_NV_float_buffer) + +#endif /* GLX_NV_float_buffer */ + +/* ---------------------- GLX_NV_multisample_coverage ---------------------- */ + +#ifndef GLX_NV_multisample_coverage +#define GLX_NV_multisample_coverage 1 + +#define GLX_COLOR_SAMPLES_NV 0x20B3 +#define GLX_COVERAGE_SAMPLES_NV 100001 + +#define GLXEW_NV_multisample_coverage GLXEW_GET_VAR(__GLXEW_NV_multisample_coverage) + +#endif /* GLX_NV_multisample_coverage */ + +/* -------------------------- GLX_NV_present_video ------------------------- */ + +#ifndef GLX_NV_present_video +#define GLX_NV_present_video 1 + +#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0 + +typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display* dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list); +typedef unsigned int* ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements); + +#define glXBindVideoDeviceNV GLXEW_GET_FUN(__glewXBindVideoDeviceNV) +#define glXEnumerateVideoDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoDevicesNV) + +#define GLXEW_NV_present_video GLXEW_GET_VAR(__GLXEW_NV_present_video) + +#endif /* GLX_NV_present_video */ + +/* --------------------------- GLX_NV_swap_group --------------------------- */ + +#ifndef GLX_NV_swap_group +#define GLX_NV_swap_group 1 + +typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display* dpy, GLuint group, GLuint barrier); +typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint group); +typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display* dpy, int screen, GLuint *count); +typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display* dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers); +typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier); +typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display* dpy, int screen); + +#define glXBindSwapBarrierNV GLXEW_GET_FUN(__glewXBindSwapBarrierNV) +#define glXJoinSwapGroupNV GLXEW_GET_FUN(__glewXJoinSwapGroupNV) +#define glXQueryFrameCountNV GLXEW_GET_FUN(__glewXQueryFrameCountNV) +#define glXQueryMaxSwapGroupsNV GLXEW_GET_FUN(__glewXQueryMaxSwapGroupsNV) +#define glXQuerySwapGroupNV GLXEW_GET_FUN(__glewXQuerySwapGroupNV) +#define glXResetFrameCountNV GLXEW_GET_FUN(__glewXResetFrameCountNV) + +#define GLXEW_NV_swap_group GLXEW_GET_VAR(__GLXEW_NV_swap_group) + +#endif /* GLX_NV_swap_group */ + +/* ----------------------- GLX_NV_vertex_array_range ----------------------- */ + +#ifndef GLX_NV_vertex_array_range +#define GLX_NV_vertex_array_range 1 + +typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority); +typedef void ( * PFNGLXFREEMEMORYNVPROC) (void *pointer); + +#define glXAllocateMemoryNV GLXEW_GET_FUN(__glewXAllocateMemoryNV) +#define glXFreeMemoryNV GLXEW_GET_FUN(__glewXFreeMemoryNV) + +#define GLXEW_NV_vertex_array_range GLXEW_GET_VAR(__GLXEW_NV_vertex_array_range) + +#endif /* GLX_NV_vertex_array_range */ + +/* -------------------------- GLX_NV_video_capture ------------------------- */ + +#ifndef GLX_NV_video_capture +#define GLX_NV_video_capture 1 + +#define GLX_DEVICE_ID_NV 0x20CD +#define GLX_UNIQUE_ID_NV 0x20CE +#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF + +typedef XID GLXVideoCaptureDeviceNV; + +typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display* dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device); +typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display* dpy, int screen, int *nelements); +typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device); +typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value); +typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device); + +#define glXBindVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXBindVideoCaptureDeviceNV) +#define glXEnumerateVideoCaptureDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoCaptureDevicesNV) +#define glXLockVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXLockVideoCaptureDeviceNV) +#define glXQueryVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXQueryVideoCaptureDeviceNV) +#define glXReleaseVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoCaptureDeviceNV) + +#define GLXEW_NV_video_capture GLXEW_GET_VAR(__GLXEW_NV_video_capture) + +#endif /* GLX_NV_video_capture */ + +/* ---------------------------- GLX_NV_video_out --------------------------- */ + +#ifndef GLX_NV_video_out +#define GLX_NV_video_out 1 + +#define GLX_VIDEO_OUT_COLOR_NV 0x20C3 +#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4 +#define GLX_VIDEO_OUT_DEPTH_NV 0x20C5 +#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 +#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 +#define GLX_VIDEO_OUT_FRAME_NV 0x20C8 +#define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9 +#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA +#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB +#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC + +typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display* dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer); +typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display* dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice); +typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); +typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice); +typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display* dpy, GLXPbuffer pbuf); +typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display* dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock); + +#define glXBindVideoImageNV GLXEW_GET_FUN(__glewXBindVideoImageNV) +#define glXGetVideoDeviceNV GLXEW_GET_FUN(__glewXGetVideoDeviceNV) +#define glXGetVideoInfoNV GLXEW_GET_FUN(__glewXGetVideoInfoNV) +#define glXReleaseVideoDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoDeviceNV) +#define glXReleaseVideoImageNV GLXEW_GET_FUN(__glewXReleaseVideoImageNV) +#define glXSendPbufferToVideoNV GLXEW_GET_FUN(__glewXSendPbufferToVideoNV) + +#define GLXEW_NV_video_out GLXEW_GET_VAR(__GLXEW_NV_video_out) + +#endif /* GLX_NV_video_out */ + +/* -------------------------- GLX_OML_swap_method -------------------------- */ + +#ifndef GLX_OML_swap_method +#define GLX_OML_swap_method 1 + +#define GLX_SWAP_METHOD_OML 0x8060 +#define GLX_SWAP_EXCHANGE_OML 0x8061 +#define GLX_SWAP_COPY_OML 0x8062 +#define GLX_SWAP_UNDEFINED_OML 0x8063 + +#define GLXEW_OML_swap_method GLXEW_GET_VAR(__GLXEW_OML_swap_method) + +#endif /* GLX_OML_swap_method */ + +/* -------------------------- GLX_OML_sync_control ------------------------- */ + +#ifndef GLX_OML_sync_control +#define GLX_OML_sync_control 1 + +typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display* dpy, GLXDrawable drawable, int32_t* numerator, int32_t* denominator); +typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t* ust, int64_t* msc, int64_t* sbc); +typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); +typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t* ust, int64_t* msc, int64_t* sbc); +typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_sbc, int64_t* ust, int64_t* msc, int64_t* sbc); + +#define glXGetMscRateOML GLXEW_GET_FUN(__glewXGetMscRateOML) +#define glXGetSyncValuesOML GLXEW_GET_FUN(__glewXGetSyncValuesOML) +#define glXSwapBuffersMscOML GLXEW_GET_FUN(__glewXSwapBuffersMscOML) +#define glXWaitForMscOML GLXEW_GET_FUN(__glewXWaitForMscOML) +#define glXWaitForSbcOML GLXEW_GET_FUN(__glewXWaitForSbcOML) + +#define GLXEW_OML_sync_control GLXEW_GET_VAR(__GLXEW_OML_sync_control) + +#endif /* GLX_OML_sync_control */ + +/* ------------------------ GLX_SGIS_blended_overlay ----------------------- */ + +#ifndef GLX_SGIS_blended_overlay +#define GLX_SGIS_blended_overlay 1 + +#define GLX_BLENDED_RGBA_SGIS 0x8025 + +#define GLXEW_SGIS_blended_overlay GLXEW_GET_VAR(__GLXEW_SGIS_blended_overlay) + +#endif /* GLX_SGIS_blended_overlay */ + +/* -------------------------- GLX_SGIS_color_range ------------------------- */ + +#ifndef GLX_SGIS_color_range +#define GLX_SGIS_color_range 1 + +#define GLXEW_SGIS_color_range GLXEW_GET_VAR(__GLXEW_SGIS_color_range) + +#endif /* GLX_SGIS_color_range */ + +/* -------------------------- GLX_SGIS_multisample ------------------------- */ + +#ifndef GLX_SGIS_multisample +#define GLX_SGIS_multisample 1 + +#define GLX_SAMPLE_BUFFERS_SGIS 100000 +#define GLX_SAMPLES_SGIS 100001 + +#define GLXEW_SGIS_multisample GLXEW_GET_VAR(__GLXEW_SGIS_multisample) + +#endif /* GLX_SGIS_multisample */ + +/* ---------------------- GLX_SGIS_shared_multisample ---------------------- */ + +#ifndef GLX_SGIS_shared_multisample +#define GLX_SGIS_shared_multisample 1 + +#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 +#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 + +#define GLXEW_SGIS_shared_multisample GLXEW_GET_VAR(__GLXEW_SGIS_shared_multisample) + +#endif /* GLX_SGIS_shared_multisample */ + +/* --------------------------- GLX_SGIX_fbconfig --------------------------- */ + +#ifndef GLX_SGIX_fbconfig +#define GLX_SGIX_fbconfig 1 + +#define GLX_RGBA_BIT_SGIX 0x00000001 +#define GLX_WINDOW_BIT_SGIX 0x00000001 +#define GLX_COLOR_INDEX_BIT_SGIX 0x00000002 +#define GLX_PIXMAP_BIT_SGIX 0x00000002 +#define GLX_SCREEN_EXT 0x800C +#define GLX_DRAWABLE_TYPE_SGIX 0x8010 +#define GLX_RENDER_TYPE_SGIX 0x8011 +#define GLX_X_RENDERABLE_SGIX 0x8012 +#define GLX_FBCONFIG_ID_SGIX 0x8013 +#define GLX_RGBA_TYPE_SGIX 0x8014 +#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015 + +typedef XID GLXFBConfigIDSGIX; +typedef struct __GLXFBConfigRec *GLXFBConfigSGIX; + +typedef GLXFBConfigSGIX* ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); +typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); +typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfig config, Pixmap pixmap); +typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display* dpy, GLXFBConfigSGIX config, int attribute, int *value); +typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display* dpy, XVisualInfo *vis); +typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfig config); + +#define glXChooseFBConfigSGIX GLXEW_GET_FUN(__glewXChooseFBConfigSGIX) +#define glXCreateContextWithConfigSGIX GLXEW_GET_FUN(__glewXCreateContextWithConfigSGIX) +#define glXCreateGLXPixmapWithConfigSGIX GLXEW_GET_FUN(__glewXCreateGLXPixmapWithConfigSGIX) +#define glXGetFBConfigAttribSGIX GLXEW_GET_FUN(__glewXGetFBConfigAttribSGIX) +#define glXGetFBConfigFromVisualSGIX GLXEW_GET_FUN(__glewXGetFBConfigFromVisualSGIX) +#define glXGetVisualFromFBConfigSGIX GLXEW_GET_FUN(__glewXGetVisualFromFBConfigSGIX) + +#define GLXEW_SGIX_fbconfig GLXEW_GET_VAR(__GLXEW_SGIX_fbconfig) + +#endif /* GLX_SGIX_fbconfig */ + +/* --------------------------- GLX_SGIX_hyperpipe -------------------------- */ + +#ifndef GLX_SGIX_hyperpipe +#define GLX_SGIX_hyperpipe 1 + +#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 +#define GLX_PIPE_RECT_SGIX 0x00000001 +#define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 +#define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 +#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003 +#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 +#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 +#define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 +#define GLX_BAD_HYPERPIPE_SGIX 92 +#define GLX_HYPERPIPE_ID_SGIX 0x8030 + +typedef struct { + char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; + int networkId; +} GLXHyperpipeNetworkSGIX; +typedef struct { + char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; + int XOrigin; + int YOrigin; + int maxHeight; + int maxWidth; +} GLXPipeRectLimits; +typedef struct { + char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; + int channel; + unsigned int participationType; + int timeSlice; +} GLXHyperpipeConfigSGIX; +typedef struct { + char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; + int srcXOrigin; + int srcYOrigin; + int srcWidth; + int srcHeight; + int destXOrigin; + int destYOrigin; + int destWidth; + int destHeight; +} GLXPipeRect; + +typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId); +typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId); +typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList); +typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId); +typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList); +typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList); +typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes); +typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes); + +#define glXBindHyperpipeSGIX GLXEW_GET_FUN(__glewXBindHyperpipeSGIX) +#define glXDestroyHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXDestroyHyperpipeConfigSGIX) +#define glXHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXHyperpipeAttribSGIX) +#define glXHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXHyperpipeConfigSGIX) +#define glXQueryHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeAttribSGIX) +#define glXQueryHyperpipeBestAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeBestAttribSGIX) +#define glXQueryHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeConfigSGIX) +#define glXQueryHyperpipeNetworkSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeNetworkSGIX) + +#define GLXEW_SGIX_hyperpipe GLXEW_GET_VAR(__GLXEW_SGIX_hyperpipe) + +#endif /* GLX_SGIX_hyperpipe */ + +/* ---------------------------- GLX_SGIX_pbuffer --------------------------- */ + +#ifndef GLX_SGIX_pbuffer +#define GLX_SGIX_pbuffer 1 + +#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 +#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 +#define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 +#define GLX_PBUFFER_BIT_SGIX 0x00000004 +#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 +#define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 +#define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 +#define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 +#define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 +#define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 +#define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 +#define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 +#define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 +#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 +#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A +#define GLX_PRESERVED_CONTENTS_SGIX 0x801B +#define GLX_LARGEST_PBUFFER_SGIX 0x801C +#define GLX_WIDTH_SGIX 0x801D +#define GLX_HEIGHT_SGIX 0x801E +#define GLX_EVENT_MASK_SGIX 0x801F +#define GLX_DAMAGED_SGIX 0x8020 +#define GLX_SAVED_SGIX 0x8021 +#define GLX_WINDOW_SGIX 0x8022 +#define GLX_PBUFFER_SGIX 0x8023 +#define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 + +typedef XID GLXPbufferSGIX; +typedef struct { int type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; int event_type; int draw_type; unsigned int mask; int x, y; int width, height; int count; } GLXBufferClobberEventSGIX; + +typedef GLXPbuffer ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display* dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list); +typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbuffer pbuf); +typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long *mask); +typedef void ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbuffer pbuf, int attribute, unsigned int *value); +typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long mask); + +#define glXCreateGLXPbufferSGIX GLXEW_GET_FUN(__glewXCreateGLXPbufferSGIX) +#define glXDestroyGLXPbufferSGIX GLXEW_GET_FUN(__glewXDestroyGLXPbufferSGIX) +#define glXGetSelectedEventSGIX GLXEW_GET_FUN(__glewXGetSelectedEventSGIX) +#define glXQueryGLXPbufferSGIX GLXEW_GET_FUN(__glewXQueryGLXPbufferSGIX) +#define glXSelectEventSGIX GLXEW_GET_FUN(__glewXSelectEventSGIX) + +#define GLXEW_SGIX_pbuffer GLXEW_GET_VAR(__GLXEW_SGIX_pbuffer) + +#endif /* GLX_SGIX_pbuffer */ + +/* ------------------------- GLX_SGIX_swap_barrier ------------------------- */ + +#ifndef GLX_SGIX_swap_barrier +#define GLX_SGIX_swap_barrier 1 + +typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier); +typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max); + +#define glXBindSwapBarrierSGIX GLXEW_GET_FUN(__glewXBindSwapBarrierSGIX) +#define glXQueryMaxSwapBarriersSGIX GLXEW_GET_FUN(__glewXQueryMaxSwapBarriersSGIX) + +#define GLXEW_SGIX_swap_barrier GLXEW_GET_VAR(__GLXEW_SGIX_swap_barrier) + +#endif /* GLX_SGIX_swap_barrier */ + +/* -------------------------- GLX_SGIX_swap_group -------------------------- */ + +#ifndef GLX_SGIX_swap_group +#define GLX_SGIX_swap_group 1 + +typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member); + +#define glXJoinSwapGroupSGIX GLXEW_GET_FUN(__glewXJoinSwapGroupSGIX) + +#define GLXEW_SGIX_swap_group GLXEW_GET_VAR(__GLXEW_SGIX_swap_group) + +#endif /* GLX_SGIX_swap_group */ + +/* ------------------------- GLX_SGIX_video_resize ------------------------- */ + +#ifndef GLX_SGIX_video_resize +#define GLX_SGIX_video_resize 1 + +#define GLX_SYNC_FRAME_SGIX 0x00000000 +#define GLX_SYNC_SWAP_SGIX 0x00000001 + +typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display* display, int screen, int channel, Window window); +typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int x, int y, int w, int h); +typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display* display, int screen, int channel, GLenum synctype); +typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display* display, int screen, int channel, int *x, int *y, int *w, int *h); +typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int *dx, int *dy, int *dw, int *dh); + +#define glXBindChannelToWindowSGIX GLXEW_GET_FUN(__glewXBindChannelToWindowSGIX) +#define glXChannelRectSGIX GLXEW_GET_FUN(__glewXChannelRectSGIX) +#define glXChannelRectSyncSGIX GLXEW_GET_FUN(__glewXChannelRectSyncSGIX) +#define glXQueryChannelDeltasSGIX GLXEW_GET_FUN(__glewXQueryChannelDeltasSGIX) +#define glXQueryChannelRectSGIX GLXEW_GET_FUN(__glewXQueryChannelRectSGIX) + +#define GLXEW_SGIX_video_resize GLXEW_GET_VAR(__GLXEW_SGIX_video_resize) + +#endif /* GLX_SGIX_video_resize */ + +/* ---------------------- GLX_SGIX_visual_select_group --------------------- */ + +#ifndef GLX_SGIX_visual_select_group +#define GLX_SGIX_visual_select_group 1 + +#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 + +#define GLXEW_SGIX_visual_select_group GLXEW_GET_VAR(__GLXEW_SGIX_visual_select_group) + +#endif /* GLX_SGIX_visual_select_group */ + +/* ---------------------------- GLX_SGI_cushion ---------------------------- */ + +#ifndef GLX_SGI_cushion +#define GLX_SGI_cushion 1 + +typedef void ( * PFNGLXCUSHIONSGIPROC) (Display* dpy, Window window, float cushion); + +#define glXCushionSGI GLXEW_GET_FUN(__glewXCushionSGI) + +#define GLXEW_SGI_cushion GLXEW_GET_VAR(__GLXEW_SGI_cushion) + +#endif /* GLX_SGI_cushion */ + +/* ----------------------- GLX_SGI_make_current_read ----------------------- */ + +#ifndef GLX_SGI_make_current_read +#define GLX_SGI_make_current_read 1 + +typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void); +typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display* dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); + +#define glXGetCurrentReadDrawableSGI GLXEW_GET_FUN(__glewXGetCurrentReadDrawableSGI) +#define glXMakeCurrentReadSGI GLXEW_GET_FUN(__glewXMakeCurrentReadSGI) + +#define GLXEW_SGI_make_current_read GLXEW_GET_VAR(__GLXEW_SGI_make_current_read) + +#endif /* GLX_SGI_make_current_read */ + +/* -------------------------- GLX_SGI_swap_control ------------------------- */ + +#ifndef GLX_SGI_swap_control +#define GLX_SGI_swap_control 1 + +typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval); + +#define glXSwapIntervalSGI GLXEW_GET_FUN(__glewXSwapIntervalSGI) + +#define GLXEW_SGI_swap_control GLXEW_GET_VAR(__GLXEW_SGI_swap_control) + +#endif /* GLX_SGI_swap_control */ + +/* --------------------------- GLX_SGI_video_sync -------------------------- */ + +#ifndef GLX_SGI_video_sync +#define GLX_SGI_video_sync 1 + +typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int* count); +typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int* count); + +#define glXGetVideoSyncSGI GLXEW_GET_FUN(__glewXGetVideoSyncSGI) +#define glXWaitVideoSyncSGI GLXEW_GET_FUN(__glewXWaitVideoSyncSGI) + +#define GLXEW_SGI_video_sync GLXEW_GET_VAR(__GLXEW_SGI_video_sync) + +#endif /* GLX_SGI_video_sync */ + +/* --------------------- GLX_SUN_get_transparent_index --------------------- */ + +#ifndef GLX_SUN_get_transparent_index +#define GLX_SUN_get_transparent_index 1 + +typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display* dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex); + +#define glXGetTransparentIndexSUN GLXEW_GET_FUN(__glewXGetTransparentIndexSUN) + +#define GLXEW_SUN_get_transparent_index GLXEW_GET_VAR(__GLXEW_SUN_get_transparent_index) + +#endif /* GLX_SUN_get_transparent_index */ + +/* -------------------------- GLX_SUN_video_resize ------------------------- */ + +#ifndef GLX_SUN_video_resize +#define GLX_SUN_video_resize 1 + +#define GLX_VIDEO_RESIZE_SUN 0x8171 +#define GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD + +typedef int ( * PFNGLXGETVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float* factor); +typedef int ( * PFNGLXVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float factor); + +#define glXGetVideoResizeSUN GLXEW_GET_FUN(__glewXGetVideoResizeSUN) +#define glXVideoResizeSUN GLXEW_GET_FUN(__glewXVideoResizeSUN) + +#define GLXEW_SUN_video_resize GLXEW_GET_VAR(__GLXEW_SUN_video_resize) + +#endif /* GLX_SUN_video_resize */ + +/* ------------------------------------------------------------------------- */ + +#ifdef GLEW_MX +#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT +#define GLXEW_VAR_EXPORT +#else +#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT +#define GLXEW_VAR_EXPORT GLEW_VAR_EXPORT +#endif /* GLEW_MX */ + +GLXEW_FUN_EXPORT PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay; + +GLXEW_FUN_EXPORT PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig; +GLXEW_FUN_EXPORT PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext; +GLXEW_FUN_EXPORT PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer; +GLXEW_FUN_EXPORT PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap; +GLXEW_FUN_EXPORT PFNGLXCREATEWINDOWPROC __glewXCreateWindow; +GLXEW_FUN_EXPORT PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer; +GLXEW_FUN_EXPORT PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap; +GLXEW_FUN_EXPORT PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow; +GLXEW_FUN_EXPORT PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable; +GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib; +GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs; +GLXEW_FUN_EXPORT PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent; +GLXEW_FUN_EXPORT PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig; +GLXEW_FUN_EXPORT PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent; +GLXEW_FUN_EXPORT PFNGLXQUERYCONTEXTPROC __glewXQueryContext; +GLXEW_FUN_EXPORT PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable; +GLXEW_FUN_EXPORT PFNGLXSELECTEVENTPROC __glewXSelectEvent; + +GLXEW_FUN_EXPORT PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC __glewXBlitContextFramebufferAMD; +GLXEW_FUN_EXPORT PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC __glewXCreateAssociatedContextAMD; +GLXEW_FUN_EXPORT PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __glewXCreateAssociatedContextAttribsAMD; +GLXEW_FUN_EXPORT PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC __glewXDeleteAssociatedContextAMD; +GLXEW_FUN_EXPORT PFNGLXGETCONTEXTGPUIDAMDPROC __glewXGetContextGPUIDAMD; +GLXEW_FUN_EXPORT PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC __glewXGetCurrentAssociatedContextAMD; +GLXEW_FUN_EXPORT PFNGLXGETGPUIDSAMDPROC __glewXGetGPUIDsAMD; +GLXEW_FUN_EXPORT PFNGLXGETGPUINFOAMDPROC __glewXGetGPUInfoAMD; +GLXEW_FUN_EXPORT PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __glewXMakeAssociatedContextCurrentAMD; + +GLXEW_FUN_EXPORT PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB; + +GLXEW_FUN_EXPORT PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI; +GLXEW_FUN_EXPORT PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI; +GLXEW_FUN_EXPORT PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI; + +GLXEW_FUN_EXPORT PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT; +GLXEW_FUN_EXPORT PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT; +GLXEW_FUN_EXPORT PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT; +GLXEW_FUN_EXPORT PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT; + +GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT; + +GLXEW_FUN_EXPORT PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT; +GLXEW_FUN_EXPORT PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT; + +GLXEW_FUN_EXPORT PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA; + +GLXEW_FUN_EXPORT PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA; + +GLXEW_FUN_EXPORT PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA; + +GLXEW_FUN_EXPORT PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC __glewXQueryCurrentRendererIntegerMESA; +GLXEW_FUN_EXPORT PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC __glewXQueryCurrentRendererStringMESA; +GLXEW_FUN_EXPORT PFNGLXQUERYRENDERERINTEGERMESAPROC __glewXQueryRendererIntegerMESA; +GLXEW_FUN_EXPORT PFNGLXQUERYRENDERERSTRINGMESAPROC __glewXQueryRendererStringMESA; + +GLXEW_FUN_EXPORT PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA; + +GLXEW_FUN_EXPORT PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA; + +GLXEW_FUN_EXPORT PFNGLXGETSWAPINTERVALMESAPROC __glewXGetSwapIntervalMESA; +GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALMESAPROC __glewXSwapIntervalMESA; + +GLXEW_FUN_EXPORT PFNGLXCOPYBUFFERSUBDATANVPROC __glewXCopyBufferSubDataNV; +GLXEW_FUN_EXPORT PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC __glewXNamedCopyBufferSubDataNV; + +GLXEW_FUN_EXPORT PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV; + +GLXEW_FUN_EXPORT PFNGLXDELAYBEFORESWAPNVPROC __glewXDelayBeforeSwapNV; + +GLXEW_FUN_EXPORT PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV; +GLXEW_FUN_EXPORT PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV; + +GLXEW_FUN_EXPORT PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV; +GLXEW_FUN_EXPORT PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV; +GLXEW_FUN_EXPORT PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV; +GLXEW_FUN_EXPORT PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV; +GLXEW_FUN_EXPORT PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV; +GLXEW_FUN_EXPORT PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV; + +GLXEW_FUN_EXPORT PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV; +GLXEW_FUN_EXPORT PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV; + +GLXEW_FUN_EXPORT PFNGLXBINDVIDEOCAPTUREDEVICENVPROC __glewXBindVideoCaptureDeviceNV; +GLXEW_FUN_EXPORT PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC __glewXEnumerateVideoCaptureDevicesNV; +GLXEW_FUN_EXPORT PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC __glewXLockVideoCaptureDeviceNV; +GLXEW_FUN_EXPORT PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC __glewXQueryVideoCaptureDeviceNV; +GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC __glewXReleaseVideoCaptureDeviceNV; + +GLXEW_FUN_EXPORT PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV; +GLXEW_FUN_EXPORT PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV; +GLXEW_FUN_EXPORT PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV; +GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV; +GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV; +GLXEW_FUN_EXPORT PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV; + +GLXEW_FUN_EXPORT PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML; +GLXEW_FUN_EXPORT PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML; +GLXEW_FUN_EXPORT PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML; +GLXEW_FUN_EXPORT PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML; +GLXEW_FUN_EXPORT PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML; + +GLXEW_FUN_EXPORT PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX; +GLXEW_FUN_EXPORT PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX; +GLXEW_FUN_EXPORT PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX; +GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX; +GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX; +GLXEW_FUN_EXPORT PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX; + +GLXEW_FUN_EXPORT PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX; +GLXEW_FUN_EXPORT PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX; +GLXEW_FUN_EXPORT PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX; +GLXEW_FUN_EXPORT PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX; +GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX; +GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX; +GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX; +GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX; + +GLXEW_FUN_EXPORT PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX; +GLXEW_FUN_EXPORT PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX; +GLXEW_FUN_EXPORT PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX; +GLXEW_FUN_EXPORT PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX; +GLXEW_FUN_EXPORT PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX; + +GLXEW_FUN_EXPORT PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX; +GLXEW_FUN_EXPORT PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX; + +GLXEW_FUN_EXPORT PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX; + +GLXEW_FUN_EXPORT PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX; +GLXEW_FUN_EXPORT PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX; +GLXEW_FUN_EXPORT PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX; +GLXEW_FUN_EXPORT PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX; +GLXEW_FUN_EXPORT PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX; + +GLXEW_FUN_EXPORT PFNGLXCUSHIONSGIPROC __glewXCushionSGI; + +GLXEW_FUN_EXPORT PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI; +GLXEW_FUN_EXPORT PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI; + +GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI; + +GLXEW_FUN_EXPORT PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI; +GLXEW_FUN_EXPORT PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI; + +GLXEW_FUN_EXPORT PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN; + +GLXEW_FUN_EXPORT PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN; +GLXEW_FUN_EXPORT PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN; + +#if defined(GLEW_MX) +struct GLXEWContextStruct +{ +#endif /* GLEW_MX */ + +GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_0; +GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_1; +GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_2; +GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_3; +GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_4; +GLXEW_VAR_EXPORT GLboolean __GLXEW_3DFX_multisample; +GLXEW_VAR_EXPORT GLboolean __GLXEW_AMD_gpu_association; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_context_flush_control; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_profile; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_robustness; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_fbconfig_float; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_framebuffer_sRGB; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_get_proc_address; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_multisample; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_robustness_application_isolation; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_robustness_share_group_isolation; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_vertex_buffer_object; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ATI_pixel_format_float; +GLXEW_VAR_EXPORT GLboolean __GLXEW_ATI_render_texture; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_buffer_age; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es2_profile; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es_profile; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_fbconfig_packed_float; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_framebuffer_sRGB; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_import_context; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_scene_marker; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_stereo_tree; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control_tear; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_texture_from_pixmap; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_visual_info; +GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_visual_rating; +GLXEW_VAR_EXPORT GLboolean __GLXEW_INTEL_swap_event; +GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_agp_offset; +GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_copy_sub_buffer; +GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_pixmap_colormap; +GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_query_renderer; +GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_release_buffers; +GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_set_3dfx_mode; +GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_swap_control; +GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_copy_buffer; +GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_copy_image; +GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_delay_before_swap; +GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_float_buffer; +GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_multisample_coverage; +GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_present_video; +GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_swap_group; +GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_vertex_array_range; +GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_video_capture; +GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_video_out; +GLXEW_VAR_EXPORT GLboolean __GLXEW_OML_swap_method; +GLXEW_VAR_EXPORT GLboolean __GLXEW_OML_sync_control; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_blended_overlay; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_color_range; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_multisample; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_shared_multisample; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_fbconfig; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_hyperpipe; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_pbuffer; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_swap_barrier; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_swap_group; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_video_resize; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_visual_select_group; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_cushion; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_make_current_read; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_swap_control; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_video_sync; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SUN_get_transparent_index; +GLXEW_VAR_EXPORT GLboolean __GLXEW_SUN_video_resize; + +#ifdef GLEW_MX +}; /* GLXEWContextStruct */ +#endif /* GLEW_MX */ + +/* ------------------------------------------------------------------------ */ + +#ifdef GLEW_MX + +typedef struct GLXEWContextStruct GLXEWContext; +GLEWAPI GLenum GLEWAPIENTRY glxewContextInit (GLXEWContext *ctx); +GLEWAPI GLboolean GLEWAPIENTRY glxewContextIsSupported (const GLXEWContext *ctx, const char *name); + +#define glxewInit() glxewContextInit(glxewGetContext()) +#define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x) + +#define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x)) +#define GLXEW_GET_FUN(x) x + +#else /* GLEW_MX */ + +GLEWAPI GLenum GLEWAPIENTRY glxewInit (); +GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported (const char *name); + +#define GLXEW_GET_VAR(x) (*(const GLboolean*)&x) +#define GLXEW_GET_FUN(x) x + +#endif /* GLEW_MX */ + +GLEWAPI GLboolean GLEWAPIENTRY glxewGetExtension (const char *name); + +#ifdef __cplusplus +} +#endif + +#endif /* __glxew_h__ */ diff --git a/depedencies/include/GL/wglew.h b/depedencies/include/GL/wglew.h new file mode 100644 index 0000000..23e4d3f --- /dev/null +++ b/depedencies/include/GL/wglew.h @@ -0,0 +1,1453 @@ +/* +** The OpenGL Extension Wrangler Library +** Copyright (C) 2008-2015, Nigel Stewart +** Copyright (C) 2002-2008, Milan Ikits +** Copyright (C) 2002-2008, Marcelo E. Magallon +** Copyright (C) 2002, Lev Povalahev +** All rights reserved. +** +** Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are met: +** +** * Redistributions of source code must retain the above copyright notice, +** this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright notice, +** this list of conditions and the following disclaimer in the documentation +** and/or other materials provided with the distribution. +** * The name of the author may be used to endorse or promote products +** derived from this software without specific prior written permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +** THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* +** Copyright (c) 2007 The Khronos Group Inc. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ + +#ifndef __wglew_h__ +#define __wglew_h__ +#define __WGLEW_H__ + +#ifdef __wglext_h_ +#error wglext.h included before wglew.h +#endif + +#define __wglext_h_ + +#if !defined(WINAPI) +# ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN 1 +# endif +#include +# undef WIN32_LEAN_AND_MEAN +#endif + +/* + * GLEW_STATIC needs to be set when using the static version. + * GLEW_BUILD is set when building the DLL version. + */ +#ifdef GLEW_STATIC +# define GLEWAPI extern +#else +# ifdef GLEW_BUILD +# define GLEWAPI extern __declspec(dllexport) +# else +# define GLEWAPI extern __declspec(dllimport) +# endif +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* -------------------------- WGL_3DFX_multisample ------------------------- */ + +#ifndef WGL_3DFX_multisample +#define WGL_3DFX_multisample 1 + +#define WGL_SAMPLE_BUFFERS_3DFX 0x2060 +#define WGL_SAMPLES_3DFX 0x2061 + +#define WGLEW_3DFX_multisample WGLEW_GET_VAR(__WGLEW_3DFX_multisample) + +#endif /* WGL_3DFX_multisample */ + +/* ------------------------- WGL_3DL_stereo_control ------------------------ */ + +#ifndef WGL_3DL_stereo_control +#define WGL_3DL_stereo_control 1 + +#define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055 +#define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 +#define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 +#define WGL_STEREO_POLARITY_INVERT_3DL 0x2058 + +typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState); + +#define wglSetStereoEmitterState3DL WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL) + +#define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control) + +#endif /* WGL_3DL_stereo_control */ + +/* ------------------------ WGL_AMD_gpu_association ------------------------ */ + +#ifndef WGL_AMD_gpu_association +#define WGL_AMD_gpu_association 1 + +#define WGL_GPU_VENDOR_AMD 0x1F00 +#define WGL_GPU_RENDERER_STRING_AMD 0x1F01 +#define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 +#define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 +#define WGL_GPU_RAM_AMD 0x21A3 +#define WGL_GPU_CLOCK_AMD 0x21A4 +#define WGL_GPU_NUM_PIPES_AMD 0x21A5 +#define WGL_GPU_NUM_SIMD_AMD 0x21A6 +#define WGL_GPU_NUM_RB_AMD 0x21A7 +#define WGL_GPU_NUM_SPI_AMD 0x21A8 + +typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id); +typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int* attribList); +typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc); +typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc); +typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); +typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT* ids); +typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, INT property, GLenum dataType, UINT size, void* data); +typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc); + +#define wglBlitContextFramebufferAMD WGLEW_GET_FUN(__wglewBlitContextFramebufferAMD) +#define wglCreateAssociatedContextAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAMD) +#define wglCreateAssociatedContextAttribsAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAttribsAMD) +#define wglDeleteAssociatedContextAMD WGLEW_GET_FUN(__wglewDeleteAssociatedContextAMD) +#define wglGetContextGPUIDAMD WGLEW_GET_FUN(__wglewGetContextGPUIDAMD) +#define wglGetCurrentAssociatedContextAMD WGLEW_GET_FUN(__wglewGetCurrentAssociatedContextAMD) +#define wglGetGPUIDsAMD WGLEW_GET_FUN(__wglewGetGPUIDsAMD) +#define wglGetGPUInfoAMD WGLEW_GET_FUN(__wglewGetGPUInfoAMD) +#define wglMakeAssociatedContextCurrentAMD WGLEW_GET_FUN(__wglewMakeAssociatedContextCurrentAMD) + +#define WGLEW_AMD_gpu_association WGLEW_GET_VAR(__WGLEW_AMD_gpu_association) + +#endif /* WGL_AMD_gpu_association */ + +/* ------------------------- WGL_ARB_buffer_region ------------------------- */ + +#ifndef WGL_ARB_buffer_region +#define WGL_ARB_buffer_region 1 + +#define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 +#define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 +#define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 +#define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 + +typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType); +typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion); +typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); +typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height); + +#define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB) +#define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB) +#define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB) +#define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB) + +#define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region) + +#endif /* WGL_ARB_buffer_region */ + +/* --------------------- WGL_ARB_context_flush_control --------------------- */ + +#ifndef WGL_ARB_context_flush_control +#define WGL_ARB_context_flush_control 1 + +#define WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0x0000 +#define WGL_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097 +#define WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098 + +#define WGLEW_ARB_context_flush_control WGLEW_GET_VAR(__WGLEW_ARB_context_flush_control) + +#endif /* WGL_ARB_context_flush_control */ + +/* ------------------------- WGL_ARB_create_context ------------------------ */ + +#ifndef WGL_ARB_create_context +#define WGL_ARB_create_context 1 + +#define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001 +#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 +#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 +#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 +#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 +#define WGL_CONTEXT_FLAGS_ARB 0x2094 +#define ERROR_INVALID_VERSION_ARB 0x2095 +#define ERROR_INVALID_PROFILE_ARB 0x2096 + +typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int* attribList); + +#define wglCreateContextAttribsARB WGLEW_GET_FUN(__wglewCreateContextAttribsARB) + +#define WGLEW_ARB_create_context WGLEW_GET_VAR(__WGLEW_ARB_create_context) + +#endif /* WGL_ARB_create_context */ + +/* --------------------- WGL_ARB_create_context_profile -------------------- */ + +#ifndef WGL_ARB_create_context_profile +#define WGL_ARB_create_context_profile 1 + +#define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 +#define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 +#define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 + +#define WGLEW_ARB_create_context_profile WGLEW_GET_VAR(__WGLEW_ARB_create_context_profile) + +#endif /* WGL_ARB_create_context_profile */ + +/* ------------------- WGL_ARB_create_context_robustness ------------------- */ + +#ifndef WGL_ARB_create_context_robustness +#define WGL_ARB_create_context_robustness 1 + +#define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 +#define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 +#define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 +#define WGL_NO_RESET_NOTIFICATION_ARB 0x8261 + +#define WGLEW_ARB_create_context_robustness WGLEW_GET_VAR(__WGLEW_ARB_create_context_robustness) + +#endif /* WGL_ARB_create_context_robustness */ + +/* ----------------------- WGL_ARB_extensions_string ----------------------- */ + +#ifndef WGL_ARB_extensions_string +#define WGL_ARB_extensions_string 1 + +typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); + +#define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB) + +#define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string) + +#endif /* WGL_ARB_extensions_string */ + +/* ------------------------ WGL_ARB_framebuffer_sRGB ----------------------- */ + +#ifndef WGL_ARB_framebuffer_sRGB +#define WGL_ARB_framebuffer_sRGB 1 + +#define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 + +#define WGLEW_ARB_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_ARB_framebuffer_sRGB) + +#endif /* WGL_ARB_framebuffer_sRGB */ + +/* ----------------------- WGL_ARB_make_current_read ----------------------- */ + +#ifndef WGL_ARB_make_current_read +#define WGL_ARB_make_current_read 1 + +#define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 +#define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 + +typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (VOID); +typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); + +#define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB) +#define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB) + +#define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read) + +#endif /* WGL_ARB_make_current_read */ + +/* -------------------------- WGL_ARB_multisample -------------------------- */ + +#ifndef WGL_ARB_multisample +#define WGL_ARB_multisample 1 + +#define WGL_SAMPLE_BUFFERS_ARB 0x2041 +#define WGL_SAMPLES_ARB 0x2042 + +#define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample) + +#endif /* WGL_ARB_multisample */ + +/* ---------------------------- WGL_ARB_pbuffer ---------------------------- */ + +#ifndef WGL_ARB_pbuffer +#define WGL_ARB_pbuffer 1 + +#define WGL_DRAW_TO_PBUFFER_ARB 0x202D +#define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E +#define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F +#define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 +#define WGL_PBUFFER_LARGEST_ARB 0x2033 +#define WGL_PBUFFER_WIDTH_ARB 0x2034 +#define WGL_PBUFFER_HEIGHT_ARB 0x2035 +#define WGL_PBUFFER_LOST_ARB 0x2036 + +DECLARE_HANDLE(HPBUFFERARB); + +typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList); +typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); +typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); +typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int* piValue); +typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC); + +#define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB) +#define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB) +#define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB) +#define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB) +#define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB) + +#define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer) + +#endif /* WGL_ARB_pbuffer */ + +/* -------------------------- WGL_ARB_pixel_format ------------------------- */ + +#ifndef WGL_ARB_pixel_format +#define WGL_ARB_pixel_format 1 + +#define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 +#define WGL_DRAW_TO_WINDOW_ARB 0x2001 +#define WGL_DRAW_TO_BITMAP_ARB 0x2002 +#define WGL_ACCELERATION_ARB 0x2003 +#define WGL_NEED_PALETTE_ARB 0x2004 +#define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 +#define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 +#define WGL_SWAP_METHOD_ARB 0x2007 +#define WGL_NUMBER_OVERLAYS_ARB 0x2008 +#define WGL_NUMBER_UNDERLAYS_ARB 0x2009 +#define WGL_TRANSPARENT_ARB 0x200A +#define WGL_SHARE_DEPTH_ARB 0x200C +#define WGL_SHARE_STENCIL_ARB 0x200D +#define WGL_SHARE_ACCUM_ARB 0x200E +#define WGL_SUPPORT_GDI_ARB 0x200F +#define WGL_SUPPORT_OPENGL_ARB 0x2010 +#define WGL_DOUBLE_BUFFER_ARB 0x2011 +#define WGL_STEREO_ARB 0x2012 +#define WGL_PIXEL_TYPE_ARB 0x2013 +#define WGL_COLOR_BITS_ARB 0x2014 +#define WGL_RED_BITS_ARB 0x2015 +#define WGL_RED_SHIFT_ARB 0x2016 +#define WGL_GREEN_BITS_ARB 0x2017 +#define WGL_GREEN_SHIFT_ARB 0x2018 +#define WGL_BLUE_BITS_ARB 0x2019 +#define WGL_BLUE_SHIFT_ARB 0x201A +#define WGL_ALPHA_BITS_ARB 0x201B +#define WGL_ALPHA_SHIFT_ARB 0x201C +#define WGL_ACCUM_BITS_ARB 0x201D +#define WGL_ACCUM_RED_BITS_ARB 0x201E +#define WGL_ACCUM_GREEN_BITS_ARB 0x201F +#define WGL_ACCUM_BLUE_BITS_ARB 0x2020 +#define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 +#define WGL_DEPTH_BITS_ARB 0x2022 +#define WGL_STENCIL_BITS_ARB 0x2023 +#define WGL_AUX_BUFFERS_ARB 0x2024 +#define WGL_NO_ACCELERATION_ARB 0x2025 +#define WGL_GENERIC_ACCELERATION_ARB 0x2026 +#define WGL_FULL_ACCELERATION_ARB 0x2027 +#define WGL_SWAP_EXCHANGE_ARB 0x2028 +#define WGL_SWAP_COPY_ARB 0x2029 +#define WGL_SWAP_UNDEFINED_ARB 0x202A +#define WGL_TYPE_RGBA_ARB 0x202B +#define WGL_TYPE_COLORINDEX_ARB 0x202C +#define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 +#define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 +#define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 +#define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A +#define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B + +typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); +typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT *pfValues); +typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int *piValues); + +#define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB) +#define wglGetPixelFormatAttribfvARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB) +#define wglGetPixelFormatAttribivARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB) + +#define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format) + +#endif /* WGL_ARB_pixel_format */ + +/* ----------------------- WGL_ARB_pixel_format_float ---------------------- */ + +#ifndef WGL_ARB_pixel_format_float +#define WGL_ARB_pixel_format_float 1 + +#define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 + +#define WGLEW_ARB_pixel_format_float WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float) + +#endif /* WGL_ARB_pixel_format_float */ + +/* ------------------------- WGL_ARB_render_texture ------------------------ */ + +#ifndef WGL_ARB_render_texture +#define WGL_ARB_render_texture 1 + +#define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 +#define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 +#define WGL_TEXTURE_FORMAT_ARB 0x2072 +#define WGL_TEXTURE_TARGET_ARB 0x2073 +#define WGL_MIPMAP_TEXTURE_ARB 0x2074 +#define WGL_TEXTURE_RGB_ARB 0x2075 +#define WGL_TEXTURE_RGBA_ARB 0x2076 +#define WGL_NO_TEXTURE_ARB 0x2077 +#define WGL_TEXTURE_CUBE_MAP_ARB 0x2078 +#define WGL_TEXTURE_1D_ARB 0x2079 +#define WGL_TEXTURE_2D_ARB 0x207A +#define WGL_MIPMAP_LEVEL_ARB 0x207B +#define WGL_CUBE_MAP_FACE_ARB 0x207C +#define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D +#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E +#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F +#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 +#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 +#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 +#define WGL_FRONT_LEFT_ARB 0x2083 +#define WGL_FRONT_RIGHT_ARB 0x2084 +#define WGL_BACK_LEFT_ARB 0x2085 +#define WGL_BACK_RIGHT_ARB 0x2086 +#define WGL_AUX0_ARB 0x2087 +#define WGL_AUX1_ARB 0x2088 +#define WGL_AUX2_ARB 0x2089 +#define WGL_AUX3_ARB 0x208A +#define WGL_AUX4_ARB 0x208B +#define WGL_AUX5_ARB 0x208C +#define WGL_AUX6_ARB 0x208D +#define WGL_AUX7_ARB 0x208E +#define WGL_AUX8_ARB 0x208F +#define WGL_AUX9_ARB 0x2090 + +typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); +typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); +typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int* piAttribList); + +#define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB) +#define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB) +#define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB) + +#define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture) + +#endif /* WGL_ARB_render_texture */ + +/* ---------------- WGL_ARB_robustness_application_isolation --------------- */ + +#ifndef WGL_ARB_robustness_application_isolation +#define WGL_ARB_robustness_application_isolation 1 + +#define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 + +#define WGLEW_ARB_robustness_application_isolation WGLEW_GET_VAR(__WGLEW_ARB_robustness_application_isolation) + +#endif /* WGL_ARB_robustness_application_isolation */ + +/* ---------------- WGL_ARB_robustness_share_group_isolation --------------- */ + +#ifndef WGL_ARB_robustness_share_group_isolation +#define WGL_ARB_robustness_share_group_isolation 1 + +#define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 + +#define WGLEW_ARB_robustness_share_group_isolation WGLEW_GET_VAR(__WGLEW_ARB_robustness_share_group_isolation) + +#endif /* WGL_ARB_robustness_share_group_isolation */ + +/* ----------------------- WGL_ATI_pixel_format_float ---------------------- */ + +#ifndef WGL_ATI_pixel_format_float +#define WGL_ATI_pixel_format_float 1 + +#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 +#define GL_RGBA_FLOAT_MODE_ATI 0x8820 +#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 + +#define WGLEW_ATI_pixel_format_float WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float) + +#endif /* WGL_ATI_pixel_format_float */ + +/* -------------------- WGL_ATI_render_texture_rectangle ------------------- */ + +#ifndef WGL_ATI_render_texture_rectangle +#define WGL_ATI_render_texture_rectangle 1 + +#define WGL_TEXTURE_RECTANGLE_ATI 0x21A5 + +#define WGLEW_ATI_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle) + +#endif /* WGL_ATI_render_texture_rectangle */ + +/* ------------------- WGL_EXT_create_context_es2_profile ------------------ */ + +#ifndef WGL_EXT_create_context_es2_profile +#define WGL_EXT_create_context_es2_profile 1 + +#define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 + +#define WGLEW_EXT_create_context_es2_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es2_profile) + +#endif /* WGL_EXT_create_context_es2_profile */ + +/* ------------------- WGL_EXT_create_context_es_profile ------------------- */ + +#ifndef WGL_EXT_create_context_es_profile +#define WGL_EXT_create_context_es_profile 1 + +#define WGL_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004 + +#define WGLEW_EXT_create_context_es_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es_profile) + +#endif /* WGL_EXT_create_context_es_profile */ + +/* -------------------------- WGL_EXT_depth_float -------------------------- */ + +#ifndef WGL_EXT_depth_float +#define WGL_EXT_depth_float 1 + +#define WGL_DEPTH_FLOAT_EXT 0x2040 + +#define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float) + +#endif /* WGL_EXT_depth_float */ + +/* ---------------------- WGL_EXT_display_color_table ---------------------- */ + +#ifndef WGL_EXT_display_color_table +#define WGL_EXT_display_color_table 1 + +typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id); +typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id); +typedef void (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id); +typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (GLushort* table, GLuint length); + +#define wglBindDisplayColorTableEXT WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT) +#define wglCreateDisplayColorTableEXT WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT) +#define wglDestroyDisplayColorTableEXT WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT) +#define wglLoadDisplayColorTableEXT WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT) + +#define WGLEW_EXT_display_color_table WGLEW_GET_VAR(__WGLEW_EXT_display_color_table) + +#endif /* WGL_EXT_display_color_table */ + +/* ----------------------- WGL_EXT_extensions_string ----------------------- */ + +#ifndef WGL_EXT_extensions_string +#define WGL_EXT_extensions_string 1 + +typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void); + +#define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT) + +#define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string) + +#endif /* WGL_EXT_extensions_string */ + +/* ------------------------ WGL_EXT_framebuffer_sRGB ----------------------- */ + +#ifndef WGL_EXT_framebuffer_sRGB +#define WGL_EXT_framebuffer_sRGB 1 + +#define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 + +#define WGLEW_EXT_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_EXT_framebuffer_sRGB) + +#endif /* WGL_EXT_framebuffer_sRGB */ + +/* ----------------------- WGL_EXT_make_current_read ----------------------- */ + +#ifndef WGL_EXT_make_current_read +#define WGL_EXT_make_current_read 1 + +#define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 + +typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (VOID); +typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); + +#define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT) +#define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT) + +#define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read) + +#endif /* WGL_EXT_make_current_read */ + +/* -------------------------- WGL_EXT_multisample -------------------------- */ + +#ifndef WGL_EXT_multisample +#define WGL_EXT_multisample 1 + +#define WGL_SAMPLE_BUFFERS_EXT 0x2041 +#define WGL_SAMPLES_EXT 0x2042 + +#define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample) + +#endif /* WGL_EXT_multisample */ + +/* ---------------------------- WGL_EXT_pbuffer ---------------------------- */ + +#ifndef WGL_EXT_pbuffer +#define WGL_EXT_pbuffer 1 + +#define WGL_DRAW_TO_PBUFFER_EXT 0x202D +#define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E +#define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F +#define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 +#define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 +#define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 +#define WGL_PBUFFER_LARGEST_EXT 0x2033 +#define WGL_PBUFFER_WIDTH_EXT 0x2034 +#define WGL_PBUFFER_HEIGHT_EXT 0x2035 + +DECLARE_HANDLE(HPBUFFEREXT); + +typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList); +typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer); +typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer); +typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int* piValue); +typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC); + +#define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT) +#define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT) +#define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT) +#define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT) +#define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT) + +#define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer) + +#endif /* WGL_EXT_pbuffer */ + +/* -------------------------- WGL_EXT_pixel_format ------------------------- */ + +#ifndef WGL_EXT_pixel_format +#define WGL_EXT_pixel_format 1 + +#define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 +#define WGL_DRAW_TO_WINDOW_EXT 0x2001 +#define WGL_DRAW_TO_BITMAP_EXT 0x2002 +#define WGL_ACCELERATION_EXT 0x2003 +#define WGL_NEED_PALETTE_EXT 0x2004 +#define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 +#define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 +#define WGL_SWAP_METHOD_EXT 0x2007 +#define WGL_NUMBER_OVERLAYS_EXT 0x2008 +#define WGL_NUMBER_UNDERLAYS_EXT 0x2009 +#define WGL_TRANSPARENT_EXT 0x200A +#define WGL_TRANSPARENT_VALUE_EXT 0x200B +#define WGL_SHARE_DEPTH_EXT 0x200C +#define WGL_SHARE_STENCIL_EXT 0x200D +#define WGL_SHARE_ACCUM_EXT 0x200E +#define WGL_SUPPORT_GDI_EXT 0x200F +#define WGL_SUPPORT_OPENGL_EXT 0x2010 +#define WGL_DOUBLE_BUFFER_EXT 0x2011 +#define WGL_STEREO_EXT 0x2012 +#define WGL_PIXEL_TYPE_EXT 0x2013 +#define WGL_COLOR_BITS_EXT 0x2014 +#define WGL_RED_BITS_EXT 0x2015 +#define WGL_RED_SHIFT_EXT 0x2016 +#define WGL_GREEN_BITS_EXT 0x2017 +#define WGL_GREEN_SHIFT_EXT 0x2018 +#define WGL_BLUE_BITS_EXT 0x2019 +#define WGL_BLUE_SHIFT_EXT 0x201A +#define WGL_ALPHA_BITS_EXT 0x201B +#define WGL_ALPHA_SHIFT_EXT 0x201C +#define WGL_ACCUM_BITS_EXT 0x201D +#define WGL_ACCUM_RED_BITS_EXT 0x201E +#define WGL_ACCUM_GREEN_BITS_EXT 0x201F +#define WGL_ACCUM_BLUE_BITS_EXT 0x2020 +#define WGL_ACCUM_ALPHA_BITS_EXT 0x2021 +#define WGL_DEPTH_BITS_EXT 0x2022 +#define WGL_STENCIL_BITS_EXT 0x2023 +#define WGL_AUX_BUFFERS_EXT 0x2024 +#define WGL_NO_ACCELERATION_EXT 0x2025 +#define WGL_GENERIC_ACCELERATION_EXT 0x2026 +#define WGL_FULL_ACCELERATION_EXT 0x2027 +#define WGL_SWAP_EXCHANGE_EXT 0x2028 +#define WGL_SWAP_COPY_EXT 0x2029 +#define WGL_SWAP_UNDEFINED_EXT 0x202A +#define WGL_TYPE_RGBA_EXT 0x202B +#define WGL_TYPE_COLORINDEX_EXT 0x202C + +typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); +typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, FLOAT *pfValues); +typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, int *piValues); + +#define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT) +#define wglGetPixelFormatAttribfvEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT) +#define wglGetPixelFormatAttribivEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT) + +#define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format) + +#endif /* WGL_EXT_pixel_format */ + +/* ------------------- WGL_EXT_pixel_format_packed_float ------------------- */ + +#ifndef WGL_EXT_pixel_format_packed_float +#define WGL_EXT_pixel_format_packed_float 1 + +#define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 + +#define WGLEW_EXT_pixel_format_packed_float WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float) + +#endif /* WGL_EXT_pixel_format_packed_float */ + +/* -------------------------- WGL_EXT_swap_control ------------------------- */ + +#ifndef WGL_EXT_swap_control +#define WGL_EXT_swap_control 1 + +typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void); +typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval); + +#define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT) +#define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT) + +#define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control) + +#endif /* WGL_EXT_swap_control */ + +/* ----------------------- WGL_EXT_swap_control_tear ----------------------- */ + +#ifndef WGL_EXT_swap_control_tear +#define WGL_EXT_swap_control_tear 1 + +#define WGLEW_EXT_swap_control_tear WGLEW_GET_VAR(__WGLEW_EXT_swap_control_tear) + +#endif /* WGL_EXT_swap_control_tear */ + +/* --------------------- WGL_I3D_digital_video_control --------------------- */ + +#ifndef WGL_I3D_digital_video_control +#define WGL_I3D_digital_video_control 1 + +#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 +#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 +#define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 +#define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 + +typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue); +typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue); + +#define wglGetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D) +#define wglSetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D) + +#define WGLEW_I3D_digital_video_control WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control) + +#endif /* WGL_I3D_digital_video_control */ + +/* ----------------------------- WGL_I3D_gamma ----------------------------- */ + +#ifndef WGL_I3D_gamma +#define WGL_I3D_gamma 1 + +#define WGL_GAMMA_TABLE_SIZE_I3D 0x204E +#define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F + +typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT* puRed, USHORT *puGreen, USHORT *puBlue); +typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue); +typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT* puRed, const USHORT *puGreen, const USHORT *puBlue); +typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue); + +#define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D) +#define wglGetGammaTableParametersI3D WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D) +#define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D) +#define wglSetGammaTableParametersI3D WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D) + +#define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma) + +#endif /* WGL_I3D_gamma */ + +/* ---------------------------- WGL_I3D_genlock ---------------------------- */ + +#ifndef WGL_I3D_genlock +#define WGL_I3D_genlock 1 + +#define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 +#define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045 +#define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046 +#define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047 +#define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 +#define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 +#define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A +#define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B +#define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C + +typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC); +typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC); +typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate); +typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay); +typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge); +typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource); +typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT* uRate); +typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT* uDelay); +typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT* uEdge); +typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT* uSource); +typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL* pFlag); +typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT* uMaxLineDelay, UINT *uMaxPixelDelay); + +#define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D) +#define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D) +#define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D) +#define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D) +#define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D) +#define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D) +#define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D) +#define wglGetGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D) +#define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D) +#define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D) +#define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D) +#define wglQueryGenlockMaxSourceDelayI3D WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D) + +#define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock) + +#endif /* WGL_I3D_genlock */ + +/* -------------------------- WGL_I3D_image_buffer ------------------------- */ + +#ifndef WGL_I3D_image_buffer +#define WGL_I3D_image_buffer 1 + +#define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 +#define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 + +typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, HANDLE* pEvent, LPVOID *pAddress, DWORD *pSize, UINT count); +typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags); +typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress); +typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, LPVOID* pAddress, UINT count); + +#define wglAssociateImageBufferEventsI3D WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D) +#define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D) +#define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D) +#define wglReleaseImageBufferEventsI3D WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D) + +#define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer) + +#endif /* WGL_I3D_image_buffer */ + +/* ------------------------ WGL_I3D_swap_frame_lock ------------------------ */ + +#ifndef WGL_I3D_swap_frame_lock +#define WGL_I3D_swap_frame_lock 1 + +typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (VOID); +typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (VOID); +typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL* pFlag); +typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL* pFlag); + +#define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D) +#define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D) +#define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D) +#define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D) + +#define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock) + +#endif /* WGL_I3D_swap_frame_lock */ + +/* ------------------------ WGL_I3D_swap_frame_usage ----------------------- */ + +#ifndef WGL_I3D_swap_frame_usage +#define WGL_I3D_swap_frame_usage 1 + +typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void); +typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void); +typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float* pUsage); +typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage); + +#define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D) +#define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D) +#define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D) +#define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D) + +#define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage) + +#endif /* WGL_I3D_swap_frame_usage */ + +/* --------------------------- WGL_NV_DX_interop --------------------------- */ + +#ifndef WGL_NV_DX_interop +#define WGL_NV_DX_interop 1 + +#define WGL_ACCESS_READ_ONLY_NV 0x0000 +#define WGL_ACCESS_READ_WRITE_NV 0x0001 +#define WGL_ACCESS_WRITE_DISCARD_NV 0x0002 + +typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice); +typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects); +typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access); +typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void* dxDevice); +typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void* dxObject, GLuint name, GLenum type, GLenum access); +typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void* dxObject, HANDLE shareHandle); +typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects); +typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject); + +#define wglDXCloseDeviceNV WGLEW_GET_FUN(__wglewDXCloseDeviceNV) +#define wglDXLockObjectsNV WGLEW_GET_FUN(__wglewDXLockObjectsNV) +#define wglDXObjectAccessNV WGLEW_GET_FUN(__wglewDXObjectAccessNV) +#define wglDXOpenDeviceNV WGLEW_GET_FUN(__wglewDXOpenDeviceNV) +#define wglDXRegisterObjectNV WGLEW_GET_FUN(__wglewDXRegisterObjectNV) +#define wglDXSetResourceShareHandleNV WGLEW_GET_FUN(__wglewDXSetResourceShareHandleNV) +#define wglDXUnlockObjectsNV WGLEW_GET_FUN(__wglewDXUnlockObjectsNV) +#define wglDXUnregisterObjectNV WGLEW_GET_FUN(__wglewDXUnregisterObjectNV) + +#define WGLEW_NV_DX_interop WGLEW_GET_VAR(__WGLEW_NV_DX_interop) + +#endif /* WGL_NV_DX_interop */ + +/* --------------------------- WGL_NV_DX_interop2 -------------------------- */ + +#ifndef WGL_NV_DX_interop2 +#define WGL_NV_DX_interop2 1 + +#define WGLEW_NV_DX_interop2 WGLEW_GET_VAR(__WGLEW_NV_DX_interop2) + +#endif /* WGL_NV_DX_interop2 */ + +/* --------------------------- WGL_NV_copy_image --------------------------- */ + +#ifndef WGL_NV_copy_image +#define WGL_NV_copy_image 1 + +typedef BOOL (WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); + +#define wglCopyImageSubDataNV WGLEW_GET_FUN(__wglewCopyImageSubDataNV) + +#define WGLEW_NV_copy_image WGLEW_GET_VAR(__WGLEW_NV_copy_image) + +#endif /* WGL_NV_copy_image */ + +/* ------------------------ WGL_NV_delay_before_swap ----------------------- */ + +#ifndef WGL_NV_delay_before_swap +#define WGL_NV_delay_before_swap 1 + +typedef BOOL (WINAPI * PFNWGLDELAYBEFORESWAPNVPROC) (HDC hDC, GLfloat seconds); + +#define wglDelayBeforeSwapNV WGLEW_GET_FUN(__wglewDelayBeforeSwapNV) + +#define WGLEW_NV_delay_before_swap WGLEW_GET_VAR(__WGLEW_NV_delay_before_swap) + +#endif /* WGL_NV_delay_before_swap */ + +/* -------------------------- WGL_NV_float_buffer -------------------------- */ + +#ifndef WGL_NV_float_buffer +#define WGL_NV_float_buffer 1 + +#define WGL_FLOAT_COMPONENTS_NV 0x20B0 +#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 +#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 +#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 +#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 +#define WGL_TEXTURE_FLOAT_R_NV 0x20B5 +#define WGL_TEXTURE_FLOAT_RG_NV 0x20B6 +#define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 +#define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 + +#define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer) + +#endif /* WGL_NV_float_buffer */ + +/* -------------------------- WGL_NV_gpu_affinity -------------------------- */ + +#ifndef WGL_NV_gpu_affinity +#define WGL_NV_gpu_affinity 1 + +#define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 +#define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 + +DECLARE_HANDLE(HGPUNV); +typedef struct _GPU_DEVICE { + DWORD cb; + CHAR DeviceName[32]; + CHAR DeviceString[128]; + DWORD Flags; + RECT rcVirtualScreen; +} GPU_DEVICE, *PGPU_DEVICE; + +typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList); +typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc); +typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice); +typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu); +typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu); + +#define wglCreateAffinityDCNV WGLEW_GET_FUN(__wglewCreateAffinityDCNV) +#define wglDeleteDCNV WGLEW_GET_FUN(__wglewDeleteDCNV) +#define wglEnumGpuDevicesNV WGLEW_GET_FUN(__wglewEnumGpuDevicesNV) +#define wglEnumGpusFromAffinityDCNV WGLEW_GET_FUN(__wglewEnumGpusFromAffinityDCNV) +#define wglEnumGpusNV WGLEW_GET_FUN(__wglewEnumGpusNV) + +#define WGLEW_NV_gpu_affinity WGLEW_GET_VAR(__WGLEW_NV_gpu_affinity) + +#endif /* WGL_NV_gpu_affinity */ + +/* ---------------------- WGL_NV_multisample_coverage ---------------------- */ + +#ifndef WGL_NV_multisample_coverage +#define WGL_NV_multisample_coverage 1 + +#define WGL_COVERAGE_SAMPLES_NV 0x2042 +#define WGL_COLOR_SAMPLES_NV 0x20B9 + +#define WGLEW_NV_multisample_coverage WGLEW_GET_VAR(__WGLEW_NV_multisample_coverage) + +#endif /* WGL_NV_multisample_coverage */ + +/* -------------------------- WGL_NV_present_video ------------------------- */ + +#ifndef WGL_NV_present_video +#define WGL_NV_present_video 1 + +#define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 + +DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV); + +typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int* piAttribList); +typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDc, HVIDEOOUTPUTDEVICENV* phDeviceList); +typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int* piValue); + +#define wglBindVideoDeviceNV WGLEW_GET_FUN(__wglewBindVideoDeviceNV) +#define wglEnumerateVideoDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoDevicesNV) +#define wglQueryCurrentContextNV WGLEW_GET_FUN(__wglewQueryCurrentContextNV) + +#define WGLEW_NV_present_video WGLEW_GET_VAR(__WGLEW_NV_present_video) + +#endif /* WGL_NV_present_video */ + +/* ---------------------- WGL_NV_render_depth_texture ---------------------- */ + +#ifndef WGL_NV_render_depth_texture +#define WGL_NV_render_depth_texture 1 + +#define WGL_NO_TEXTURE_ARB 0x2077 +#define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 +#define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 +#define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 +#define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 +#define WGL_DEPTH_COMPONENT_NV 0x20A7 + +#define WGLEW_NV_render_depth_texture WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture) + +#endif /* WGL_NV_render_depth_texture */ + +/* -------------------- WGL_NV_render_texture_rectangle -------------------- */ + +#ifndef WGL_NV_render_texture_rectangle +#define WGL_NV_render_texture_rectangle 1 + +#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 +#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 +#define WGL_TEXTURE_RECTANGLE_NV 0x20A2 + +#define WGLEW_NV_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle) + +#endif /* WGL_NV_render_texture_rectangle */ + +/* --------------------------- WGL_NV_swap_group --------------------------- */ + +#ifndef WGL_NV_swap_group +#define WGL_NV_swap_group 1 + +typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier); +typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group); +typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint* count); +typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint* maxGroups, GLuint *maxBarriers); +typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint* group, GLuint *barrier); +typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC); + +#define wglBindSwapBarrierNV WGLEW_GET_FUN(__wglewBindSwapBarrierNV) +#define wglJoinSwapGroupNV WGLEW_GET_FUN(__wglewJoinSwapGroupNV) +#define wglQueryFrameCountNV WGLEW_GET_FUN(__wglewQueryFrameCountNV) +#define wglQueryMaxSwapGroupsNV WGLEW_GET_FUN(__wglewQueryMaxSwapGroupsNV) +#define wglQuerySwapGroupNV WGLEW_GET_FUN(__wglewQuerySwapGroupNV) +#define wglResetFrameCountNV WGLEW_GET_FUN(__wglewResetFrameCountNV) + +#define WGLEW_NV_swap_group WGLEW_GET_VAR(__WGLEW_NV_swap_group) + +#endif /* WGL_NV_swap_group */ + +/* ----------------------- WGL_NV_vertex_array_range ----------------------- */ + +#ifndef WGL_NV_vertex_array_range +#define WGL_NV_vertex_array_range 1 + +typedef void * (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority); +typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer); + +#define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV) +#define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV) + +#define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range) + +#endif /* WGL_NV_vertex_array_range */ + +/* -------------------------- WGL_NV_video_capture ------------------------- */ + +#ifndef WGL_NV_video_capture +#define WGL_NV_video_capture 1 + +#define WGL_UNIQUE_ID_NV 0x20CE +#define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF + +DECLARE_HANDLE(HVIDEOINPUTDEVICENV); + +typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice); +typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV* phDeviceList); +typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice); +typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int* piValue); +typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice); + +#define wglBindVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewBindVideoCaptureDeviceNV) +#define wglEnumerateVideoCaptureDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoCaptureDevicesNV) +#define wglLockVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewLockVideoCaptureDeviceNV) +#define wglQueryVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewQueryVideoCaptureDeviceNV) +#define wglReleaseVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoCaptureDeviceNV) + +#define WGLEW_NV_video_capture WGLEW_GET_VAR(__WGLEW_NV_video_capture) + +#endif /* WGL_NV_video_capture */ + +/* -------------------------- WGL_NV_video_output -------------------------- */ + +#ifndef WGL_NV_video_output +#define WGL_NV_video_output 1 + +#define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0 +#define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1 +#define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 +#define WGL_VIDEO_OUT_COLOR_NV 0x20C3 +#define WGL_VIDEO_OUT_ALPHA_NV 0x20C4 +#define WGL_VIDEO_OUT_DEPTH_NV 0x20C5 +#define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 +#define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 +#define WGL_VIDEO_OUT_FRAME 0x20C8 +#define WGL_VIDEO_OUT_FIELD_1 0x20C9 +#define WGL_VIDEO_OUT_FIELD_2 0x20CA +#define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB +#define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC + +DECLARE_HANDLE(HPVIDEODEV); + +typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer); +typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV* hVideoDevice); +typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); +typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice); +typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer); +typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long* pulCounterPbuffer, BOOL bBlock); + +#define wglBindVideoImageNV WGLEW_GET_FUN(__wglewBindVideoImageNV) +#define wglGetVideoDeviceNV WGLEW_GET_FUN(__wglewGetVideoDeviceNV) +#define wglGetVideoInfoNV WGLEW_GET_FUN(__wglewGetVideoInfoNV) +#define wglReleaseVideoDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoDeviceNV) +#define wglReleaseVideoImageNV WGLEW_GET_FUN(__wglewReleaseVideoImageNV) +#define wglSendPbufferToVideoNV WGLEW_GET_FUN(__wglewSendPbufferToVideoNV) + +#define WGLEW_NV_video_output WGLEW_GET_VAR(__WGLEW_NV_video_output) + +#endif /* WGL_NV_video_output */ + +/* -------------------------- WGL_OML_sync_control ------------------------- */ + +#ifndef WGL_OML_sync_control +#define WGL_OML_sync_control 1 + +typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32* numerator, INT32 *denominator); +typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64* ust, INT64 *msc, INT64 *sbc); +typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); +typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); +typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust, INT64 *msc, INT64 *sbc); +typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64* ust, INT64 *msc, INT64 *sbc); + +#define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML) +#define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML) +#define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML) +#define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML) +#define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML) +#define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML) + +#define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control) + +#endif /* WGL_OML_sync_control */ + +/* ------------------------------------------------------------------------- */ + +#ifdef GLEW_MX +#define WGLEW_FUN_EXPORT +#define WGLEW_VAR_EXPORT +#else +#define WGLEW_FUN_EXPORT GLEW_FUN_EXPORT +#define WGLEW_VAR_EXPORT GLEW_VAR_EXPORT +#endif /* GLEW_MX */ + +#ifdef GLEW_MX +struct WGLEWContextStruct +{ +#endif /* GLEW_MX */ + +WGLEW_FUN_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL; + +WGLEW_FUN_EXPORT PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD; +WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD; +WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD; +WGLEW_FUN_EXPORT PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD; +WGLEW_FUN_EXPORT PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD; +WGLEW_FUN_EXPORT PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD; +WGLEW_FUN_EXPORT PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD; +WGLEW_FUN_EXPORT PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD; +WGLEW_FUN_EXPORT PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD; + +WGLEW_FUN_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB; +WGLEW_FUN_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB; +WGLEW_FUN_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB; +WGLEW_FUN_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB; + +WGLEW_FUN_EXPORT PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB; + +WGLEW_FUN_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB; + +WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB; +WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB; + +WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB; +WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB; +WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB; +WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB; +WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB; + +WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB; +WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB; +WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB; + +WGLEW_FUN_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB; +WGLEW_FUN_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB; +WGLEW_FUN_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB; + +WGLEW_FUN_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT; +WGLEW_FUN_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT; +WGLEW_FUN_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT; +WGLEW_FUN_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT; + +WGLEW_FUN_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT; + +WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT; +WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT; + +WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT; +WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT; +WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT; +WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT; +WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT; + +WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT; +WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT; +WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT; + +WGLEW_FUN_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT; +WGLEW_FUN_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT; + +WGLEW_FUN_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D; +WGLEW_FUN_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D; + +WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D; +WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D; +WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D; +WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D; + +WGLEW_FUN_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D; +WGLEW_FUN_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D; +WGLEW_FUN_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D; +WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D; +WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D; +WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D; +WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D; +WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D; +WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D; +WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D; +WGLEW_FUN_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D; +WGLEW_FUN_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D; + +WGLEW_FUN_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D; +WGLEW_FUN_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D; +WGLEW_FUN_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D; +WGLEW_FUN_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D; + +WGLEW_FUN_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D; +WGLEW_FUN_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D; +WGLEW_FUN_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D; +WGLEW_FUN_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D; + +WGLEW_FUN_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D; +WGLEW_FUN_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D; +WGLEW_FUN_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D; +WGLEW_FUN_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D; + +WGLEW_FUN_EXPORT PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV; +WGLEW_FUN_EXPORT PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV; +WGLEW_FUN_EXPORT PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV; +WGLEW_FUN_EXPORT PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV; +WGLEW_FUN_EXPORT PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV; +WGLEW_FUN_EXPORT PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV; +WGLEW_FUN_EXPORT PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV; +WGLEW_FUN_EXPORT PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV; + +WGLEW_FUN_EXPORT PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV; + +WGLEW_FUN_EXPORT PFNWGLDELAYBEFORESWAPNVPROC __wglewDelayBeforeSwapNV; + +WGLEW_FUN_EXPORT PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV; +WGLEW_FUN_EXPORT PFNWGLDELETEDCNVPROC __wglewDeleteDCNV; +WGLEW_FUN_EXPORT PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV; +WGLEW_FUN_EXPORT PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV; +WGLEW_FUN_EXPORT PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV; + +WGLEW_FUN_EXPORT PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV; +WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV; +WGLEW_FUN_EXPORT PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV; + +WGLEW_FUN_EXPORT PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV; +WGLEW_FUN_EXPORT PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV; +WGLEW_FUN_EXPORT PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV; +WGLEW_FUN_EXPORT PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV; +WGLEW_FUN_EXPORT PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV; +WGLEW_FUN_EXPORT PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV; + +WGLEW_FUN_EXPORT PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV; +WGLEW_FUN_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV; + +WGLEW_FUN_EXPORT PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV; +WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV; +WGLEW_FUN_EXPORT PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV; +WGLEW_FUN_EXPORT PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV; +WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV; + +WGLEW_FUN_EXPORT PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV; +WGLEW_FUN_EXPORT PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV; +WGLEW_FUN_EXPORT PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV; +WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV; +WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV; +WGLEW_FUN_EXPORT PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV; + +WGLEW_FUN_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML; +WGLEW_FUN_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML; +WGLEW_FUN_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML; +WGLEW_FUN_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML; +WGLEW_FUN_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML; +WGLEW_FUN_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML; +WGLEW_VAR_EXPORT GLboolean __WGLEW_3DFX_multisample; +WGLEW_VAR_EXPORT GLboolean __WGLEW_3DL_stereo_control; +WGLEW_VAR_EXPORT GLboolean __WGLEW_AMD_gpu_association; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_buffer_region; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_context_flush_control; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context_profile; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context_robustness; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_extensions_string; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_framebuffer_sRGB; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_make_current_read; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_multisample; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pbuffer; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pixel_format; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pixel_format_float; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_render_texture; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_robustness_application_isolation; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_robustness_share_group_isolation; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ATI_pixel_format_float; +WGLEW_VAR_EXPORT GLboolean __WGLEW_ATI_render_texture_rectangle; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_create_context_es2_profile; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_create_context_es_profile; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_depth_float; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_display_color_table; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_extensions_string; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_framebuffer_sRGB; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_make_current_read; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_multisample; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pbuffer; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pixel_format; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pixel_format_packed_float; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_swap_control; +WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_swap_control_tear; +WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_digital_video_control; +WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_gamma; +WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_genlock; +WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_image_buffer; +WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_swap_frame_lock; +WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_swap_frame_usage; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_DX_interop; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_DX_interop2; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_copy_image; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_delay_before_swap; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_float_buffer; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_gpu_affinity; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_multisample_coverage; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_present_video; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_render_depth_texture; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_render_texture_rectangle; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_swap_group; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_vertex_array_range; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_video_capture; +WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_video_output; +WGLEW_VAR_EXPORT GLboolean __WGLEW_OML_sync_control; + +#ifdef GLEW_MX +}; /* WGLEWContextStruct */ +#endif /* GLEW_MX */ + +/* ------------------------------------------------------------------------- */ + +#ifdef GLEW_MX + +typedef struct WGLEWContextStruct WGLEWContext; +GLEWAPI GLenum GLEWAPIENTRY wglewContextInit (WGLEWContext *ctx); +GLEWAPI GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext *ctx, const char *name); + +#define wglewInit() wglewContextInit(wglewGetContext()) +#define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x) + +#define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x)) +#define WGLEW_GET_FUN(x) wglewGetContext()->x + +#else /* GLEW_MX */ + +GLEWAPI GLenum GLEWAPIENTRY wglewInit (); +GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name); + +#define WGLEW_GET_VAR(x) (*(const GLboolean*)&x) +#define WGLEW_GET_FUN(x) x + +#endif /* GLEW_MX */ + +GLEWAPI GLboolean GLEWAPIENTRY wglewGetExtension (const char *name); + +#ifdef __cplusplus +} +#endif + +#undef GLEWAPI + +#endif /* __wglew_h__ */ diff --git a/shaders/simple.fs b/shaders/simple.fs deleted file mode 100644 index cc7f812..0000000 --- a/shaders/simple.fs +++ /dev/null @@ -1,15 +0,0 @@ -#version 330 core -in vec2 TexCoord; - -out vec4 color; - -uniform sampler2D blockTexture; -uniform int block; -uniform float time; - -void main() -{ - color = texture(blockTexture,TexCoord); - //color = vec4(TexCoord.x,TexCoord.y,0.0,1.0); -} - diff --git a/shaders/simple.vs b/shaders/simple.vs deleted file mode 100644 index ca99e85..0000000 --- a/shaders/simple.vs +++ /dev/null @@ -1,16 +0,0 @@ -#version 330 core -layout (location = 0) in vec3 position; -layout (location = 2) in vec2 texCoord; - -out vec2 TexCoord; - -uniform mat4 model; -uniform mat4 view; -uniform mat4 projection; - -void main() -{ - gl_Position = projection * view * model * vec4(position, 1.0f); - TexCoord = vec2(texCoord.x, texCoord.y); - //TexCoord = texCoord; -} \ No newline at end of file diff --git a/src/core/AssetManager.cpp b/src/core/AssetManager.cpp new file mode 100644 index 0000000..9913c18 --- /dev/null +++ b/src/core/AssetManager.cpp @@ -0,0 +1,70 @@ +#include +#include +#include "AssetManager.hpp" + +namespace fs = std::experimental::filesystem; + +const fs::path pathToAssets = "./assets/"; +const fs::path pathToAssetsList = "./items.json"; +const fs::path pathToTextureIndex = "./textures.json"; + +AssetManager::AssetManager() { + for (auto &it:fs::recursive_directory_iterator(pathToAssets)) { + + } + LoadIds(); + LoadTextureResources(); +} + +void AssetManager::LoadIds() { + std::ifstream in(pathToAssetsList); + nlohmann::json index; + in >> index; + for (auto &it:index) { + int id = it["type"].get(); + int state = it["meta"].get(); + std::string blockName = it["text_type"].get(); + assetIds[blockName] = Block(id, state, 0); + } + LOG(INFO) << "Loaded " << assetIds.size() << " ids"; +} + +AssetManager::~AssetManager() { + delete textureAtlas; +} + +//TODO: This function must be replaced with runtime texture atlas generating +void AssetManager::LoadTextureResources() { + std::ifstream in(pathToTextureIndex); + nlohmann::json index; + in >> index; + std::string filename = index["meta"]["image"].get(); + for (auto &it:index["frames"]) { + auto frame = it["frame"]; + TextureCoord coord; + coord.x = frame["x"].get(); + coord.y = frame["y"].get(); + coord.w = frame["w"].get(); + coord.h = frame["h"].get(); + std::string assetName = it["filename"].get(); + assetName.insert(0,"minecraft/textures/"); + assetName.erase(assetName.length()-4); + LOG(ERROR)<texture; +} + +TextureCoord AssetManager::GetTextureByAssetName(std::string AssetName) { + return TextureCoord{0, 0, 0, 0}; +} + +std::string AssetManager::GetTextureAssetNameByBlockId(unsigned short BlockId, unsigned char BlockSide) { + +} + +const GLuint AssetManager::GetTextureAtlas() { + return textureAtlas->texture; +} diff --git a/src/core/AssetManager.hpp b/src/core/AssetManager.hpp new file mode 100644 index 0000000..23b2ba6 --- /dev/null +++ b/src/core/AssetManager.hpp @@ -0,0 +1,33 @@ +#pragma once + +#include +#include +#include +#include +#include +#include "../world/Block.hpp" +#include "../graphics/Texture.hpp" + +struct TextureCoord{ + unsigned int x,y,w,h; +}; + +class AssetManager { + Texture *textureAtlas; + std::map assetIds; + std::map assetTextures; +public: + AssetManager(); + + ~AssetManager(); + + void LoadTextureResources(); + + TextureCoord GetTextureByAssetName(std::string AssetName); + + std::string GetTextureAssetNameByBlockId(unsigned short BlockId, unsigned char BlockSide = 0); + + const GLuint GetTextureAtlas(); + + void LoadIds(); +}; diff --git a/src/core/Core.cpp b/src/core/Core.cpp index 54a16a4..7814c32 100644 --- a/src/core/Core.cpp +++ b/src/core/Core.cpp @@ -108,6 +108,7 @@ Core::Core() { gameState = new GameState(client); std::thread loop = std::thread(&Core::UpdateGameState,this); std::swap(loop,gameStateLoopThread); + assetManager = new AssetManager; LOG(INFO) << "Core is initialized"; } @@ -291,13 +292,8 @@ void Core::RenderWorld(World &Target) { glUniformMatrix4fv(modelLoc, 1, GL_FALSE, glm::value_ptr(model)); glUniform1i(blockLoc, block.id); - std::string textureName = AssetManager::GetAssetNameByBlockId(block.id); - if (textureName.find("air") != std::string::npos) - continue; - Texture &texture1 = *(AssetManager::GetAsset(textureName).data.texture); - glActiveTexture(GL_TEXTURE0); - glBindTexture(GL_TEXTURE_2D, texture1.texture); + //glBindTexture(GL_TEXTURE_2D, texture1.texture); glUniform1i(glGetUniformLocation(shader->Program, "blockTexture"), 0); glDrawArrays(GL_TRIANGLES, 0, 36); @@ -316,7 +312,6 @@ void Core::SetMouseCapture(bool IsCaptured) { } void Core::PrepareToWorldRendering() { - glGenBuffers(1, &VBO); glGenBuffers(1, &VBO2); glGenVertexArrays(1, &VAO); diff --git a/src/core/Core.hpp b/src/core/Core.hpp index a877613..1c2bbc5 100644 --- a/src/core/Core.hpp +++ b/src/core/Core.hpp @@ -10,12 +10,13 @@ #include "../gui/Gui.hpp" #include "../graphics/Camera3D.hpp" #include "../graphics/Shader.hpp" -#include "../graphics/AssetManager.hpp" +#include "AssetManager.hpp" class Core { GameState *gameState; NetworkClient *client; sf::Window *window; + AssetManager *assetManager; bool isMouseCaptured = false, isRunning = true; enum { MainMenu, diff --git a/src/gamestate/GameState.cpp b/src/gamestate/GameState.cpp index aaeecb1..7b6734f 100644 --- a/src/gamestate/GameState.cpp +++ b/src/gamestate/GameState.cpp @@ -40,7 +40,7 @@ void GameState::Update() { break; case 0x0D: g_Difficulty = packet.GetField(0).GetUByte(); - std::cout << "Difficulty now is " << (int) g_Difficulty << std::endl; + LOG(INFO) << "Difficulty now is " << (int) g_Difficulty; break; case 0x43: g_SpawnPosition = packet.GetField(0).GetPosition(); diff --git a/src/graphics/AssetManager.cpp b/src/graphics/AssetManager.cpp deleted file mode 100644 index 93462c3..0000000 --- a/src/graphics/AssetManager.cpp +++ /dev/null @@ -1,146 +0,0 @@ -#include "AssetManager.hpp" - -const std::string pathToAssets = "./assets/"; -const std::string pathToObjects = pathToAssets + "objects/"; -const std::string pathToIndexFile = pathToAssets + "indexes/1.11.json"; -const std::string pathToAssetsMc = "./assetsMc/"; -const std::map assetTypeFileExtensions{ - std::make_pair(Asset::AssetType::Texture, ".png"), - std::make_pair(Asset::AssetType::Lang, ".lang"), - std::make_pair(Asset::AssetType::Sound, ".ogg"), -}; - -AssetManager::AssetManager() { - return; - std::ifstream indexFile(pathToIndexFile); - if (!indexFile) { - std::cerr << "Can't open file " << pathToIndexFile << std::endl; - } - nlohmann::json json = nlohmann::json::parse(indexFile)["objects"]; - for (auto it = json.begin(); it != json.end(); ++it) { - size_t fileNameExtensionPos = -1; - std::string name = it.key(); - Asset::AssetType type = Asset::Unknown; - for (auto &it:assetTypeFileExtensions) { - if ((fileNameExtensionPos = name.find(it.second)) != std::string::npos) { - type = it.first; - name = name.substr(0, fileNameExtensionPos); - break; - } - } - std::string hash = it.value()["hash"].get(); - size_t size = it.value()["size"].get(); - Asset asset{name, hash, Asset::AssetData(), size, type}; - this->assets[name] = asset; - } -} - -AssetManager::~AssetManager() { - -} - -Asset &AssetManager::GetAsset(std::string AssetName) { - if (instance().assets.find(AssetName) == instance().assets.end() || !instance().assets[AssetName].isParsed()) - LoadAsset(AssetName); - return instance().assets[AssetName]; -} - -void AssetManager::LoadAsset(std::string AssetName) { - if (instance().assets.find(AssetName) != instance().assets.end() && instance().assets[AssetName].isParsed()) - return; - std::string AssetFileName = GetPathToAsset(AssetName); - Asset &asset = instance().assets[AssetName]; - - - if (asset.type == Asset::Texture) { - asset.data.texture = new Texture(AssetFileName,GL_CLAMP_TO_BORDER,GL_NEAREST); - //asset.data.texture.loadFromFile((asset.name + assetTypeFileExtensions.at(asset.type))); - } -} - -std::string AssetManager::GetPathToAsset(std::string AssetName) { - if (instance().assets.find(AssetName) != instance().assets.end()){ - auto it = instance().assets.find(AssetName); - return pathToObjects + std::string(instance().assets[AssetName].hash.c_str(), 2) + "/" + - instance().assets[AssetName].hash; - } - - instance().assets[AssetName].hash=""; - instance().assets[AssetName].type=Asset::AssetType::Texture; - instance().assets[AssetName].name=AssetName; - instance().assets[AssetName].size=0; - return pathToAssetsMc + "" + instance().assets[AssetName].name + - assetTypeFileExtensions.at(instance().assets[AssetName].type); -} - -std::string AssetManager::GetAssetNameByBlockId(unsigned short id) { - std::string assetBase = "minecraft/textures/blocks/"; - std::string textureName; - switch (id){ - case 0: - textureName="air"; - break; - case 1: - textureName="stone"; - break; - case 2: - textureName="grass"; - break; - case 3: - textureName="dirt"; - break; - case 4: - textureName="cobblestone"; - break; - case 16: - textureName="coal_ore"; - break; - case 17: - textureName="log_oak"; - break; - case 31: - textureName="air"; - break; - default: - //std::cout<data.texture != nullptr; - break; - case Sound: - return false; - break; - case Model: - return false; - break; - case Lang: - return false; - break; - } -} - -Asset::~Asset() { - switch (type) { - case Unknown: - break; - case Texture: - delete this->data.texture; - break; - case Sound: - break; - case Model: - break; - case Lang: - break; - } -} diff --git a/src/graphics/AssetManager.hpp b/src/graphics/AssetManager.hpp deleted file mode 100644 index e723398..0000000 --- a/src/graphics/AssetManager.hpp +++ /dev/null @@ -1,52 +0,0 @@ -#pragma once - -#include -#include -#include -#include -#include "Texture.hpp" - -struct Asset { - std::string name = ""; - std::string hash = ""; - union AssetData{ - Texture *texture; - } data; - size_t size = 0; - enum AssetType { - Unknown, - Texture, - Sound, - Model, - Lang, - } type = Unknown; - bool isParsed(); - ~Asset(); -}; - -class AssetManager { - AssetManager(); - - ~AssetManager(); - - AssetManager(const AssetManager &); - - AssetManager &operator=(const AssetManager &); - - std::map assets; - - static AssetManager &instance() { - static AssetManager assetManager; - return assetManager; - } - - static std::string GetPathToAsset(std::string AssetName); -public: - - static Asset &GetAsset(std::string AssetName); - - static void LoadAsset(std::string AssetName); - - static std::string GetAssetNameByBlockId(unsigned short id); -}; - diff --git a/src/graphics/AssetManager_old.cpp b/src/graphics/AssetManager_old.cpp new file mode 100644 index 0000000..ef856ca --- /dev/null +++ b/src/graphics/AssetManager_old.cpp @@ -0,0 +1,146 @@ +#include "AssetManager_old.hpp" + +const std::string pathToAssets = "./assets/"; +const std::string pathToObjects = pathToAssets + "objects/"; +const std::string pathToIndexFile = pathToAssets + "indexes/1.11.json"; +const std::string pathToAssetsMc = "./assets/"; +const std::map assetTypeFileExtensions{ + std::make_pair(Asset::AssetType::Texture, ".png"), + std::make_pair(Asset::AssetType::Lang, ".lang"), + std::make_pair(Asset::AssetType::Sound, ".ogg"), +}; + +AssetManager_old::AssetManager_old() { + return; + std::ifstream indexFile(pathToIndexFile); + if (!indexFile) { + std::cerr << "Can't open file " << pathToIndexFile << std::endl; + } + nlohmann::json json = nlohmann::json::parse(indexFile)["objects"]; + for (auto it = json.begin(); it != json.end(); ++it) { + size_t fileNameExtensionPos = -1; + std::string name = it.key(); + Asset::AssetType type = Asset::Unknown; + for (auto &it:assetTypeFileExtensions) { + if ((fileNameExtensionPos = name.find(it.second)) != std::string::npos) { + type = it.first; + name = name.substr(0, fileNameExtensionPos); + break; + } + } + std::string hash = it.value()["hash"].get(); + size_t size = it.value()["size"].get(); + Asset asset{name, hash, Asset::AssetData(), size, type}; + this->assets[name] = asset; + } +} + +AssetManager_old::~AssetManager_old() { + +} + +Asset &AssetManager_old::GetAsset(std::string AssetName) { + if (instance().assets.find(AssetName) == instance().assets.end() || !instance().assets[AssetName].isParsed()) + LoadAsset(AssetName); + return instance().assets[AssetName]; +} + +void AssetManager_old::LoadAsset(std::string AssetName) { + if (instance().assets.find(AssetName) != instance().assets.end() && instance().assets[AssetName].isParsed()) + return; + std::string AssetFileName = GetPathToAsset(AssetName); + Asset &asset = instance().assets[AssetName]; + + + if (asset.type == Asset::Texture) { + asset.data.texture = new Texture(AssetFileName,GL_CLAMP_TO_BORDER,GL_NEAREST); + //asset.data.texture.loadFromFile((asset.name + assetTypeFileExtensions.at(asset.type))); + } +} + +std::string AssetManager_old::GetPathToAsset(std::string AssetName) { + if (instance().assets.find(AssetName) != instance().assets.end()){ + auto it = instance().assets.find(AssetName); + return pathToObjects + std::string(instance().assets[AssetName].hash.c_str(), 2) + "/" + + instance().assets[AssetName].hash; + } + + instance().assets[AssetName].hash=""; + instance().assets[AssetName].type=Asset::AssetType::Texture; + instance().assets[AssetName].name=AssetName; + instance().assets[AssetName].size=0; + return pathToAssetsMc + "" + instance().assets[AssetName].name + + assetTypeFileExtensions.at(instance().assets[AssetName].type); +} + +std::string AssetManager_old::GetAssetNameByBlockId(unsigned short id) { + std::string assetBase = "minecraft/textures/blocks/"; + std::string textureName; + switch (id){ + case 0: + textureName="air"; + break; + case 1: + textureName="stone"; + break; + case 2: + textureName="grass"; + break; + case 3: + textureName="dirt"; + break; + case 4: + textureName="cobblestone"; + break; + case 16: + textureName="coal_ore"; + break; + case 17: + textureName="log_oak"; + break; + case 31: + textureName="air"; + break; + default: + //std::cout<data.texture != nullptr; + break; + case Sound: + return false; + break; + case Model: + return false; + break; + case Lang: + return false; + break; + } +} + +Asset::~Asset() { + switch (type) { + case Unknown: + break; + case Texture: + delete this->data.texture; + break; + case Sound: + break; + case Model: + break; + case Lang: + break; + } +} diff --git a/src/graphics/AssetManager_old.hpp b/src/graphics/AssetManager_old.hpp new file mode 100644 index 0000000..23a11a7 --- /dev/null +++ b/src/graphics/AssetManager_old.hpp @@ -0,0 +1,53 @@ +#pragma once + +#include +#include +#include +#include +#include +#include "Texture.hpp" + +struct Asset { + std::string name = ""; + std::string hash = ""; + union AssetData{ + Texture *texture; + } data; + size_t size = 0; + enum AssetType { + Unknown, + Texture, + Sound, + Model, + Lang, + } type = Unknown; + bool isParsed(); + ~Asset(); +}; + +class AssetManager_old { + AssetManager_old(); + + ~AssetManager_old(); + + AssetManager_old(const AssetManager_old &); + + AssetManager_old &operator=(const AssetManager_old &); + + std::map assets; + + static AssetManager_old &instance() { + static AssetManager_old assetManager; + return assetManager; + } + + static std::string GetPathToAsset(std::string AssetName); +public: + + static Asset &GetAsset(std::string AssetName); + + static void LoadAsset(std::string AssetName); + + static std::string GetAssetNameByBlockId(unsigned short id); +}; + diff --git a/src/graphics/Display.cpp b/src/graphics/Display.cpp index 1a44fbc..63498fa 100644 --- a/src/graphics/Display.cpp +++ b/src/graphics/Display.cpp @@ -1,6 +1,6 @@ #include #include "Display.hpp" -#include "AssetManager.hpp" +#include "AssetManager_old.hpp" /*GLfloat vertices[] = { -0.5f, -0.5f, -0.5f, 0.0f, 0.0f, @@ -329,10 +329,10 @@ void Display::MainLoop() { glUniformMatrix4fv(modelLoc, 1, GL_FALSE, glm::value_ptr(model)); glUniform1i(blockLoc, block.id); - std::string textureName = AssetManager::GetAssetNameByBlockId(block.id); + std::string textureName = AssetManager_old::GetAssetNameByBlockId(block.id); if (textureName.find("air") != std::string::npos) continue; - Texture &texture1 = *(AssetManager::GetAsset(textureName).data.texture); + Texture &texture1 = *(AssetManager_old::GetAsset(textureName).data.texture); glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, texture1.texture); diff --git a/src/graphics/Shader.cpp b/src/graphics/Shader.cpp index c84e169..9bb08ba 100644 --- a/src/graphics/Shader.cpp +++ b/src/graphics/Shader.cpp @@ -1,3 +1,4 @@ +#include #include "Shader.hpp" Shader::Shader(const GLchar *vertexPath, const GLchar *fragmentPath) { @@ -27,7 +28,7 @@ Shader::Shader(const GLchar *vertexPath, const GLchar *fragmentPath) { fragmentCode = fShaderStream.str(); } catch (std::ifstream::failure e) { - std::cout << "ERROR::SHADER::FILE_NOT_SUCCESFULLY_READ" << std::endl; + LOG(ERROR) << "ERROR::SHADER::FILE_NOT_SUCCESFULLY_READ"; } const GLchar *vShaderCode = vertexCode.c_str(); const GLchar *fShaderCode = fragmentCode.c_str(); @@ -46,7 +47,7 @@ Shader::Shader(const GLchar *vertexPath, const GLchar *fragmentPath) { glGetShaderiv(vertex, GL_COMPILE_STATUS, &success); if (!success) { glGetShaderInfoLog(vertex, 512, NULL, infoLog); - std::cout << "ERROR::SHADER::VERTEX::COMPILATION_FAILED\n" << infoLog << std::endl; + LOG(ERROR) << "ERROR::SHADER::VERTEX::COMPILATION_FAILED\n" << infoLog; }; // Вершинный шейдер @@ -57,7 +58,7 @@ Shader::Shader(const GLchar *vertexPath, const GLchar *fragmentPath) { glGetShaderiv(fragment, GL_COMPILE_STATUS, &success); if (!success) { glGetShaderInfoLog(fragment, 512, NULL, infoLog); - std::cout << "ERROR::SHADER::FRAGMENT::COMPILATION_FAILED\n" << infoLog << std::endl; + LOG(ERROR) << "ERROR::SHADER::FRAGMENT::COMPILATION_FAILED\n" << infoLog; }; // Шейдерная программа @@ -69,7 +70,7 @@ Shader::Shader(const GLchar *vertexPath, const GLchar *fragmentPath) { glGetProgramiv(this->Program, GL_LINK_STATUS, &success); if (!success) { glGetProgramInfoLog(this->Program, 512, NULL, infoLog); - std::cout << "ERROR::SHADER::PROGRAM::LINKING_FAILED\n" << infoLog << std::endl; + LOG(ERROR) << "ERROR::SHADER::PROGRAM::LINKING_FAILED\n" << infoLog; } // Удаляем шейдеры, поскольку они уже в программу и нам больше не нужны. @@ -86,5 +87,5 @@ void Shader::Reload() { const GLchar *fragmentPath = fragment; this->~Shader(); new(this) Shader(vertexPath, fragmentPath); - std::cout<<"Shader is realoded!"< #include #include -#include #include diff --git a/src/graphics/Texture.cpp b/src/graphics/Texture.cpp index 0104530..bd5c53f 100644 --- a/src/graphics/Texture.cpp +++ b/src/graphics/Texture.cpp @@ -1,5 +1,5 @@ -#include #include +#include #include "Texture.hpp" Texture::Texture(std::string filename, GLenum textureWrapping, GLenum textureFiltering) { @@ -10,17 +10,17 @@ Texture::Texture(std::string filename, GLenum textureWrapping, GLenum textureFil glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, textureWrapping); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, textureWrapping); - glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,textureFiltering); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, textureFiltering); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); //Image load sf::Image image; if (!image.loadFromFile(filename)) { - std::cout << "Can't open image " << filename << std::endl; + LOG(ERROR) << "Can't open image " << filename; throw 201; } - if (image.getPixelsPtr()==nullptr){ - std::cout<<"Image data is corrupted!"< #include -#include #include #include #include "../utility/utility.h" diff --git a/src/network/Network.cpp b/src/network/Network.cpp index 03ee6c6..ac84494 100644 --- a/src/network/Network.cpp +++ b/src/network/Network.cpp @@ -1,4 +1,3 @@ -#include #include "Network.hpp" #include "../packet/PacketBuilder.hpp" diff --git a/src/world/Block.cpp b/src/world/Block.cpp index 64e5330..3cf09db 100644 --- a/src/world/Block.cpp +++ b/src/world/Block.cpp @@ -2,9 +2,18 @@ Block::~Block() {} -Block::Block(unsigned short idAndState, unsigned char light) : id(idAndState >> 4), state(idAndState & 0x0F), - light(light) {} +Block::Block(unsigned short idAndState, unsigned char light) : id(idAndState >> 4), state(idAndState & 0x0F) {} -Block::Block(unsigned short id, unsigned char state, unsigned char light) : id(id), state(state), light(light) {} +Block::Block(unsigned short id, unsigned char state, unsigned char light) : id(id), state(state) {} -Block::Block() : id(0), state(0), light(0) {} +Block::Block() : id(0), state(0) {} + +bool operator<(const Block &lhs, const Block &rhs) { + if (lhs.id < rhs.id) + return true; + if (lhs.id == rhs.id) { + if (lhs.state != rhs.state) + return lhs.state < rhs.state; + } + return false; +} diff --git a/src/world/Block.hpp b/src/world/Block.hpp index 7c780c1..ae952c9 100644 --- a/src/world/Block.hpp +++ b/src/world/Block.hpp @@ -1,15 +1,17 @@ #pragma once struct Block { + Block(); + Block(unsigned short idAndState, unsigned char light); Block(unsigned short id, unsigned char state, unsigned char light); - Block(); - ~Block(); unsigned short id:13; unsigned char state:4; - unsigned char light:4; -}; \ No newline at end of file + //unsigned char light:4; +}; + +bool operator<(const Block &lhs, const Block &rhs); \ No newline at end of file diff --git a/src/world/Section.cpp b/src/world/Section.cpp index f53c987..ac34fba 100644 --- a/src/world/Section.cpp +++ b/src/world/Section.cpp @@ -1,4 +1,3 @@ -#include #include "Section.hpp" Section::Section(byte *dataBlocks, size_t dataBlocksLength, byte *dataLight, byte *dataSky, byte bitsPerBlock, diff --git a/src/world/World.cpp b/src/world/World.cpp index adbb3e1..af76fd5 100644 --- a/src/world/World.cpp +++ b/src/world/World.cpp @@ -1,5 +1,5 @@ -#include #include +#include #include "World.hpp" void World::ParseChunkData(Packet packet) { @@ -22,22 +22,17 @@ void World::ParseChunkData(Packet packet) { if (bitmask[i]) { size_t len = 0; Vector chunkPosition = Vector(chunkX, i, chunkZ); - if (!m_sections.insert(std::make_pair(chunkPosition,ParseSection(content,len))).second) - std::cout<<"Chunk not created: "<second.Parse(); - /*m_sections[chunkPosition] = ParseSection(content, len); - m_sections[chunkPosition].Parse();*/ - /*m_sectionToParse.push(m_sections.find(Vector(chunkX, i, chunkZ))); - m_parseSectionWaiter.notify_one();*/ content += len; } } delete[] contentOrigPtr; - //std::cout<second.Parse(); - /*std::cout << "Parsed chunk" << it->first.GetX() << "x" << it->first.GetY() << "x" << it->first.GetZ() - << std::endl;*/ } } } -- cgit v1.2.3